aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgenerate-key.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/generate-key.sh b/generate-key.sh
index e9763bf..ffa2a1c 100755
--- a/generate-key.sh
+++ b/generate-key.sh
@@ -29,5 +29,8 @@ gpg --homedir homedir --export-secret-keys -a > "$seckey"
rm -Rf "$GPGHOMEDIR"
+echo "Generate passphrase"
+./random-passphrase > "$PRIVDIR/passphrase"
+
#TODO : split secret key using ssss-split