This bug was fixed in the package gnupg2 - 2.2.4-1ubuntu1
---
gnupg2 (2.2.4-1ubuntu1) bionic; urgency=medium
* Merge from Debian unstable, remaining changes:
- debian/gnupg2.udev:
- Add udev rules to give gpg access to some smartcard readers;
Debian #543217.
** Changed in: gnupg2 (Ubuntu Yakkety)
Status: New => Won't Fix
** Changed in: gnupg2 (Ubuntu)
Status: Triaged => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1625848
** Also affects: gnupg2 (Ubuntu Yakkety)
Importance: Undecided
Status: New
** Changed in: gnupg2 (Ubuntu Yakkety)
Assignee: (unassigned) => Dimitri John Ledkov (xnox)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
So as I mentioned in-person, this fix isn't working.
For LXC, I ended up having our autopkgtest scripts divert dirmngr to
dirmngr.orig and replace dirmngr with a call to "dirmngr --honor-http-
proxy $@" which fixed this issue for us.
So it shows that dirmngr does respect the option when told
This bug was fixed in the package gnupg2 - 2.1.15-1ubuntu4
---
gnupg2 (2.1.15-1ubuntu4) yakkety; urgency=medium
* Honor http_proxy= environment variables by default, in the newly
generated dirmngr.conf files. Existing users behing proxies should set
honor-http-proxy in
** Changed in: gnupg2
Status: Unknown => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1625848
Title:
gnupg2 appears to ignore http_proxy, fails to retrieve keys
To manage
Upstream decides to ignore http_proxy by default, unless a config option
is set.
I shall update the dirmngr.conf skeleton to include "honor-http-proxy"
by default.
Existing users will be stuck being confused =(
Automatically, this can be adjusted with:
echo honor-http-proxy:0:1 | gpgconf