diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-01-16 14:51:41 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-01-16 15:02:55 +0100 |
commit | c65bfd8e0ce2eed746432ff47f0bac2577ccce82 (patch) | |
tree | 43b0ddfc0be14bdd8bc9d89da61ff7bbda06d863 | |
parent | f49f3ac53299a1e567f982a2fea3dec2b4f63acb (diff) | |
download | gemato-c65bfd8e0ce2eed746432ff47f0bac2577ccce82.tar.gz |
openpgp: Pass "--trust-model always" when using isolated env
Always trust keys in isolated env since we are explicitly importing
them. This does not make any real difference but it skips unnecessary
trust management.
-rw-r--r-- | gemato/openpgp.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gemato/openpgp.py b/gemato/openpgp.py index b76232f..e2d97d1 100644 --- a/gemato/openpgp.py +++ b/gemato/openpgp.py @@ -180,4 +180,5 @@ disable-scdaemon def _spawn_gpg(self, options, stdin): env = {'GNUPGHOME': self.home} + options = ['--trust-model', 'always'] + options return super(OpenPGPEnvironment, self)._spawn_gpg(options, stdin, env) |