Last Updated: November 15, 2017
·
12.36K
· 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

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

over 1 year ago ·

Thanks!

over 1 year ago ·

Thanks!

over 1 year ago ·

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 ·