diff options
Diffstat (limited to 'src/share/mh')
-rw-r--r-- | src/share/mh/add_revoker | 1 | ||||
-rw-r--r-- | src/share/mh/import_key | 6 | ||||
-rw-r--r-- | src/share/mh/revoke_hostname | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/src/share/mh/add_revoker b/src/share/mh/add_revoker index 5b637a5..b6affbb 100644 --- a/src/share/mh/add_revoker +++ b/src/share/mh/add_revoker @@ -84,7 +84,6 @@ if [ "${OK/y/Y}" != 'Y' ] ; then fi # edit-key script to add revoker -# NOTE: *all* user IDs will be ltsigned addrevokerCommand=$(cat <<EOF addrevoker diff --git a/src/share/mh/import_key b/src/share/mh/import_key index ac31133..ed6ee4f 100644 --- a/src/share/mh/import_key +++ b/src/share/mh/import_key @@ -54,6 +54,12 @@ PEM2OPENPGP_USAGE_FLAGS=authenticate pem2openpgp "$userID" \ # that's what we're trying to produce (see below). load_fingerprint_secret +# set ultimate owner trust on the newly imported key +printf "%s:6:\n" "$HOST_FINGERPRINT" | gpg_host --import-ownertrust + +# update trustdb +gpg_host --check-trustdb + # export to gpg public key to file create_gpg_pub_file diff --git a/src/share/mh/revoke_hostname b/src/share/mh/revoke_hostname index 940b5f4..3addf90 100644 --- a/src/share/mh/revoke_hostname +++ b/src/share/mh/revoke_hostname @@ -30,7 +30,7 @@ fi echo "WARNING: There is a known bug in this function." echo "This function has been known to occasionally revoke the wrong user ID." echo "Please see the following bug report for more information:" -echo "http://web.monkeysphere.info/bugs/revoke-hostname-revoking-wrong-userid/" +echo "https://labs.riseup.net/code/issues/show/422" read -p "Are you sure you would like to proceed? (y/N) " OK; OK=${OK:=N} if [ ${OK/y/Y} != 'Y' ] ; then failure "aborting." |