From f34a3f7b13accbaba31789d0704ec6b6a43bedf1 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Tue, 5 Aug 2008 12:25:59 -0400 Subject: [PATCH] properly clean up temporary keyring with seckey2sshagent. --- src/seckey2sshagent | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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. -- 2.25.1