Philipp Hörist pushed to branch master at gajim / gajim

Commits:
e326aabf by Philipp Hörist at 2018-03-31T01:18:28+02:00
Decode PGP decrypted messages

- - - - -


1 changed file:

- gajim/common/gpg.py


Changes:

=====================================
gajim/common/gpg.py
=====================================
--- 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,



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/e326aabf5f0e33eb5a12530c6db424cab1694874

---
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/e326aabf5f0e33eb5a12530c6db424cab1694874
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to