Grep GPG-encrypted YAML password safes.
To install pw, simply run:
pip install pw
Make sure that
~/.passwords.yaml.asc contains a valid YAML password safe (see example below for file format).
Usage: pw [options] [[userquery@]pathquery] Options: --version show program's version number and exit -h, --help show this help message and exit -E, --echo display passwords on console (as opposed to copying them to the clipboard)
Mail: Google: - U: email@example.com P: "*****" - U: firstname.lastname@example.org P: "*****" N: John's account SSH: My Private Server: U: root P: "*****" L: ssh://private-server N: "With great power comes great responsibility." Mobile PIN: 12345 # shortcut notation (only provide password)