Merge pull request #425 from drduh/wip-16mar24
Simplify instructions, reduce manual laborpull/426/head
commit
c97c9ac4c1
@ -1,32 +0,0 @@
|
|||||||
# Requires GnuPG v2.1.7 or newer
|
|
||||||
|
|
||||||
%echo Generating a OpenPGP key
|
|
||||||
|
|
||||||
# uncomment the following line to remove asking for a passphrase
|
|
||||||
#%no-protection
|
|
||||||
|
|
||||||
Key-Type: eddsa
|
|
||||||
Key-Curve: Ed25519
|
|
||||||
# Key generated is a master key ("certificate")
|
|
||||||
Key-Usage: cert
|
|
||||||
|
|
||||||
# Parameters to generate a subkey
|
|
||||||
# Subkey-Type: ecdh
|
|
||||||
# Subkey-Curve: Curve25519
|
|
||||||
|
|
||||||
# Choose one of following options
|
|
||||||
# Subkey-Usage: sign
|
|
||||||
# Subkey-Usage: auth
|
|
||||||
# Subkey-Usage: encrypt
|
|
||||||
|
|
||||||
# select a name and email address - neither has to be valid nor existing
|
|
||||||
Name-Real: YubiKey User
|
|
||||||
Name-Email: yubikey@example
|
|
||||||
|
|
||||||
# Do not set the key to expire
|
|
||||||
Expire-Date: 0
|
|
||||||
|
|
||||||
# Do a commit here, so that we can later print "done" :-)
|
|
||||||
%commit
|
|
||||||
|
|
||||||
%echo done
|
|
@ -1,29 +0,0 @@
|
|||||||
%echo Generating a OpenPGP key
|
|
||||||
|
|
||||||
# uncomment the following line to remove asking for a passphrase
|
|
||||||
#%no-protection
|
|
||||||
|
|
||||||
Key-Type: RSA
|
|
||||||
Key-Length: 4096
|
|
||||||
# Key generated is a master key ("certificate")
|
|
||||||
Key-Usage: cert
|
|
||||||
|
|
||||||
# Parameters to generate a subkey
|
|
||||||
# Subkey-Type: ELG-E
|
|
||||||
# Subkey-Length: 4096
|
|
||||||
# Choose one of following options
|
|
||||||
# Subkey-Usage: encrypt
|
|
||||||
# Subkey-Usage: sign
|
|
||||||
# Subkey-Usage: auth
|
|
||||||
|
|
||||||
# select a name and email address - neither has to be valid nor existing
|
|
||||||
Name-Real: YubiKey User
|
|
||||||
Name-Email: yubikey@example
|
|
||||||
|
|
||||||
# Do not set the key to expire
|
|
||||||
Expire-Date: 0
|
|
||||||
|
|
||||||
# Do a commit here, so that we can later print "done" :-)
|
|
||||||
%commit
|
|
||||||
|
|
||||||
%echo done
|
|
File diff suppressed because it is too large
Load Diff
@ -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
|
Loading…
Reference in new issue