From: Daniel Kahn Gillmor Date: Tue, 14 Jul 2009 06:13:18 +0000 (-0400) Subject: ensure proper usage flags on new hostname selfsigs X-Git-Tag: monkeysphere_0.25~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b5913c4e5fe08f332317221ad05e60ec4d51b39d;p=monkeysphere.git ensure proper usage flags on new hostname selfsigs --- diff --git a/src/share/mh/add_hostname b/src/share/mh/add_hostname index 136b678..c1b32a9 100644 --- a/src/share/mh/add_hostname +++ b/src/share/mh/add_hostname @@ -42,7 +42,9 @@ else fi # execute edit-key script -if <"$GNUPGHOME_HOST/secring.gpg" "$SYSSHAREDIR/keytrans" adduserid \ +if PEM2OPENPGP_USAGE_FLAGS=authenticate \ + <"$GNUPGHOME_HOST/secring.gpg" \ + "$SYSSHAREDIR/keytrans" adduserid \ "$HOST_FINGERPRINT" "$userID" | gpg_host --import ; then gpg_host --check-trustdb