Patch GnuPG library to trust keys we've already got to avoid having to manually add them
This commit is contained in:
parent
0403e47ec0
commit
91a846beb6
|
@ -30,5 +30,5 @@ class GPGEncryptor:
|
||||||
return encdata
|
return encdata
|
||||||
|
|
||||||
def _command(self):
|
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()
|
return cmd.split()
|
||||||
|
|
Loading…
Reference in a new issue