Skip to content
Snippets Groups Projects
Commit 7f908667 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

don't take into account keyid in error presence: it's our own signed message

parent d5fc1841
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment