X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fsubcommands%2Fmh%2Frevoke-hostname;h=0a773a31a6de9b1f41562a6b4493b56c419e9ad4;hb=c700e9b0dcede303ed1f160ba51f564fd314d2e3;hp=decac8692f5bb7cd92a67d970e6b3bdda2ba3d27;hpb=7d4b4815db8ba2f6f984a18a90b50032cf9158ba;p=monkeysphere.git diff --git a/src/subcommands/mh/revoke-hostname b/src/subcommands/mh/revoke-hostname index decac86..0a773a3 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 @@ -79,7 +81,7 @@ if echo "$revuidCommand" | \ # 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 +89,5 @@ if echo "$revuidCommand" | \ else failure "Problem revoking user ID." fi + +}