The standard seems to be gpg. You generate some keys, and use that for encryption and signing.
gpg --gen-key
or
gpg --full-generate-key
gpg --output file.txt.enc --recipient [email protected] --encrypt file.txt
shred file.txt
rm file.txt
gpg --output file.txt --decrypt file.txt.enc
gpg --list-secret-keys [email protected]
gpg --export-secret-keys [email protected]
gpg --import-key my-key.key
gpg --edit-key [email protected]
gpg> trust
- You can convert gpg keys to pgp text files
- See the apt guide, there's some information there since it deals with this