Last active
February 17, 2025 19:51
-
-
Save whoo/3ab9a0c15eb20c5d43bf8c26b24e030f to your computer and use it in GitHub Desktop.
Reset YubiKey
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
./ykman fido reset | |
./ykman oath reset | |
./ykman openpgp reset | |
./ykman otp delete 1 | |
./ykman otp delete 2 | |
./ykman piv reset | |
./ykman piv access change-management-key -a AES256 -t -g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment