Below you will find a reference to the most useful commands.
gpg --helpgpg --list-keysgpg --full-generate-key
# Choose what kind of key you want, the key size and specify an expiration date.gpg --export --armor --output jane_doe_pgp.public_key.asc jane.doe@example.comgpg --export-secret-keys --output --armor jane_doe_pgp.private_key.asc jane.doe@example.comgpg --edit-key jane.doe@example.com
gpg passwd jane.doe@example.com