June 2003
Intermediate to advanced
336 pages
8h 54m
English
You want to add a public or secret key to your keyring.
If the public key is in the file keyfile:
$ gpg --import keyfileIf the secret key is in the file keyfile:
$ gpg --import --allow-secret-key-import keyfileImporting the secret key implicitly imports the public key as well, since the public key is derivable from the secret one.
gpg(1).