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