pass / gnupg is caching?

Matthias Apitz guru at unixarea.de
Thu Jan 8 13:48:35 CET 2026


I'm using the 'pass' command of password-store for all my stored
credentials. While looking for some other problem I detected that it
seems that gnupg (used by pass to decrypt the credentials) is storing
the result of decryption somehow, at least it does not do again a read
access to the file of the stored secret. In both cases I was asked for
the PIN to unlock the OpenPGP card:

$ ls -lu .password-store/test.gpg
-rw------- 1 purism purism 585 Nov 26 14:45 .password-store/test.gpg

$ pass test
secret
$ ls -lu .password-store/test.gpg
-rw------- 1 purism purism 585 Jan  8 13:27 .password-store/test.gpg

$ pass test
secret
$ ls -lu .password-store/test.gpg
-rw------- 1 purism purism 585 Jan  8 13:27 .password-store/test.gpg

i.e. the 2nd time does not modify the read access time of the file. Why?

Thanks

	matthias

-- 
Matthias Apitz, ✉ guru at unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub



More information about the Gnupg-users mailing list