diff --git a/GnuPG/__init__.py b/GnuPG/__init__.py index cde18a2..52de404 100644 --- a/GnuPG/__init__.py +++ b/GnuPG/__init__.py @@ -30,5 +30,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()