CmdID

CmdID / Commands

gpg

GNU Privacy Guard, an OpenPGP encryption and signing tool. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Create a GPG public and private key interactively

gpg --full-generate-keyIdentify

List all keys from the public keyring

gpg --list-keysIdentify

Sign doc.txt without encryption (writes output to doc.txt.asc)

gpg --clearsign doc.txtIdentify

Encrypt and sign doc.txt for alice@example.com and bob@example.com (output to doc.txt.gpg)

gpg --encrypt --sign --recipient alice@example.com --recipient bob@example.com doc.txtIdentify

Encrypt doc.txt with only a passphrase (output to doc.txt.gpg)

gpg --symmetric doc.txtIdentify

Decrypt doc.txt.gpg (output to stdout)

gpg --decrypt doc.txt.gpgIdentify

Import a public key from WKD (Web Key Directory) if the key isn't already in the keyring

gpg --locate-keys alice@example.comIdentify

Export the public/private key for alice@example.com (output to stdout)

gpg --export --armor alice@example.comIdentify