Commit 923378df authored by Yann Leboulanger's avatar Yann Leboulanger

fix GPG encoding issues. Fixes #7988

parent 6690da68
......@@ -31,6 +31,7 @@ if HAVE_GPG:
class GnuPG(gnupg.GPG):
def __init__(self, use_agent=False):
gnupg.GPG.__init__(self)
self.encoding = 'utf-8'
self.decode_errors = 'replace'
self.passphrase = None
self.use_agent = use_agent
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment