From: markus schnalke Date: Thu, 27 Nov 2014 19:26:36 +0000 (+0100) Subject: mhsign: Ignore expired, revoked, invalid, and similar public keys. X-Git-Tag: mmh-0.2-RC1~94^2 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=fe95918ce103e911f20bd14874907d8fd7e1abaa;p=mmh mhsign: Ignore expired, revoked, invalid, and similar public keys. --- diff --git a/uip/mhsign.sh b/uip/mhsign.sh index 9a06053..66ab142 100755 --- a/uip/mhsign.sh +++ b/uip/mhsign.sh @@ -91,7 +91,7 @@ lookupkeyring() { if [ $? != 0 ] ; then return 1 fi - echo "$key" | sed -n '/^pub/{p;q;}' | cut -d: -f5 + echo "$key" | sed -n '/^pub:[^idre]:/{p;q;}' | cut -d: -f5 return 0 }