diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2008-08-11 19:30:24 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2008-08-11 19:30:24 +0400 |
commit | 7f908667a4edd45e35d9c131a79e8aa246445337 (patch) | |
tree | 5abaea55f5d7bc54cec2974dc03a62850fe25de9 | |
parent | d5fc1841a852906e7f04689f1588b39a26314abf (diff) |
don't take into account keyid in error presence: it's our own signed message
-rw-r--r-- | src/common/connection_handlers.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py index ed91a57b7..7af206c05 100644 --- a/src/common/connection_handlers.py +++ b/src/common/connection_handlers.py @@ -1974,7 +1974,8 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco, except: prio = 0 keyID = '' - if sigTag and self.USE_GPG: + if sigTag and self.USE_GPG and ptype != 'error': + # error presences contain our own signature # verify sigmsg = sigTag.getData() keyID = self.gpg.verify(status, sigmsg) |