summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-10 12:50:14 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-10 12:50:14 -0300
commitdd36b7ab059b51a987481afdf71f341e5ef13ff9 (patch)
treed92ef6b8face94c454313c4c71518c1bb709a41c /share
parent6e7fdfee72fc9574af8e8aca1a69c4af3f039fc9 (diff)
downloadkeyringer-dd36b7ab059b51a987481afdf71f341e5ef13ff9.tar.gz
keyringer-dd36b7ab059b51a987481afdf71f341e5ef13ff9.tar.bz2
Using empty passphrases for genpair_ssh
Diffstat (limited to 'share')
-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..."