APT Repository Keys behind a HTTP Proxy

We have an HTTP proxy at work that doesn't like hkp style requests; however, there's this little gem to make it work perfectly.

sudo gpg --keyserver yourkeyserver.somewhere.org --keyserver-options http-proxy=http://myworkproxy:port --recv-keys ABCDEF01

 

Posted