Command line tool to add GPG keys to the APT keyring
add-apt-key [ --help ] [ --verbose ] [ --keyserver name ] keyid
The add-apt-key will request the specified GPG key from a public keyserver and insert it into the APT keyring so that archives signed with that key will be trusted.
This program follows the usual GNU command line syntax, with long options starting with two dashes (--).
Show online help (usage).
verbose mode will show each command before it is executed.
-k, --keyserver name
Select a specific keyserver to use.
The GPG key identifier to add.
Configuration file specifying the public keyserver to use.
The folling exit values are used:
Adding the keyid was successful.
Invalid script arguments.
GPG keyid cannot be retrieved (or is malformed).
Error in adding keyid to the APT keyring.