yubikey-manager-qt
yubikey-manager-qt copied to clipboard
How to reset lock code?
I am developing a YubiKey provisioning script and forgot to save lock code used during tests.
Searched docs and found how to reset applets, but not config lock code.
Please help!
I would suggest you contact Yubico support https://support.yubico.com/
Hi @sunknudsen. By any chance, have you found a chance to reset or recover the lock code? I am afraid I am in the situation as you... Thanks !
Hey @sin4ts, unfortunately no… my gut feeling is that this is by design so employees can’t repurpose company issued YubiKeys.
Sorry to read you might have locked yourself out from your YubiKey. 😔
That's annoying... Thanks for your feedback anyway :)
Correct - by design, the interface config lock code (set by ykman config set-lock-code) can be reset only if you have the current lock code.
The same is also true of the OTP slot access code(s) (set by ykman otp settings --new-access-code).
Thanks @emlun !