GPG stores the password after encription?

Robert J. Hansen rjh at sixdemonbag.org
Wed Sep 9 23:41:55 CEST 2026


Please only send plain text to the list.

> I am using GnuPG 2.4.7 under Linux.

Please upgrade. :( 2.4.7 is about two years old now.

> 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?

The duration is user-configurable and is found in ~/.ssh/gpg-agent.conf.

Note: if you're using GNOME or some other graphical desktop, it may have
its own credential manager that's doing this. GnuPG has no control over
that.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20260909/3b023b09/attachment-0003.sig>


More information about the Gnupg-users mailing list