Created
August 25, 2017 20:48
-
-
Save ageis/84e61bf7b595807dd4c08743f78792e7 to your computer and use it in GitHub Desktop.
Raw hex gpg-agent commands to reset OpenPGP smartcard(s) to factory defaults
This file contains 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
/hex | |
scd serialno | |
scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40 | |
scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40 | |
scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40 | |
scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40 | |
scd apdu 00 20 00 83 08 40 40 40 40 40 40 40 40 | |
scd apdu 00 20 00 83 08 40 40 40 40 40 40 40 40 | |
scd apdu 00 20 00 83 08 40 40 40 40 40 40 40 40 | |
scd apdu 00 20 00 83 08 40 40 40 40 40 40 40 40 | |
scd apdu 00 e6 00 00 | |
scd apdu 00 44 00 00 | |
/echo card has been reset to factory defaults | |
/bye |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment