To solve the problem I had to add the https_proxy settings in the root shell (not in the user shell) eg:
sudo -i export https_proxy="http://proxy.....:port" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/443404 Title: gpg doesn't get the right proxy configuration -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs