From b5913c4e5fe08f332317221ad05e60ec4d51b39d Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Tue, 14 Jul 2009 02:13:18 -0400 Subject: [PATCH] ensure proper usage flags on new hostname selfsigs --- src/share/mh/add_hostname | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.26.2