# 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 `--armor` makes it readable-ASCII encoded. ## Asymmetric crypto gpg --encrypt [--sign] [-u USER] file