Source
gpg --full-gen-keyConfigure the key with:
- Kind of key: type
4for(4) RSA (sign only) - Keysize:
4096 - Expiration: choose a reasonable value, for example
2yfor 2 years (it can be renewed) - Full Name
- E-mail address (more can be added later)
Type in a passphrase and you’re done.