Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot provide PIN for second plugged-in key #36

Open
str4d opened this issue Aug 20, 2021 · 1 comment
Open

Cannot provide PIN for second plugged-in key #36

str4d opened this issue Aug 20, 2021 · 1 comment
Labels
I-error-handling Problems and improvements related to error handling

Comments

@str4d
Copy link
Owner

str4d commented Aug 20, 2021

What were you trying to do

I had two YubiKeys plugged in, and an age file encrypted to both of them. However, the first YK it selected I didn't know the PIN for, so I clicked "Cancel" hoping it would skip to the next key.

What happened

Error: '⁨age-plugin-yubikey⁩' couldn't use an identity: ⁨A PIN is required for YubiKey with serial ######
@str4d
Copy link
Owner Author

str4d commented Apr 26, 2022

#63 enables YubiKeys to be skipped when we ask them to be plugged in, but we still want to handle this case (plugged in, but can't use the PIN). @FiloSottile is of the opinion that if an error occurs during PIN requesting for unwrapping, we should just automatically skip, without returning an explicit error across the plugin protocol (which can cause an abort).

@str4d str4d added the I-error-handling Problems and improvements related to error handling label Aug 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I-error-handling Problems and improvements related to error handling
Projects
None yet
Development

No branches or pull requests

1 participant