GPG Notes
by
Jikku Jose
in
jikkujose.in

GPG symmetric encryption - universal fallback that’s always there. Perfect for long-term cold storage and air-gapped setups.

Base Command

gpg --symmetric --armor file

Hardened Version

gpg --symmetric \
    --armor \
    --cipher-algo AES256 \
    --s2k-digest-algo SHA512 \
    --s2k-count 65011712 \
    --s2k-mode 3 \
    file

All params embedded in file. Future decryption just needs vanilla GPG.

Symmetric vs Asymmetric Security

Parameter Reasoning

Quantum Resistance

Keys & Memory

Air-Gapped Usage

# On networked system
gpg --symmetric --armor --output secrets.asc secrets.txt

# Transfer to air-gapped via USB

# On air-gapped (any live distro)
gpg --decrypt secrets.asc

Works on any live distro - GPG comes standard. No config or setup needed. Perfect for:


Note: Always check gpg binary hash on untrusted systems.

Why it works


Parameters explicit during encryption > editing configs. Keep systems vanilla.