Patch GnuPG library to trust keys we've already got to avoid having to manually add them

pull/33/head
Colin Moller 10 years ago committed by Igor Rzegocki
parent f78652ac15
commit e7bd005430

@ -32,5 +32,5 @@ class GPGEncryptor:
return encdata
def _command(self):
cmd = "/usr/bin/gpg --homedir %s --batch --yes --pgp7 --no-secmem-warning -a -e -r %s" % (self._keyhome, ' -r '.join(self._recipients))
cmd = "/usr/bin/gpg --trust-model always --homedir %s --batch --yes --pgp7 --no-secmem-warning -a -e -r %s" % (self._keyhome, ' -r '.join(self._recipients))
return cmd.split()

Loading…
Cancel
Save