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 -
Written by Andrei Dziahel
Related protips
4 Responses
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
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Linux
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#