Skip to content

utilities for working with pass and multi-field password storage

License

Notifications You must be signed in to change notification settings

justinfiore/pass-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

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

About

utilities for working with pass and multi-field password storage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages