Apt-key
lastmod 2022-02-24created 2018-09-055 edits
Commands
-
add filename: Adds a new key to the key list. Reads the key from the given file name. For standard input, use-in place of the file name. -
del keyid: Deletes a key from the key list. -
list: Lists the keys. -
update: Updates the local keyring. -
net-update: Same as update, but updates from a URI.
Examples
-
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4
-
curl -Lhttps://couchdb.apache.org/repo/bintray-pubkey.asc| sudo apt-key add - - How to pipe a key downloaded with wget or curl.