gpg

Updated: 21 February 2025

Encrypt and decrypt a file with one password. Without --no-symkey-cache the password is cached on the system.

gpg --no-symkey-cache --symmetric --cipher-algo AES256 notes.txt
gpg --output notes.txt --decrypt notes.txt.gpg

Leave a comment