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.
parent
87928205a8
commit
fa47edce68
|
@ -1209,7 +1209,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
|
||||
|
|
Loading…
Reference in New Issue