diff options
-rw-r--r-- | gemato/openpgp.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gemato/openpgp.py b/gemato/openpgp.py index 233cc9d..fede3e5 100644 --- a/gemato/openpgp.py +++ b/gemato/openpgp.py @@ -1,5 +1,5 @@ # gemato: OpenPGP verification support -# (c) 2017-2023 Michał Górny +# (c) 2017-2024 Michał Górny # SPDX-License-Identifier: GPL-2.0-or-later import base64 @@ -413,10 +413,13 @@ class IsolatedGPGEnvironment(SystemGPGEnvironment): with open(os.path.join(self._home, 'dirmngr.conf'), 'w') as f: f.write(f'''# autogenerated by gemato - # honor user's http_proxy setting honor-http-proxy +# Disable automagically using Tor when running. This often leads +# to connectivity issues and is unexpected for users. +no-use-tor + # The default of "recursive-resolver" (see "man dirmngr") may cause # problems with corporate networks, where this is often prohibited. # It's better to setup the DNS resolver of your choice correctly |