diff --git a/GnuPG/__init__.py b/GnuPG/__init__.py index abe50e7..5fc089a 100644 --- a/GnuPG/__init__.py +++ b/GnuPG/__init__.py @@ -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()