From 28356180969561b4d7e2b376c1d1cde6aed3b8a6 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 4 May 2011 08:50:34 +0200 Subject: [PATCH] handle IMPORT_RES when verifying a GPG key. Fixes #6875 --- src/common/gnupg.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/gnupg.py b/src/common/gnupg.py index 3ac431627..e9e393213 100644 --- a/src/common/gnupg.py +++ b/src/common/gnupg.py @@ -688,6 +688,9 @@ class Verify(object): pass elif key in ("PLAINTEXT", "PLAINTEXT_LENGTH"): pass + elif key == "IMPORT_RES": + # If auto-key-retrieve option is enabled, this can happen + pass elif key == "BADSIG": self.valid = False self.key_id, self.username = value.split(None, 1)