aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/reset-yubikey
diff options
context:
space:
mode:
authordrduh <github@duh.to>2024-03-18 00:39:46 +0000
committerGitHub <noreply@github.com>2024-03-18 00:39:46 +0000
commitc97c9ac4c147544a9549111cc7b77df639ccb95e (patch)
treedf5ebbacac4aa145bc8a52f20d497ebc88acfd4f /reset-yubikey
parentMerge pull request #423 from Xronophobe/fix/quick-add-key-with-fpr (diff)
parentReplace mkdir commands (diff)
downloadYubiKey-Guide-c97c9ac4c147544a9549111cc7b77df639ccb95e.tar.gz
Merge pull request #425 from drduh/wip-16mar24
Simplify instructions, reduce manual labor
Diffstat (limited to 'reset-yubikey')
-rw-r--r--reset-yubikey14
1 files changed, 14 insertions, 0 deletions
diff --git a/reset-yubikey b/reset-yubikey
new file mode 100644
index 0000000..a7f38c1
--- /dev/null
+++ b/reset-yubikey
@@ -0,0 +1,14 @@
+/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 successfully reset.
+/bye