[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 316
  • Last Modified:

Adding a key to gpg

What is the gpg command to add a public key to your keychain on Linux?

Thanks,
Zumpoof
0
zumpoof
Asked:
zumpoof
1 Solution
 
XoFCommented:
For importing a key to the keyring from a file:
gpg --import <filename>

For importing/receiving a key from a keyserver:
gpg --keyserver <server> --recv-keys <key-ID>

HTH,

-XoF-
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now