From 6f51928b95e0c9503efdd4138faf8ea43a951831 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Mon, 4 Aug 2014 21:18:56 +0200 Subject: [PATCH] daklib/gpg.py: Ignore SIGEXPIRED and KEYEXPIRED --- daklib/gpg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daklib/gpg.py b/daklib/gpg.py index 215e14fd..66f098e9 100644 --- a/daklib/gpg.py +++ b/daklib/gpg.py @@ -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 -- 2.39.5