projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3730bae
)
mhsign: Ignore expired, revoked, invalid, and similar public keys.
author
markus schnalke
<meillo@marmaro.de>
Thu, 27 Nov 2014 19:26:36 +0000
(20:26 +0100)
committer
markus schnalke
<meillo@marmaro.de>
Thu, 27 Nov 2014 19:26:36 +0000
(20:26 +0100)
uip/mhsign.sh
patch
|
blob
|
history
diff --git
a/uip/mhsign.sh
b/uip/mhsign.sh
index
9a06053
..
66ab142
100755
(executable)
--- 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
}