diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py index 0c7942db0..92e6be95f 100644 --- a/src/common/connection_handlers.py +++ b/src/common/connection_handlers.py @@ -1853,8 +1853,8 @@ returns the session that we last sent a message to.''' except: prio = 0 keyID = '' - if sigTag and GnuPG.USE_GPG: - #verify + if sigTag and self.gpg: + # verify sigmsg = sigTag.getData() keyID = self.gpg.verify(status, sigmsg)