From 46fe34d78ca1acb59c996064e4b85f922cf9e9e6 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Sat, 21 Feb 2009 17:34:15 -0500 Subject: [PATCH] adjusting extraction of revokers. --- src/monkeysphere-host | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/monkeysphere-host b/src/monkeysphere-host index fc3b607..1b0de0c 100755 --- a/src/monkeysphere-host +++ b/src/monkeysphere-host @@ -193,7 +193,7 @@ show_key() { # list revokers, if there are any revokers=$(gpg --list-keys --with-colons --fixed-list-mode \ - | grep '^rvk:' | cut -d: -f10) || true + | awk -F: '/^rvk:/{ print $10 }' ) if [ "$revokers" ] ; then echo "The following keys are allowed to revoke this host key:" for key in $revokers ; do -- 2.25.1