4 echo -n "removing temp gpg home... "
13 idchars=$(echo $GPGID | wc -m)
14 if [ "$idchars" -ne 17 ] ; then
15 echo "GPGID is not 16 characters ($idchars)."
21 gpg --export-secret-key --export-options export-reset-subkey-passwd $GPGID | GNUPGHOME=$FOO gpg --import
23 GNUPGHOME=$FOO gpg --edit-key $GPGID
25 GNUPGHOME=$FOO gpg --export-secret-key $GPGID | openpgp2ssh $GPGID | ssh-add -c /dev/stdin