Page MenuHome GnuPG

File decrypts without password
Closed, ResolvedPublic

Description

I encrypted a file.

gpg -c demoFile.txt

But without any flags I am able to decrypt a file without password.

gpg demoFile.txt.gpg

Details

Version
2.2.19

Event Timeline

werner claimed this task.
werner edited projects, added Not A Bug; removed Bug Report.
werner added a subscriber: werner.

It is a feature not a bug. For symmetric encryption the gpg-agent remembers the passphrase used for the encryption and thus for some time or until /gpgconf --reload gpg-agent/ it tries that passphrase for decryption.