Run gpg to generate a new key
1 | $ gpg --gen-key |
Answer questions:
Enter a passphrase
Use gpg to confirm you now have the new key stored in the keyring:
1 | gpg --list-secret-keys --keyid-format LONG |
Results:
1 2 3 4 5 | /root/.gnupg/secring.gpg ------------------------ sec 2048R/4E6660E79D2BCFD5 2017-10-25 uid Jay C. Everson (None) <jeverson@techmentor.com> ssb 2048R/C1B6E02B5116D297 2017-10-25 |