summaryrefslogtreecommitdiff
path: root/keygen.sh
diff options
context:
space:
mode:
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