Skip to main content

a command-line password manager

Project description

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

Usage

Usage: pwstore [OPTIONS] RECORD COMMAND [ARGS]...

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

Commands:
add      Create a new record
alias    Create a symlink named ALIAS
copy     Copy a KEY value to the system clipboard
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
qrcode   Display a KEY value as a qrcode
qrcodei  Display a KEY value as a qrcode in a png
select   Decrypt a record and print it raw
type     Type a KEY value at the cursor position
update   Update a record's KEY with VALUE

Dependencies

The following non-standard dependencies are required for basic functionality:

pip3 install python-gnupg dulwich appdirs click

There are optional dependencies for some extra features:

To display passwords as QRcodes in the terminal,

pip3 install pyqrcode

To display passwords as QRcodes as images,

pip3 install pyqrcode Pillow pypng

To copy the password to the clipboard,

pip3 install pyperclip

And to type the password at the current cursor position.

pip3 install pyautogui

GPG

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

export PWSTORE_KEY='0xA96895ACB7F4970C'

Examples

Create a new record

pwstore github.com add

Create an alias

pwstore github.com alias github

Add a password

pwstore github update password "$(apg -n1)"

Add some metadata

pwstore github update login_url "http://github.com"
pwstore github update username rpdelaney

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 pwstore stores data in a json format, enabling you to store additional metadata such as username, login page URL, etc:

pwstore github.com update username rpdelaney

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pwstore-0.1.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

pwstore-0.1-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file pwstore-0.1.tar.gz.

File metadata

  • Download URL: pwstore-0.1.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for pwstore-0.1.tar.gz
Algorithm Hash digest
SHA256 6e8792845764bd2956c4ce73f63e54b1e274551fff350eea1e3821feb0b8ba36
MD5 06710e7174915eb3f7d31f35fcb65610
BLAKE2b-256 46f44a7ca3bda6a84c0f193731729adf17ab2004020b263ff661c44f38627116

See more details on using hashes here.

File details

Details for the file pwstore-0.1-py3-none-any.whl.

File metadata

  • Download URL: pwstore-0.1-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for pwstore-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 87eb46c7dff6f89a81c0da6cfd046161e86d340cbb4da3a3f7608829c29506a2
MD5 7956ae5db1ce5e2e3fbcd8c9f96cf75b
BLAKE2b-256 38274f79b082111155d919f0b768d2d3ab987a2d9253168be26d23655e10ecbf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page