From 41c388e8f78f71e8c94022db6fc0e91091bb1813 Mon Sep 17 00:00:00 2001 From: Charles Duffy Date: Tue, 30 Sep 2014 20:25:26 -0500 Subject: [PATCH] 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. --- gnupg/_parsers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnupg/_parsers.py b/gnupg/_parsers.py index 3dd4aad..8dc7980 100644 --- a/gnupg/_parsers.py +++ b/gnupg/_parsers.py @@ -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