diff --git a/gajim/common/gpg.py b/gajim/common/gpg.py index 6da225bc4..09b557023 100644 --- a/gajim/common/gpg.py +++ b/gajim/common/gpg.py @@ -73,7 +73,7 @@ if app.HAVE_GPG: result = super(GnuPG, self).decrypt(data.encode('utf8'), passphrase=self.passphrase) - return str(result) + return result.data.decode('utf8') def sign(self, str_, keyID): result = super(GnuPG, self).sign(str_.encode('utf8'), keyid=keyID, detach=True,