fix GPG encoding issues. Fixes #7988
This commit is contained in:
		
							parent
							
								
									9938da103c
								
							
						
					
					
						commit
						a17ff4b45e
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -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 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue