patch from Nolith to prevent a crash when the GPG key is not fully-trusted

This commit is contained in:
Yann Leboulanger 2005-03-23 00:07:55 +00:00
parent 4de519bafa
commit 2e3c19cb60
1 changed files with 2 additions and 0 deletions

View File

@ -68,6 +68,8 @@ else:
self.options.armor = 1 self.options.armor = 1
self.options.meta_interactive = 0 self.options.meta_interactive = 0
self.options.extra_args.append('--no-secmem-warning') self.options.extra_args.append('--no-secmem-warning')
# Nolith's patch - prevent crashs on non fully-trusted keys
self.options.extra_args.append('--always-trust')
def _read_response(self, child_stdout): def _read_response(self, child_stdout):
# Internal method: reads all the output from GPG, taking notice # Internal method: reads all the output from GPG, taking notice