summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2009-02-12 19:10:12 -0500
committerJameson Graef Rollins <jrollins@finestructure.net>2009-02-12 19:10:12 -0500
commit387848dfa7081364094a71ff70f65bb1cbd83d8b (patch)
tree6df3f2415e02fdb309880f8a59f6fa01112c8993 /src
parentc27c0ad208919590a118d5f271d28b044beea9bb (diff)
fix some calls to gpg_sphere that where not putting all arguments into a single argument, as required by the strange su requirements.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/monkeysphere-authentication2
-rw-r--r--src/share/ma/setup2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/monkeysphere-authentication b/src/monkeysphere-authentication
index a33de1e..18057e5 100755
--- a/src/monkeysphere-authentication
+++ b/src/monkeysphere-authentication
@@ -101,7 +101,7 @@ core_fingerprint() {
gpg_core_sphere_sig_transfer() {
log debug "exporting core local sigs to sphere..."
gpg_core --export-options export-local-sigs --export | \
- gpg_sphere --import-options import-local-sigs --import
+ gpg_sphere "--import-options import-local-sigs --import"
}
########################################################################
diff --git a/src/share/ma/setup b/src/share/ma/setup
index e5109fd..216b0b9 100644
--- a/src/share/ma/setup
+++ b/src/share/ma/setup
@@ -98,7 +98,7 @@ EOF
# our preferences are reasonable (i.e. 3 marginal OR 1 fully
# trusted certifications are sufficient to grant full validity.
log debug "checking trust level of core key..."
- local TRUST_LEVEL=$(gpg_sphere --with-colons --fixed-list-mode --list-keys \
+ local TRUST_LEVEL=$(gpg_sphere "--with-colons --fixed-list-mode --list-keys" \
| head -n1 | grep "^tru:" | cut -d: -f3,6,7)
log debug "sphere trust level of core: $TRUST_LEVEL"
if [ "$TRUST_LEVEL" != '1:3:1' ] ; then