[Bug 1433761] Re: apt-key and add-apt-repository don't honor Acquire::http::Proxy

2019-03-14 Thread Chris Weiss
this is still not working quite fully for add-apt-repository on a new clean install of 18.04.1. it may be working for http only, but for https you still need to manually provide the https_proxy env var. -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1433761] Re: apt-key and add-apt-repository don't honor Acquire::http::Proxy

2018-12-03 Thread Dmitrii Shcherbakov
{juliank, magnetik}, I checked add-apt-repository operation about a week ago while testing some (unrelated) automation changes on bionic with proxy environment variables and it was fine. apt-key should not be used at all due to its deprecated functionality. For your reference: The manpage for

[Bug 1433761] Re: apt-key and add-apt-repository don't honor Acquire::http::Proxy

2018-12-03 Thread Julian Andres Klode
The fix is to put .asc or .gpg files in trusted.gpg.d and not use apt- key. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1433761 Title: apt-key and add-apt-repository don't honor

[Bug 1433761] Re: apt-key and add-apt-repository don't honor Acquire::http::Proxy

2018-12-03 Thread Julian Andres Klode
The variables are usually http_proxy and https_proxy, not uppercase versions. That said, gpg does not seem to honor either. It does, however, honor an option --keyserver-options http-proxy=, although it is deprecated. -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1433761] Re: apt-key and add-apt-repository don't honor Acquire::http::Proxy

2018-12-03 Thread Baptiste Lafontaine
Sorry to ping everyone here, but I'm facing the same on bionic while it was okay in xenial. The env variables HTTP_PROXY and HTTPS_PROXY are correctly exported, but it seems that bionic do not use them anymore. What are the hints for possible fix? I see that the two affected packages are INVALID

[Bug 1433761] Re: apt-key and add-apt-repository don't honor Acquire::http::Proxy

