2021-08-23 05:21:50 +10:00
|
|
|
# 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: Dr Duh
|
2022-04-13 00:24:37 +10:00
|
|
|
Name-Email: doc@duh.to
|
2021-08-23 05:21:50 +10:00
|
|
|
|
|
|
|
# Do not set the key to expire
|
|
|
|
Expire-Date: 0
|
|
|
|
|
|
|
|
# Do a commit here, so that we can later print "done" :-)
|
|
|
|
%commit
|
|
|
|
|
|
|
|
%echo done
|