aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/keyringer/genpair4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/keyringer/genpair b/share/keyringer/genpair
index a1a122e..71ae86d 100755
--- a/share/keyringer/genpair
+++ b/share/keyringer/genpair
@@ -11,8 +11,8 @@ function genpair_ssh {
echo "Make sure that $KEYDIR is atop of an encrypted volume."
read -p "Hit ENTER to continue." prompt
- # TODO: programatically enter blank passphrase twice
- ssh-keygen -t rsa -f "$TMPWORK/id_rsa" -C "root@$NODE"
+ # We're using empty passphrases
+ ssh-keygen -t rsa -P '' -f "$TMPWORK/id_rsa" -C "root@$NODE"
# Encrypt the result
echo "Encrypting secret key into keyringer..."