From 1d0c202737a733f958ba0b5c8851f3a3d3de62ca Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Mon, 18 Aug 2008 09:41:10 -0700 Subject: [PATCH] add loud warning about bug in revoke-hostname --- src/monkeysphere-server | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/monkeysphere-server b/src/monkeysphere-server index 6754b23..bc8be05 100755 --- a/src/monkeysphere-server +++ b/src/monkeysphere-server @@ -446,6 +446,15 @@ revoke_hostname() { failure "You must specify a hostname to revoke." 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://monkeysphere.info/bugs/revoke-hostname-revoking-wrong-userid/" + read -p "Are you sure you would like to proceed? (y/N) " OK; OK=${OK:=N} + if [ ${OK/y/Y} != 'Y' ] ; then + failure "aborting." + fi + userID="ssh://${1}" fingerprint=$(fingerprint_server_key) -- 2.26.2