From e326aabf5f0e33eb5a12530c6db424cab1694874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Sat, 31 Mar 2018 01:18:04 +0200 Subject: [PATCH] Decode PGP decrypted messages --- gajim/common/gpg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,