handle IMPORT_RES when verifying a GPG key. Fixes #6875

This commit is contained in:
Yann Leboulanger 2011-05-04 08:50:34 +02:00
parent 857ba5f707
commit 2835618096
1 changed files with 3 additions and 0 deletions

View File

@ -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)