/
Other GPG Options

Other GPG Options

gpg --version

Find out which version of GPG you have installed

gpg --gen-key

Create a new key pair

gpg --armor --output "KEY.txt" --export "YOUR-NAME"

Export your public key to a text file KEY.txt

Import the keys found in KEY.txt 

Edit the key for NAME. In edit mode, use the ”trust” command to set the trust level

Encrypt FILENAME using RECIPIENT’s public key

Encrypt a file and output text suitable for email

Use the current folder as the home folder, useful for calling GPG from an application.