X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=src%2Fsubcommands%2Fmh%2Frevoke-hostname;h=01f6ee075ab58924f11dadf59ed9f6f80d7c391a;hb=585b1c823e7b72f610fb23aeb4fc09f0287a0bdb;hp=decac8692f5bb7cd92a67d970e6b3bdda2ba3d27;hpb=f5916bc01d76a54d9c2b1738c15da588021c63f3;p=monkeysphere.git diff --git a/src/subcommands/mh/revoke-hostname b/src/subcommands/mh/revoke-hostname index decac86..01f6ee0 100755 --- a/src/subcommands/mh/revoke-hostname +++ b/src/subcommands/mh/revoke-hostname @@ -12,6 +12,8 @@ # revoke hostname user ID from host key +revoke_hostname() { + local userID local fingerprint local tmpuidMatch @@ -76,10 +78,7 @@ EOF if echo "$revuidCommand" | \ gpg_host --quiet --command-fd 0 --edit-key "0x${fingerprint}!" ; then - # update the trustdb for the authentication keyring - gpg_authentication "--check-trustdb" - - show_server_key + show_key echo echo "NOTE: User ID revoked, but revocation not published." @@ -87,3 +86,5 @@ if echo "$revuidCommand" | \ else failure "Problem revoking user ID." fi + +}