summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gemato/openpgp.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/gemato/openpgp.py b/gemato/openpgp.py
index de3139a..177ff43 100644
--- a/gemato/openpgp.py
+++ b/gemato/openpgp.py
@@ -184,6 +184,12 @@ class OpenPGPEnvironment(OpenPGPSystemEnvironment):
super(OpenPGPEnvironment, self).__init__()
self._home = tempfile.mkdtemp()
+ with open(os.path.join(self._home, 'dirmngr.conf'), 'w') as f:
+ f.write('''# autogenerated by gemato
+
+# honor user's http_proxy setting
+honor-http-proxy
+''')
with open(os.path.join(self._home, 'gpg.conf'), 'w') as f:
f.write('''# autogenerated by gemato