yubikey-manager-qt icon indicating copy to clipboard operation
yubikey-manager-qt copied to clipboard

How to reset lock code?

Open sunknudsen opened this issue 4 years ago • 6 comments

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!

sunknudsen avatar Sep 02 '21 14:09 sunknudsen

I would suggest you contact Yubico support https://support.yubico.com/

fdennis avatar Sep 02 '21 14:09 fdennis

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 !

sin4ts avatar Feb 19 '23 13:02 sin4ts

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. 😔

sunknudsen avatar Feb 19 '23 13:02 sunknudsen

That's annoying... Thanks for your feedback anyway :)

sin4ts avatar Feb 19 '23 13:02 sin4ts

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).

emlun avatar Feb 20 '23 08:02 emlun

Thanks @emlun !

sin4ts avatar Feb 20 '23 09:02 sin4ts