diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2009-07-14 02:13:18 -0400 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2009-07-14 02:13:18 -0400 |
commit | b5913c4e5fe08f332317221ad05e60ec4d51b39d (patch) | |
tree | 163ae840f1eb88101479522ab77fb76a73cad694 /src/share/mh/add_hostname | |
parent | 80f608dfb8cd0a59609f3c98834e44f0c78fffb0 (diff) |
ensure proper usage flags on new hostname selfsigs
Diffstat (limited to 'src/share/mh/add_hostname')
-rw-r--r-- | src/share/mh/add_hostname | 4 |
1 files changed, 3 insertions, 1 deletions
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 |