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

don't crash when there are non-ascii chars in gpg keys list

parent e195cfb1
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,7 @@ if HAVE_GPG:
class GnuPG(gnupg.GPG):
def __init__(self, use_agent=False):
gnupg.GPG.__init__(self)
gnupg.GPG.decode_errors = 'replace'
self.passphrase = None
self.use_agent = use_agent
self.always_trust = False
......
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