Ignore PROGRESS messages during verify operation

Parsing such messages would change documented behavior (which specifies a
limited set of messages, not conforming with the given status codes). Ignoring
them is thus the safer change.
fix/83-SIG_SUBPACKET
Charles Duffy 2014-09-30 20:25:26 -05:00
parent 572c911b82
commit 41c388e8f7
1 changed files with 1 additions and 1 deletions

View File

@ -1212,7 +1212,7 @@ class Verify(object):
self.trust_level = self.TRUST_LEVELS[key]
elif key in ("RSA_OR_IDEA", "NODATA", "IMPORT_RES", "PLAINTEXT",
"PLAINTEXT_LENGTH", "POLICY_URL", "DECRYPTION_INFO",
"DECRYPTION_OKAY", "INV_SGNR"):
"DECRYPTION_OKAY", "INV_SGNR", "PROGRESS"):
pass
elif key == "BADSIG":
self.valid = False