diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-01-05 14:16:29 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-01-05 14:16:29 -0200 |
commit | 8f9aa8c1aa824fb1c6dc98b872df34d68f091d25 (patch) | |
tree | 0dc90e0b16c017ddc08805b3f8a0caf5453feec8 | |
parent | 5c9e10e87bfaab7d226faad98837ce5a0278f2c6 (diff) | |
download | keyringer-8f9aa8c1aa824fb1c6dc98b872df34d68f091d25.tar.gz keyringer-8f9aa8c1aa824fb1c6dc98b872df34d68f091d25.tar.bz2 |
Increasing verbosity
-rwxr-xr-x | share/keyringer/genpair | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/share/keyringer/genpair b/share/keyringer/genpair index ff554cc..225e62e 100755 --- a/share/keyringer/genpair +++ b/share/keyringer/genpair @@ -15,7 +15,9 @@ function genpair_ssh { ssh-keygen -t dsa -f $WORK/id_dsa -C "root@$NODE" # Encrypt the result + echo "Encrypting secret key into keyringer..." cat $WORK/id_dsa | keyringer_exec encrypt $BASEDIR $FILE + echo "Encrypting public key into keyringer..." cat $WORK/id_dsa.pub | keyringer_exec encrypt $BASEDIR $FILE.pub echo "Done" @@ -41,8 +43,11 @@ function genpair_gpg { EOF # Encrypt the result + echo "Encrypting secret key into keyringer..." gpg --homedir $WORK --export-secret-keys | keyringer_exec encrypt $BASEDIR $FILE + echo "Encrypting public key into keyringer..." gpg --homedir $WORK --export | keyringer_exec encrypt $BASEDIR $FILE.pub + echo "Encrypting passphrase into keyringer..." echo "Passphrase for $FILE: $passphrase" | keyringer_exec encrypt $BASEDIR $FILE.passwd echo "Done" @@ -64,8 +69,11 @@ function genpair_ssl { chmod 600 $NODE"_privatekey.pem" # Encrypt the result + echo "Encrypting private key into keyringer..." cat $NODE"_privatekey.pem" | keyringer_exec encrypt $BASEDIR $FILE.pem + echo "Encrypting certificate request into keyringer..." cat $NODE"_csr.pem" | keyringer_exec encrypt $BASEDIR $FILE.csr.pem + echo "Encrypting certificate into keyringer..." cat $NODE.crt | keyringer_exec encrypt $BASEDIR $FILE.crt echo "Done" |