From: Daniel Kahn Gillmor Date: Tue, 5 Aug 2008 16:25:59 +0000 (-0400) Subject: properly clean up temporary keyring with seckey2sshagent. X-Git-Tag: monkeysphere_0.8-1~63^2~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f34a3f7b13accbaba31789d0704ec6b6a43bedf1;p=monkeysphere.git properly clean up temporary keyring with seckey2sshagent. --- diff --git a/src/seckey2sshagent b/src/seckey2sshagent index deab489..8f3d54d 100755 --- a/src/seckey2sshagent +++ b/src/seckey2sshagent @@ -17,7 +17,7 @@ cleanup() { echo -n "removing temp gpg home... " 1>&2 - rm -rf $FOO + rm -rf "$TMPPRIVATE" echo "done." 1>&2 } @@ -44,7 +44,6 @@ if you're really sure. Answer yes, because this is only relevant to the temporary keyring. Then, do: save - exit At this point, your key will be added to your running ssh-agent with the alias 'monkeysphere-key' and seckey2sshagent should terminate.