projects
/
dak.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
677e507
)
daklib/gpg.py: Handle a few more keywords for invalid or and expired signatures.
author
Ansgar Burchardt
<ansgar@debian.org>
Sun, 3 Aug 2014 16:42:42 +0000
(18:42 +0200)
committer
Ansgar Burchardt
<ansgar@debian.org>
Sun, 3 Aug 2014 16:42:42 +0000
(18:42 +0200)
daklib/gpg.py
patch
|
blob
|
history
diff --git
a/daklib/gpg.py
b/daklib/gpg.py
index 7bc4f082c708fd5eb2d21c16b506c9b6bf31e6f2..236b4927b29f4a57d396e8b0647b70bd761cbdf5 100644
(file)
--- a/
daklib/gpg.py
+++ b/
daklib/gpg.py
@@
-205,11
+205,11
@@
class SignedFile(object):
elif fields[1] in ('PLAINTEXT', 'GOODSIG'):
pass
- elif fields[1] in ('EXPSIG', 'EXPKEYSIG'):
+ elif fields[1] in ('EXPSIG', 'EXPKEYSIG'
, 'KEYEXPIRED'
):
self.expired = True
self.invalid = True
- elif fields[1] in ('REVKEYSIG', 'BADSIG', 'ERRSIG'):
+ elif fields[1] in ('REVKEYSIG', 'BADSIG', 'ERRSIG'
, 'KEYREVOKED', 'NO_PUBKEY'
):
self.invalid = True
else: