summaryrefslogtreecommitdiff
path: root/keygen.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-09-29 20:48:36 +0100
committerdavidovski <david@davidovski.xyz>2021-09-29 20:48:36 +0100
commit5b046bf12ce86157c32c68d6981ffe30796183f4 (patch)
tree73486b1a5f4bc2e986a65780b4bd856c4366aa4d /keygen.sh
added key signing
Diffstat (limited to 'keygen.sh')
-rwxr-xr-xkeygen.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/keygen.sh b/keygen.sh
new file mode 100755
index 0000000..5ec5bbd
--- /dev/null
+++ b/keygen.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+mkdir -p keychain
+openssl genrsa -out keychain/xi.pem 4096
+openssl rsa -in keychain/xi.pem -pubout > keychain/xi.pub