Creating your 1st gpg key:
gpg --gen-key
gpg (GnuPG) 2.2.3; Copyright (C) 2017 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Note: Use "gpg --full-generate-key" for a full featured key generation dialog.
GnuPG needs to construct a user ID to identify your key.
Real name: John Smith
Email address: [email protected]
You selected this USER-ID:
"John Smith <[email protected]>"
Change (N)ame, (E)mail, or (O)kay/(Q)uit?
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
***You will be prompted to enter a password here***
gpg: key 4DA6A2754E1FD0D2 marked as ultimately trusted
gpg: revocation certificate stored as '/home/johnsmith/.gnupg/openpgp-revocs.d/6FEDF4BD8D6960565C4AC7204DA6A2754E1FD0D2.rev'
public and secret key created and signed.
pub rsa2048 2017-12-11 [SC] [expires: 2019-12-11]
6FEDF4BD8D6960565C4AC7204DA6A2754E1FD0D2
uid John Smith <[email protected]>
sub rsa2048 2017-12-11 [E] [expires: 2019-12-11]
Returns to command prompt..
This process creates a simple 2048bit RSA key.