aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/gpgkey.preset18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/gpgkey.preset b/tools/gpgkey.preset
new file mode 100644
index 0000000..c33c12c
--- /dev/null
+++ b/tools/gpgkey.preset
@@ -0,0 +1,18 @@
+# https://www.gnupg.org/documentation/manuals/gnupg/Unattended-GPG-key-generation.html
+# To generate key: gpg2 --homedir=gpg-fakehome --batch --generate-key --expert gpgkey.preset
+# To list key: gpg2 --homedir=gpg-fakehome --list-keys
+%echo Generating GPG key (ed25519-sign)
+
+Key-Type: EdDSA
+Key-Curve: ed25519
+Key-Length: 256
+Key-Usage: sign
+
+Name-Real: smolbote build process
+Name-Email: smolbote@localhost
+
+Passphrase: null
+
+%commit
+%echo Generating key done
+