X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhsign.sh;h=66ab142d6a97c0766609a0f73e0e34653230541e;hb=2dfc2b7e8d543372cd1a66a3d7dc02f7f5e40b7d;hp=9a060532e2ef4c23d48ab044b67625858090edb1;hpb=f36530fd658fd2ccfac328c5097f7b44712eceac;p=mmh 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 }