diff options
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 |