commit:     3bf58d249755abe788e4632905900c1127a23ffe
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 24 13:44:43 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Oct 24 18:45:31 2025 +0000
URL:        https://gitweb.gentoo.org/proj/gemato.git/commit/?id=3bf58d24

Remove direct trust-mode setting

Remove `trust-mode direct` since it's not supported by
sequoia-chameleon-gnupg.  It shouldn't really matter since we're using
an isolated keyring, it was only an optimization.

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 gemato/openpgp.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/gemato/openpgp.py b/gemato/openpgp.py
index 39c1370..b9e7208 100644
--- a/gemato/openpgp.py
+++ b/gemato/openpgp.py
@@ -496,12 +496,6 @@ resolver-timeout {gpg_timeout}
 connect-timeout {gpg_timeout}
 """)
 
-        with open(os.path.join(self._home, 'gpg.conf'), 'w') as f:
-            f.write('''# autogenerated by gemato
-
-# we set validity directly on keys
-trust-model direct
-''')
         with open(os.path.join(self._home, 'gpg-agent.conf'), 'w') as f:
             f.write(f'''# autogenerated by gemato
 

Reply via email to