pwstore

a command-line password manager


Keywords
security, dulwich, git, gpg, password-manager, python, python-3
License
GPL-3.0
Install
pip install pwstore==0.1

Documentation

pw.py

A cli password manager in python. Inspired by password-store[1] by Jason A. Donenfeld.

Usage

$ ./pw.py -?
Usage: pw.py [OPTIONS] RECORD COMMAND [ARGS]...

Options:
  -?, -h, --help  Show this message and exit.

Commands:
  add     Create a new record
  alias   Create a symlink named ALIAS
  delete  Delete KEY from a record
  drop    Delete an entire record from the disk
  get     Retrieve a KEY value from a record
  list    List the keys in a record
  select  Decrypt a record and print it raw
  update  Update a record's KEY with VALUE

Dependencies

The following non-standard dependencies are required:

pip install python-gnupg

GPG

Like password-store, pw.py uses GPG encryption to store data securely. For now, you must set your recipient key in the environment:

export PWSTORE_KEY='0xA96895ACB7F4970C'

Why use pw?

In most cases, you should use password-store. Overall, it is much more mature and feature-rich.

The main difference is that pw.py stores data in a json format, enabling you to store additional metadata such as username, login page URL, etc:

pw github.com update username rpdelaney