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

How to reset lock code? #299

Open
sunknudsen opened this issue Sep 2, 2021 · 6 comments
Open

How to reset lock code? #299

sunknudsen opened this issue Sep 2, 2021 · 6 comments

Comments

@sunknudsen
Copy link

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!

@fdennis
Copy link
Contributor

fdennis commented Sep 2, 2021

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

@sin4ts
Copy link

sin4ts commented Feb 19, 2023

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 !

@sunknudsen
Copy link
Author

sunknudsen commented Feb 19, 2023

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

@sin4ts
Copy link

sin4ts commented Feb 19, 2023

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

@emlun
Copy link
Member

emlun commented Feb 20, 2023

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

@sin4ts
Copy link

sin4ts commented Feb 20, 2023

Thanks @emlun !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants