See the source on GitHub.
This is an extension for pass to show you how long you’ve been using the same password.
Oh, by the way, did you know I keep a list of awesome pass extensions?
This extension provides two commands:
ages. The singular version is for inspecting a certain password; the plural command is for inspecting your whole password store at once.
pass age [PASSWORD-FILE]
$ pass age github.com 1587468926 12 days ago github.com # ^ ^ ^ # │ │ └── password file # │ └── time ago in a human readable format # └── timestamp (very useful for sorting)
Show the age of all your passwords.
For example, sort your passwords with the oldest at the bottom:
$ pass ages | sort -r