From: Jameson Graef Rollins Date: Mon, 18 Aug 2008 16:41:10 +0000 (-0700) Subject: add loud warning about bug in revoke-hostname X-Git-Tag: monkeysphere_0.8-1~1 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=1d0c202737a733f958ba0b5c8851f3a3d3de62ca;p=monkeysphere.git add loud warning about bug in revoke-hostname --- 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)