GPG stores the password after encription?

Kovács T. Péter kopeter01 at proton.me
Wed Sep 9 22:22:42 CEST 2026


Hi,
I am using GnuPG 2.4.7 under Linux.
I encrypted a file with "gpg -c". I used a long password.
Some minutes later, I tried to decrypt this encrypted file with "gpg -v". Decryption happened without asking a password.
I think is GPG-agent stored the password (?) If this happened, how long it stores the password? Password stored in encrypted form? How can I disable to store the password?Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20260909/aa148b17/attachment-0003.html>


More information about the Gnupg-users mailing list