aboutsummaryrefslogtreecommitdiffstats
path: root/generate-key
diff options
context:
space:
mode:
Diffstat (limited to 'generate-key')
-rwxr-xr-xgenerate-key3
1 files changed, 2 insertions, 1 deletions
diff --git a/generate-key b/generate-key
index d41a90c..3329472 100755
--- a/generate-key
+++ b/generate-key
@@ -7,6 +7,7 @@ date
echo '(check if the date is correct and press enter)'
read z
+mkdir -p "$GPGHOMEDIR"
chmod 700 "$GPGHOMEDIR"
echo "Generate key :"
@@ -28,5 +29,5 @@ echo "Generate passphrase"
gpg -c --passphrase-file "$passphrase" "$seckey"
rm -f "$seckey"
-#TODO : split secret key using ssss-split
+./split-passphrase