aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/contrib/gen-params-rsa4096
diff options
context:
space:
mode:
authordrduh <github@duh.to>2022-08-21 11:31:42 -0700
committerGitHub <noreply@github.com>2022-08-21 11:31:42 -0700
commit5eeae2be7e988871c8db8a54f4ae7f393c9317ae (patch)
treeed67c067032d1ab1a1852ac8e0be56069b452c46 /contrib/gen-params-rsa4096
parentMerge pull request #314 from smlx/piv-agent (diff)
parentAdd section to quickly create keys (diff)
downloadYubiKey-Guide-5eeae2be7e988871c8db8a54f4ae7f393c9317ae.tar.gz
Merge pull request #282 from apiraino/rewrite-key-creation-take2
Rewrite key creation
Diffstat (limited to 'contrib/gen-params-rsa4096')
-rw-r--r--contrib/gen-params-rsa409629
1 files changed, 29 insertions, 0 deletions
diff --git a/contrib/gen-params-rsa4096 b/contrib/gen-params-rsa4096
new file mode 100644
index 0000000..4806368
--- /dev/null
+++ b/contrib/gen-params-rsa4096
@@ -0,0 +1,29 @@
+%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: Dr Duh
+Name-Email: doc@duh.to
+
+# Do not set the key to expire
+Expire-Date: 0
+
+# Do a commit here, so that we can later print "done" :-)
+%commit
+
+%echo done