Skip to content
Snippets Groups Projects
Commit cbef579d authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

decode error message returnd by GPG. Fixes #4893

parent 93fd4725
No related branches found
No related tags found
No related merge requests found
......@@ -111,7 +111,7 @@ if gajim.HAVE_GPG:
# Encryption succeeded, even if there is output on stderr. Maybe
# verbose is on
error = ''
return self._stripHeaderFooter(output), error
return self._stripHeaderFooter(output), helpers.decode_string(error)
def decrypt(self, str_, keyID):
proc = self.run(['--decrypt', '-q', '-u %s'%keyID], create_fhs=['stdin', 'stdout'])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment