Instructions how to create GPG keys for [email protected]
(change with your own business email).
Install GPG on your machine. See blog from Yubico on how to install GPG.
Execute the following command:
gpg --full-generate-key
Use the following options:
- Please select what kind of key you want: RSA and RSA
- What keysize do you want?: 4096
- Please specify how long the key should be valid: 0
- Real name: John Sample
- Email address: [email protected]
- Comment:
- Passphrase:
abcde12345
WARNING:
- Change
abcde12345
with your own secure passphrase to protect your private key. - Do not set GPG comment. See MISP.
To export GPG public key to my-pubkey.pgp
file:
gpg --output my-pubkey.pgp --armor --export [email protected]
You can now export my-pubkey.pgp
to your teams or anyone.