-
Notifications
You must be signed in to change notification settings - Fork 99
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
default management key does not work after reset #495
Comments
Can you check the following:
|
OS: Ubuntu 20.04.6 LTS ykman --version ykman piv info Thank you for your help |
You're using a very old version of ykman that isn't compatible with the latest YubiKeys. The current version is 5.5.1 and is available here: https://github.com/Yubico/yubikey-manager |
Thank you very much. I will try |
Hello world
I have a new out-of-the-box Yubikey 5 NFC:
XXX:~/$ yubico-piv-tool -astatus
Version: 5.7.1
Serial Number: XYZXYZ
CHUID: No data available
CCC: No data available
PIN tries left: 3
I'm trying to change PIN retries number (or actually any other command) and it fail the authentication
XXX:~/$ yubico-piv-tool -apin-retries --pin-retries=10 --puk-retries=10
Failed authentication with the application.
The ykman behaves the same way:
XXX:~/$ ykman piv set-pin-retries 10 10
Enter PIN: <- 123456 was given
Enter a management key [blank to use default key]: <- blank was given
Usage: ykman piv set-pin-retries [OPTIONS] PIN-RETRIES PUK-RETRIES
Try 'ykman piv set-pin-retries -h' for help.
Error: Authentication with management key failed.
I have not changed the PIN/PUK or management key. With ykman, when I give the wrong PIN (not 123456) it says the PIN is wrong. I have tried to perform the reset and the result is the same.
What is wrong?
Thanks
The text was updated successfully, but these errors were encountered: