PGP GPG Verify Verification Signature Signing Key Generation
# Verify a signature
gpg --import public-key.asc
gpg --verify signature.sign file.bin
# Generate a key
gpg --gen-key
# Export public key
gpg --export --armor youremail@example.com > mypubkey.asc
# List keys
gpg --list-keys
gpg --list-secret-keys
# Encrypt file
gpg --encrypt --recipient glenn --recipient 'my_name' filename.txt
# Decrypt file
gpg --decrypt filename.txt.gpg
# Sign (can be combined w/ encryption)
gpg --sign file.bin
gpg --clearsign textfile