projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change the monkeysphere header to have 2009 copyright year and add my name
[monkeysphere.git]
/
src
/
subcommands
/
mh
/
revoke-hostname
diff --git
a/src/subcommands/mh/revoke-hostname
b/src/subcommands/mh/revoke-hostname
index decac8692f5bb7cd92a67d970e6b3bdda2ba3d27..01f6ee075ab58924f11dadf59ed9f6f80d7c391a 100755
(executable)
--- 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 user ID from host key
+revoke_hostname() {
+
local userID
local fingerprint
local tmpuidMatch
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
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."
echo
echo "NOTE: User ID revoked, but revocation not published."
@@
-87,3
+86,5
@@
if echo "$revuidCommand" | \
else
failure "Problem revoking user ID."
fi
else
failure "Problem revoking user ID."
fi
+
+}