projects
/
monkeysphere.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
617f03c
)
sigh. fixing some dumb typos in hostname revocation.
author
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Fri, 15 Aug 2008 18:58:34 +0000
(14:58 -0400)
committer
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Fri, 15 Aug 2008 18:58:34 +0000
(14:58 -0400)
src/monkeysphere-server
patch
|
blob
|
history
diff --git
a/src/monkeysphere-server
b/src/monkeysphere-server
index 6ffd41ffb78b3b3c8d36bed25434c42060235769..dd85dcc7b3e630db544d5b50f78155e394443e1a 100755
(executable)
--- a/
src/monkeysphere-server
+++ b/
src/monkeysphere-server
@@
-413,9
+413,9
@@
revoke_hostname() {
fi
fpr=$(fingerprint_server_key)
fi
fpr=$(fingerprint_server_key)
- tmpuidMatch="u:$(escape "$1")"
+ tmpuidMatch="u:$(escape "
ssh://
$1")"
- if linenum=$(gpg_host --list-keys --with-colons --fixed-list-mode "
$fpr" | egrep '^(uid|uat):' | cut -f2,10 -d: | grep -n -x -F 'r:Foo T. Bar (DO NOT USE!) <foo@example.net>'
) ; then
+ if linenum=$(gpg_host --list-keys --with-colons --fixed-list-mode "
0x$fpr"\! | egrep '^(uid|uat):' | cut -f2,10 -d: | grep -n -x -F "$tmpuidMatch"
) ; then
uidNum=${linenum%%:*}
else
failure "no non-revoked hostname '$1' is listed."
uidNum=${linenum%%:*}
else
failure "no non-revoked hostname '$1' is listed."
@@
-436,7
+436,7
@@
save
EOF
)
EOF
)
- echo "$revuidCommand" | gpg_host --quiet --command-fd 0 --edit-key "0x$f
ingerprint
"\!
+ echo "$revuidCommand" | gpg_host --quiet --command-fd 0 --edit-key "0x$f
pr
"\!
echo "NOTE: host userID revokation has not been published."
echo "Use '$PGRM publish-key' to publish these changes."
echo "NOTE: host userID revokation has not been published."
echo "Use '$PGRM publish-key' to publish these changes."