You are not logged in.
Hi. I'm behind an http proxy.
pacman -Su hangs at "downloading required keys..."
netstat shows:
tcp 0 1 reallin:56670 jupiter.zaledia.com:hkp SYN_SENT
(port 11371)
There's also a spawned `gpg2` process:
gpg2 --batch --no-sk-comments --lc-messages en_US.UTF-8 --lc-ctype en_US.UTF-8 --homedir /etc/pacman.d/gnupg/ --status-fd 7 --no-tty --charset utf8 --enable-progress-filter --display localhost:10.0 --ttyname /dev/pts/0 --ttytype xterm --with-colons --fixed-list-mode --with-fingerprint --with-fingerprint --search-keys -- 0x5F702428F70E0903
The process environment looks correct:
[il@reallin ~]$ sudo cat /proc/`pidof gpg2`/environ | xargs -0 printf '%s\n' | grep proxy
http_proxy=http://proxy.company.org:3128
https_proxy=http://proxy.company.org:3128
There can be others:
tcp 0 1 reallin:54950 pgp.h-ix.net:hkp SYN_SENT
tcp 0 1 reallin:34715 dumain.vps.bitfolk.:hkp SYN_SENT
Tried to create /etc/pacman.d/gnupg/dirmngr.conf
http-proxy http://proxy.company.org:3128
but no effect
If I try to explicitly add the option:
--keyserver-options "http-proxy=http://proxy.company.org:3128"
it says:
gpg: error searching keyserver: Unknown option
gpg: keyserver search failed: Unknown option
Last edited by leniviy (2015-09-18 11:46:17)
Arch 64, xfce4
Offline
Can you try running with a helper (like proxychains)?
Creeds matter very little… The optimist proclaims that we live in the best of all possible worlds; and the pessimist fears this is true. So I elect for neither label. - James Branch Cabell
Offline
Can you try running with a helper (like proxychains)?
Tried with dante. No effect.
Arch 64, xfce4
Offline
Found it! gpg2 launches a daemon called "dirmngr". After I did
pkill -KILL dirmngr
the new proxy settings in /etc/pacman.d/gnupg/dirmngr.conf were taken.
Arch 64, xfce4
Offline