l_vcma
Last Updated: November 15, 2017
·
9.021K
· develop7

retrieving an APT signing key by URL

Use apt-key adv --fetch-keys URL... instead of something like wget URL -O - | apt-key add - or curl URL | apt-key add -

4 Responses
Add your response

11907

Thanks, this came in handy for a Vagrant setup I'm working on.

over 1 year ago ·
20848

Thanks!

over 1 year ago ·
20849

Thanks!

over 1 year ago ·
29424

The only issue with this is that you need to have a pretty new version of GnuPG to get https support. Since we're now in the age of encrypt everything you're back to the old way unless you want to risk installing it using a non-ssl link. I only stumbled on this issue because the key I wanted to install was only offered over https.

over 1 year ago ·