diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-04-10 12:50:14 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-04-10 12:50:14 -0300 |
commit | dd36b7ab059b51a987481afdf71f341e5ef13ff9 (patch) | |
tree | d92ef6b8face94c454313c4c71518c1bb709a41c | |
parent | 6e7fdfee72fc9574af8e8aca1a69c4af3f039fc9 (diff) | |
download | keyringer-dd36b7ab059b51a987481afdf71f341e5ef13ff9.tar.gz keyringer-dd36b7ab059b51a987481afdf71f341e5ef13ff9.tar.bz2 |
Using empty passphrases for genpair_ssh
-rwxr-xr-x | share/keyringer/genpair | 4 |
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..." |