diff options
author | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-02-19 15:31:17 -0500 |
---|---|---|
committer | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-02-19 15:31:17 -0500 |
commit | 0d07156e8db60611c28e5f440ff5f6a39d655ff6 (patch) | |
tree | 8d49612143222d018a074bdb3371a0f62bf5af8b /src/share/m/gen_subkey | |
parent | bd64869a3b68ff8a020c381371a8ab1e24a5a0e4 (diff) |
add a gpg_user function in monkeysphere to add some gpg quieting
option, and use it in all gpg invocations.
add a trap to subkey_to_ssh_agent.
Diffstat (limited to 'src/share/m/gen_subkey')
-rw-r--r-- | src/share/m/gen_subkey | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/m/gen_subkey b/src/share/m/gen_subkey index 7c3ebb7..dbd9dd6 100644 --- a/src/share/m/gen_subkey +++ b/src/share/m/gen_subkey @@ -64,7 +64,7 @@ EOF (umask 077 && mkfifo "$fifoDir/pass") log verbose "generating subkey..." - echo "$editCommands" | gpg --passphrase-fd 3 3< "$fifoDir/pass" --expert --command-fd 0 --edit-key "$keyID" & + echo "$editCommands" | gpg_user --passphrase-fd 3 3< "$fifoDir/pass" --expert --command-fd 0 --edit-key "$keyID" & # FIXME: this needs to fail more gracefully if the passphrase is incorrect passphrase_prompt "Please enter your passphrase for $keyID: " "$fifoDir/pass" |