Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openpgp: Use DNS resolver of OS #31

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions gemato/openpgp.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,12 @@ def __init__(self, debug=False, proxy=None):
# honor user's http_proxy setting
honor-http-proxy

# 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
# preferably with DNSSEC checks enabled and use the following setting:
standard-resolver
mgorny marked this conversation as resolved.
Show resolved Hide resolved

# enable debugging, in case we needed it
log-file {os.path.join(self._home, 'dirmngr.log')}
debug-level guru
Expand Down