From a41b10c287cda37cbb36ae1c56afd1512ea84d00 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Thu, 21 Aug 2008 00:08:26 -0400 Subject: [PATCH] getting proper behavior from ssh-add; thanks to Jim Knoble and David Bronder for their insights. --- src/monkeysphere | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/monkeysphere b/src/monkeysphere index c6ecaa4..8f44bf5 100755 --- a/src/monkeysphere +++ b/src/monkeysphere @@ -212,7 +212,7 @@ function subkey_to_ssh_agent() { gpg --quiet --passphrase-fd 3 3<"$workingdir/passphrase" \ --export-options export-reset-subkey-passwd,export-minimal,no-export-attributes \ --export-secret-subkeys "0x${subkey}!" | openpgp2ssh "$subkey" > "$workingdir/$kname" & - (cd "$workingdir" && unset -v DISPLAY && unset -v SSH_ASKPASS && /usr/bin/setsid ssh-add "$@" "$kname"