From c65bfd8e0ce2eed746432ff47f0bac2577ccce82 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Tue, 16 Jan 2018 14:51:41 +0100 Subject: 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. --- gemato/openpgp.py | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3