projects
/
monkeysphere.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f659da8
)
make the ssh-agent prompt from seckey2sshagent more intelligible
author
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Sat, 21 Jun 2008 20:40:27 +0000
(16:40 -0400)
committer
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Sat, 21 Jun 2008 20:40:27 +0000
(16:40 -0400)
src/seckey2sshagent
patch
|
blob
|
history
diff --git
a/src/seckey2sshagent
b/src/seckey2sshagent
index d8e9b79ac2e86da91cf156de986a8434135e7b37..4d08c66878d227332f03ceafd9fc93489616e3ed 100755
(executable)
--- a/
src/seckey2sshagent
+++ b/
src/seckey2sshagent
@@
-37,4
+37,6
@@
gpg --export-secret-key --export-options export-reset-subkey-passwd $GPGID | GNU
GNUPGHOME=$FOO gpg --edit-key $GPGID
-GNUPGHOME=$FOO gpg --export-secret-key $GPGID | openpgp2ssh $GPGID | ssh-add -c /dev/stdin
+ln -s /dev/stdin $FOO/monkeysphere-key
+
+GNUPGHOME=$FOO gpg --export-secret-key $GPGID | openpgp2ssh $GPGID | (cd $FOO && ssh-add -c monkeysphere-key)