7.10.1 ProblemYou want to add a public or secret key to your keyring. 7.10.2 SolutionIf the public key is in the file keyfile: $ gpg --import keyfile If the secret key is in the file keyfile: $ gpg --import --allow-secret-key-import keyfile 7.10.3 DiscussionImporting the secret key implicitly imports the public key as well, since the public key is derivable from the secret one. 7.10.4 See Alsogpg(1). |