]> git.decadent.org.uk Git - dak.git/commitdiff
daklib/gpg.py: Ignore SIGEXPIRED and KEYEXPIRED
authorAnsgar Burchardt <ansgar@debian.org>
Mon, 4 Aug 2014 19:18:56 +0000 (21:18 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Mon, 4 Aug 2014 19:18:56 +0000 (21:18 +0200)
daklib/gpg.py

index 215e14fd1809a132cf739d71ace132dbf56ba2c0..66f098e92587a9c77e267ff4bcb2ce968cd38b4b 100644 (file)
@@ -202,10 +202,10 @@ class SignedFile(object):
                 raise GpgException("More than one signature id.")
             self.signature_id = fields[2]
 
-        elif fields[1] in ('PLAINTEXT', 'GOODSIG', 'NOTATION_NAME', 'NOTATION_DATA'):
+        elif fields[1] in ('PLAINTEXT', 'GOODSIG', 'NOTATION_NAME', 'NOTATION_DATA', 'SIGEXPIRED', 'KEYEXPIRED'):
             pass
 
-        elif fields[1] in ('EXPSIG', 'EXPKEYSIG', 'SIGEXPIRED', 'KEYEXPIRED'):
+        elif fields[1] in ('EXPSIG', 'EXPKEYSIG'):
             self.expired = True
             self.invalid = True