Skip to content

Instantly share code, notes, and snippets.

Avatar
🤡
Focusing

Luuk Kenselaar Luuk2016

🤡
Focusing
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am luuk2016 on github.
  • I am luukkenselaar (https://keybase.io/luukkenselaar) on keybase.
  • I have a public key whose fingerprint is 89C7 260A BDA0 E57E 7C21 4815 C8FF 61E2 2681 4025

To claim this, I am signing this object:

@Luuk2016
Luuk2016 / yubikey-reset.sh
Created Oct 8, 2017 — forked from pkirkovsky/yubikey-reset.sh
Utility for resetting a Yubikey to factory defaults using gpg-connect-agent. This will wipe out any stored keys and reset PINs to default values.
View yubikey-reset.sh
gpg-connect-agent <<EOF
/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