Re: [PATCH] Don’t reencrypt data not managed by pass.
johan at geluk.io
Tue Jan 31 22:45:38 CET 2017
On 25-1-2017 09:14, Sebastian Reuße wrote:
> Since using the git-annex object store means that *.gpg files (and
> directories named *.gpg) are kept under .git/… (non-writable), the
> reencryption logic used by pass currently fails. To remedy this, we now
> ignore everything kept under .git when looking for files to reencrypt or
> when grepping.
Alternatively, it might make sense for pass not to include any hidden
files in its search at all. That would also cover the .git directory
without having to manually exclude it.
It may also be worth considering whether to add an environment variable
to toggle this behaviour.
More information about the Password-Store