2018-08-28 Thread Julian Andres Klode
apt-key adv is as the name says an advanced feature for direct access to gpg. Hence support for proxies lies with gpg. The adv command is deprecated, as is apt-key in general. ** Changed in: apt (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a

[Bug 1433761] Re: apt-key and add-apt-repository don't honor Acquire::http::Proxy

2018-08-28 Thread Dmitrii Shcherbakov
Added apt based on #15. dpkg -S `which apt-key` apt: /usr/bin/apt-key ** Also affects: apt (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1433761

[Bug 1433761] Re: apt-key and add-apt-repository don't honor Acquire::http::Proxy

2018-08-22 Thread Jonas Thim
The difference for Xenial / Bionic In Xenial apt-key spawns a process named gpg that honors the env. for http_proxy. In Bionic the command “apt-key” spawns a process “dirmngr –daemon –homedir /tmp/apt-key-gpghome.[RANDOM STRING]” which do not honor the env. for http_proxy / https_proxy.

[Bug 1433761] Re: apt-key and add-apt-repository don't honor Acquire::http::Proxy

2018-08-22 Thread Jonas Thim
It also seems that when running apt-key, dirmngr starts with --daemon and --homedir /tmp/apt-key-gpghome.[RANDOM STRING]. This results that the dirmngr.conf in ~/.gnupg is also not honored. We also tried having the configuration-file in /etc/dirmngr/dirmngr.conf which is also not honored. We are

[Bug 1433761] Re: apt-key and add-apt-repository don't honor Acquire::http::Proxy

2018-08-07 Thread Dmitrii Shcherbakov
I double-checked add-apt-repository and apt-key behavior on bionic (the same doesn't work on xenial as the fix was landed for bionic only). add-apt-proxy: ➜ ~ sudo strace -f -e connect bash -c 'HTTP_PROXY=http://192.168.1.1:3128 HTTPS_PROXY=http://192.168.1.1:3128 add-apt-repository

[Bug 1433761] Re: apt-key and add-apt-repository don't honor Acquire::http::Proxy

2018-08-07 Thread Dmitrii Shcherbakov
I double-checked add-apt-repository and apt-key behavior on bionic (the same doesn't work on xenial as the fix was landed for bionic only). add-apt-proxy: ➜ ~ sudo strace -f -e connect bash -c 'HTTP_PROXY=http://192.168.1.1:3128 HTTPS_PROXY=http://192.168.1.1:3128 add-apt-repository

[Bug 1433761] Re: apt-key and add-apt-repository don't honor Acquire::http::Proxy

2018-06-20 Thread David Britton
@miskokot Probably best to open this up in a new bug report if you think there is an error. However, I can at least confirm that having http_proxy and https_proxy set does yield connections to my proxy with apt-add- repository root@bionic:~# http_proxy=http://10.5.0.5:8000

[Bug 1433761] Re: apt-key and add-apt-repository don't honor Acquire::http::Proxy

2018-06-08 Thread Michal Medvecky
I am not sure this was fixed, or maybe I just hardly misunderstand that. Under current Bionic (software-properties-common 0.96.24.32.3) I still can't retrieve keys via env-var defined `http_proxy`. # echo $http_proxy http://1.2.3.4:3128 # echo $https_proxy http://1.2.3.4:3128 # apt-key adv

[Bug 1433761] Re: apt-key and add-apt-repository don't honor Acquire::http::Proxy

2018-04-03 Thread Launchpad Bug Tracker
This bug was fixed in the package software-properties - 0.96.24.25 --- software-properties (0.96.24.25) bionic; urgency=medium * ppa.py: - rework key retrieval, instead of using hkp & gnupg/dirmngr, use https & python's built in urllib. - thus, add-apt-key for PPAs

[Bug 1433761] Re: apt-key and add-apt-repository don't honor Acquire::http::Proxy

2018-04-03 Thread Launchpad Bug Tracker
** Branch linked: lp:~xnox/software-properties/gnupg-fix-all-the-things -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1433761 Title: apt-key and add-apt-repository don't honor Acquire::http::Proxy

[Bug 1433761] Re: apt-key and add-apt-repository don't honor Acquire::http::Proxy

2017-11-10 Thread Scott Moser
Bill, just for some more information. Also note "This options is deprecated". The correct way to do it now is to configure dirmngr.conf (which is backgrounded when you invoke gpg). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1433761] Re: apt-key and add-apt-repository don't honor Acquire::http::Proxy

2016-01-04 Thread Bill
@Muelli, using use --keyserver-options http-proxy=$http_proxy is nice idea. But I still has the issue. gpg: keyserver timed out gpg: keyserver receive failed: keyserver error -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1433761] Re: apt-key and add-apt-repository don't honor Acquire::http::Proxy

2016-01-04 Thread Bill
Regarding the gpg proxy setting, I found this document https://www.gnupg.org/documentation/manuals/gnupg/GPG-Configuration- Options.html http-proxy=value This options is deprecated. Set the proxy to use for HTTP and HKP keyservers. This overrides any proxy defined in dirmngr.conf. Will take a

[Bug 1433761] Re: apt-key and add-apt-repository don't honor Acquire::http::Proxy

2015-05-06 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: software-properties (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1433761

[Bug 1433761] Re: apt-key and add-apt-repository don't honor Acquire::http::Proxy

2015-05-06 Thread Muelli
This is a very annoying bug that hits me very often. It's also the source of yet another place to configure the proxy server. My usual work around is trying to patch all executions of apt-key and friends to use --keyserver-options http-proxy=$http_proxy. It might be possible to patch

[Bug 1433761] Re: apt-key and add-apt-repository don't honor Acquire::http::Proxy

2015-03-27 Thread Robie Basak
(cloud images, apt, keyserver, utilities like add-apt-repository) Looking at your other bug, ntp should be covered too - and anything else relevant. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1433761] Re: apt-key and add-apt-repository don't honor Acquire::http::Proxy

2015-03-27 Thread Robie Basak
Thank you for taking the time to report this bug and helping to make Ubuntu better. I understand why you expected apt-key and add-apt-repository to use the proxy you defined with Acquire::http::proxy in /etc/apt. But I'm not sure this is the only interpretation. I expect Acquire::http::proxy to

[Bug 1433761] Re: apt-key and add-apt-repository don't honor Acquire::http::Proxy

2015-03-18 Thread Adam Stokes
** Tags added: cloud-installer -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1433761 Title: apt-key and add-apt-repository don't honor Acquire::http::Proxy To manage notifications about this bug

[Bug 1433761] Re: apt-key and add-apt-repository don't honor Acquire::http::Proxy

2015-03-18 Thread Maarten
See also: https://bugs.launchpad.net/maas/+bug/1257082 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1433761 Title: apt-key and add-apt-repository don't honor Acquire::http::Proxy To manage