If you're unfamiliar with gpg, please read the GNU Privacy Handbook . If you're too lazy or impatient to do so, you can get started quickly by:
-
Installing the appropriate gpg package for your OS if you don't already have one.
-
Running
gpg --gen-key
to create your key.
If you use this key for anything more than a few local tests, please:
-
Publish your public key so others can retrieve it.
gpg --keyserver pool.sks-keyservers.net --send-keys <your-new-key-id>
-
Backup your private key. It's irretrievable if lost or corrupted.
-
Generate a revocation certificate. This allows you to invalidate a key if a malicious user gains access.
-
Read the GNU Privacy Handbook above.