-
Notifications
You must be signed in to change notification settings - Fork 27
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
Invalid PIN despite correct pin and all retries lost #199
Comments
Interestingly this does not happen with another Key of mine, there I get a different issue:
The one that failes with
And the one the complains about
Interestingly it's the newer firmware version that has issues. |
What's interesting is the one causing
|
Okay, this is weird, the key that gets
I wonder if this is a buggy YubiKey firmware version or just a glitch of my setup. |
I’m a bit confused about your description. If the PIV is blocked due to multiple invalid PINs, then it is blocked forever – it doesn’t matter whether you re-plug it or not. Are you saying that it is still giving you the error after you reset the PIN? Also, I feel I should probably mention, just in case, that the PIV and the OpenPGP PINs are completely unrelated.
This is happening because your YubiKey gets “captured” by |
From your output, I guess the problem here is not that it is TDES but that it is custom and unprotected. |
I see, but what does that actually mean? I created both yubikeys the same way, using |
There are two “competing” standards for doing public key cryptography using a smart card: one is PIV, the other one is OpenPGP. In practice, this means that your YubiKey contains two completely separate smart cards. It sounds like you’ve configured the OpenPGP one the way you like, now you need to configure the PIV one.
|
I don't understand how the PIV method could have been configured because I've only ever used GnuPG to upload keys to the YubiKey. I have never even heard of this PIV thing. Very weird. I'll look into it but it doesn't seem like that's the case. |
Environment
NixOS 24.11
0.5.0
What were you trying to do
I'm trying to generate a new age identity for my Yubikey.
What happened
I provide the correct PIN, after which I get the
Invalid PIN
error and the Yubikey becomes unusable until I unplug and re-plug it in.The same issue was happening with
0.4.0
onNixOS 24.05
.The text was updated successfully, but these errors were encountered: