[go: up one dir, main page]

Skip to content

Kdecherf/pass-report

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pass-report

A pass extension that reports age and length of passwords.

screenshot

Description

pass report shows the date and age of the last change of a set of passwords. It can also shows an indication of their length, inspired by an ANSSI article (french).

This tool uses git blame and git show to find the last commit editing the first line of a password, thus ignoring renames and reencrypts.

Note: this extension may take a long time to show data for all passwords as it needs to decrypt each of them.

This extension and the configuration were inspired by this thread.

Usage

Usage:
      pass report [-c|--color] [-l|--length] [<password file>]
            Report last change's date and age of all passwords or given
            password

         Options:
            -c, --color    Show old password (more than 2 years) in yellow
            -l, --length   Show password length indication
            -h, --help     Show this help

         Password length indication:
            very short     Less than 8 characters
            short          Less than 13 characters
            medium         Less than 17 characters
            long           17 characters or more

Installation

Requirements

  • pass 1.7.0 or greater
  • Your store must use git

Git and GPG

You must configure git in order to handle .gpg files with git blame and git show:

[diff "gpg"]
   textconv = gpg --no-tty --decrypt --quiet
[blame "gpg"]
   textconv = gpg --no-tty --decrypt --quiet

Installation from source

git clone https://github.com/Kdecherf/pass-report
cd pass-report
sudo make install

Exherbo

cave resolve pass-report -x1