Updated: 27 October 2021
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
Freelance software engineer United Kingdom
Updated: 27 October 2021
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