>

Generating a New GPG Key

Run gpg to generate a new key

$ gpg --gen-key

Answer questions:

  1. RSA
  2. 4096
  3. User ID
  4. Email Address
  5. Comment

Enter a passphrase

Use gpg to confirm you now have the new key stored in the keyring:

gpg --list-secret-keys --keyid-format LONG

Results:

/root/.gnupg/secring.gpg
------------------------
sec 2048R/4E6660E79D2BCFD5 2017-10-25
uid Jay C. Everson (None) <jeverson@techmentor.com>
ssb 2048R/C1B6E02B5116D297 2017-10-25
banner ad

Comments are closed.