summaryrefslogtreecommitdiff
path: root/src/monkeysphere-host
diff options
context:
space:
mode:
authorMatt Goins <mjgoins@openflows.com>2009-02-18 15:19:17 -0500
committerMatt Goins <mjgoins@openflows.com>2009-02-18 15:19:17 -0500
commit3b48f2e80fac8d0fc62537ed07b3d1f1946648cd (patch)
tree2feb4c03aac92cacb7a37eda9def378bde4ee5a3 /src/monkeysphere-host
parent82c81bafc0e49dcd6aa507b14cf78af35a609368 (diff)
parenteff43adce6a763d622fcc254e7cdc210d4573103 (diff)
Merge commit 'jrollins/master'
Diffstat (limited to 'src/monkeysphere-host')
-rwxr-xr-xsrc/monkeysphere-host8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/monkeysphere-host b/src/monkeysphere-host
index 11121cc..c7e011b 100755
--- a/src/monkeysphere-host
+++ b/src/monkeysphere-host
@@ -80,7 +80,8 @@ gpg_host() {
GNUPGHOME="$GNUPGHOME_HOST" gpg "$@"
}
-# command to list the info about the host key, in colon format
+# command to list the info about the host key, in colon format, to
+# stdout
gpg_host_list() {
gpg_host --list-keys --with-colons --fixed-list-mode \
--with-fingerprint --with-fingerprint \
@@ -92,8 +93,9 @@ gpg_host_list() {
# FIXME: should we supress all the edit script spew? or pipe it
# through log debug?
gpg_host_edit() {
- gpg_host --quiet --command-fd 0 --edit-key \
- "0x${HOST_FINGERPRINT}!" "$@"
+ gpg_host --no-greeting --quiet \
+ --command-fd 0 --no-tty --edit-key \
+ "0x${HOST_FINGERPRINT}!" "$@" 2>&1 | log debug
}
# export the host public key to the monkeysphere gpg pub key file