pass age

An extension for pass to show how long you've been using the same password

File under: passpassword-storeextension.

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: age and 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]

For example:

$ pass age
1587468926 12 days ago
# ^        ^               ^
# │        │               └── password file
# │        └── time ago in a human readable format
# └── timestamp (very useful for sorting)

pass ages

Show the age of all your passwords.

For example, sort your passwords with the oldest at the bottom:

$ pass ages | sort -r