Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 1.47 KB

README.md

File metadata and controls

61 lines (41 loc) · 1.47 KB

pass-utils

utilities for working with pass and multi-field password storage

With the Unix pass password manager you can store arbitrary text including multiple lines.

This project makes it easy to store YAML formatted text in your passwords and then extract certain fields.

The assumptions of this project are that you will store multi-field passwords in pass using YAML as the format.

You can do this by running pass edit <passName> then putting any YAML content in there.

e.g., one possible format could be:

If this is in your password named: google

url: https://www.google.com
username: foo
password: bar

You could then use:

Show the username

pass-show -n google -f username

Show the password

pass-show -n google -f password

Show the url

pass-show -n google -f url

Show the whole password file contents

pass-show -n google

Installation

  1. Install pass and initialize your password store
  • Play around with pass and read its docs to familiarize yourself if necessary
  1. Clone this repo
  2. Add the bin subdirectory to your PATH
  3. Install the prerequisites

Prerequisites

  1. Download jq and add it to your PATH
  1. Install yq and make sure it is on your PATH