Unhelpful error message on invalid file #415
shepting
started this conversation in
UX reports
Replies: 1 comment
-
|
That's definitely a bad error message, we'll work on it, thank you for reporting it!
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was recently using
agein an automated fashion for some CI machines and received the following message:Unfortunately, since the error message didn't specify either:
filenameof the invalid file orI spent 30 minutes investigating what was wrong with my private key on my machine without realizing it was the "encrypted" file that was failing to parse!
My command was something like
cat ~/setup/id_rsa.encrypted | age --decrypt --identity ~/.age/ci.key --output ~/.ssh/id_rsaso specifying that it wasSTDINthat was failing could help. Even moreso if it gave the first line ofSTDINthat didn't look right.Beta Was this translation helpful? Give feedback.
All reactions