[pass] Password-Store Digest, Vol 27, Issue 24

Paul Schwendenman schwendenman.paul at gmail.com
Wed Sep 2 09:18:04 CEST 2015


On Mon, Aug 31, 2015 at 8:41 AM, pc re <pcre at gmx.de> wrote:

>
>
> Am 31.08.2015 um 12:00 schrieb password-store-request at lists.zx2c4.com:
> > Hi All:
> >
> > I was wondering how you identify passwords that haven't been changed in a
> > while.
> >
> > Maybe someone has a better solution but this is what I came up with:
> >
> > git ls-tree -r HEAD --name-only -z | xargs -0 -n1 -I{} sh -c 'echo {}; \
> >    git log -n1 --format="%at:%ar" -- {}' | paste - - -d: | sort -k 2 -t:
> | \
> >    cut -d: -f1,3- | column -t -s:
>
> What about copy and move commits?
>
> e.G.: pass mv irc/freenode.net/d[-_-]p irc/freenode.net/q[-o_o-]p
> This creates a rename commit.
>
> pass git log --format="%s %Cblue%ar"
>
> [..]
>
>

Yeah, those are not handled correctly. I don't rely on those features
heavily so I wasn't worried about them raising false positives
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20150902/7eeb7c2e/attachment.html>


More information about the Password-Store mailing list