summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2009-02-12 16:17:00 -0500
committerJameson Graef Rollins <jrollins@finestructure.net>2009-02-12 16:17:00 -0500
commit07316c65eb5302a1d5385301876be7971e26fd1f (patch)
treea5356f5d1df74161b8efd8da9b42f36b514b624b
parent9c193c4dc749403030aeda0acc794a65d7593540 (diff)
fix reference to MONKEYSPHER_USER in ma/setup
-rwxr-xr-xsrc/monkeysphere-host3
-rw-r--r--src/share/ma/setup6
2 files changed, 6 insertions, 3 deletions
diff --git a/src/monkeysphere-host b/src/monkeysphere-host
index 4aab995..f79c2bb 100755
--- a/src/monkeysphere-host
+++ b/src/monkeysphere-host
@@ -123,6 +123,9 @@ create_gpg_pub_file() {
# load the host fingerprint into the fingerprint variable, using the
# export gpg pub key file
+# FIXME: this seems much less than ideal, with all this temp keyring
+# stuff. is there a way we can do this without having to create temp
+# files?
load_fingerprint() {
if [ -f "$HOST_KEY_PUB_GPG" ] ; then
HOST_FINGERPRINT=$( \
diff --git a/src/share/ma/setup b/src/share/ma/setup
index 894db84..0cd92e0 100644
--- a/src/share/ma/setup
+++ b/src/share/ma/setup
@@ -40,10 +40,10 @@ primary-keyring ${GNUPGHOME_SPHERE}/pubring.gpg
list-options show-uid-validity
EOF
- # make sure the monkeysphere user owns everything in th sphere
+ # make sure the monkeysphere user owns everything in the sphere
# gnupghome
- chown -R "$MONKEYPSHER_USER" "${GNUPGHOME_SPHERE}"
- chgrp -R "$MONKEYPSHER_USER" "${GNUPGHOME_SPHERE}"
+ chown -R "$MONKEYPSHERE_USER" "${GNUPGHOME_SPHERE}"
+ chgrp -R "$MONKEYPSHERE_USER" "${GNUPGHOME_SPHERE}"
# get fingerprint of core key. this should be empty on unconfigured systems.
local CORE_FPR=$(gpg_core --with-colons --fixed-list-mode --fingerprint --list-secret-key | grep ^fpr: | cut -f10 -d: )