[pass] explanation - git commit stores contents of files

David Adam zanchey at ucc.gu.uwa.edu.au
Sun May 29 11:52:20 CEST 2016

On Sat, 28 May 2016, Johnny Appleseed wrote:
> the git keeps all contents of files and you can see them all with gitk --all.
> Or is gpg using my key to decrypt these git commit and data messages and if
> someone else was trying to view them then it would not be visible?
> heres a paste of my git commit for passwords tore email list password.
> Can someone explain this to me?  Is this just available for anyone to see who
> has access to view commits?  why bother storing the files in a .gpg protected
> file then?

pass configures GPG to diff .gpg files using GPG - if your passphrase is 
available, it will happen transparently.

>From .password-store/.git/config:

[diff "gpg"]
        binary = true
        textconv = gpg2 -d --quiet --yes --compress-algo=none --batch --use-agent

This is set up by `cmd_git()` in the pass script.

David Adam
zanchey at ucc.gu.uwa.edu.au

More information about the Password-Store mailing list