# GPG Crypto ## General options * `--armor` or `-a`: ASCII armor, output is printable ASCII * `--local-user` or `-u`: specify which ID to use ## Symmetric encryption ### Encrypt file with passphrase gpg --symmetric Add `--armor` to make it readable-ASCII encoded. ### Decrypt gpg --output --decrypt ## Export private key gpg --armor --export-secret-keys ## Export public key gpg --armor --export [--output ] ## Asymmetric crypto gpg --encrypt [--sign] [-u ] [--recipient ] file