Skip to content

Instantly share code, notes, and snippets.

@nlap
Created January 14, 2015 19:36
Show Gist options
  • Save nlap/4fe0791ae37dce2191a4 to your computer and use it in GitHub Desktop.
Save nlap/4fe0791ae37dce2191a4 to your computer and use it in GitHub Desktop.
Reset OpenGPG v2 Smartcard

Reset an OpenGPG v2 Smartcard, for example if the admin password counter has reached 0. This will, obviously, erase all of your keys.

gpg-connect-agent
scd apdu 00 e6 00 00
scd apdu 00 44 00 00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment