don't take into account keyid in error presence: it's our own signed message
This commit is contained in:
parent
d5fc1841a8
commit
7f908667a4
1 changed files with 2 additions and 1 deletions
|
@ -1974,7 +1974,8 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco,
|
||||||
except:
|
except:
|
||||||
prio = 0
|
prio = 0
|
||||||
keyID = ''
|
keyID = ''
|
||||||
if sigTag and self.USE_GPG:
|
if sigTag and self.USE_GPG and ptype != 'error':
|
||||||
|
# error presences contain our own signature
|
||||||
# verify
|
# verify
|
||||||
sigmsg = sigTag.getData()
|
sigmsg = sigTag.getData()
|
||||||
keyID = self.gpg.verify(status, sigmsg)
|
keyID = self.gpg.verify(status, sigmsg)
|
||||||
|
|
Loading…
Add table
Reference in a new issue