Skip to main content

Commandline password manager

Project description

pwman - Commandline password manager

Homepage

Git repository

Github repository

pwman is a commandline based password manager. It encrypts the password database file using strong AES-256 encryption.

pwman has support for the following things:

  • Store arbitrary attributes and text data along with the passwords and login credentials.

  • Generate two factor authentication tokens (TOTP).

  • Database search with Regular Expressions or SQL LIKE syntax.

  • Database compare (diff). In pwman prompt, at pwman command line and as git diff extension.

  • Shell-style Tab-completion for all commands.

  • Custom Python scripts for arbitrary database processing.

  • Export of the complete database as SQL text dump, CSV dump and human readable plain text dump.

Install pwman

pwman does not have to be installed. The pwman script can be run directly from the source tree. It is not recommended to install pwman into the operating system.

Installing pwman into a virtualenv

If you want to install pwman into a Python virtualenv, run the following commands to create a new venv and install pwman from PyPi:

virtualenv --system-site-packages ./pwman-venv
. ./pwman-venv/bin/activate
pip3 install -U pycryptodomex
pip3 install -U pwman-python

Run pwman

Just run the pwman executable to start pwman.

Type pwman -h for help about the command line options.

pwman prompt

If started without options, pwman enters the command prompt:

pwman$

Type the command help and press enter to see help about all possible commands.

Command help

To get help about a specific command, enter the command into the prompt and append a question mark without spaces in between:

pwman$ find?

Using a custom script to process the database content

A custom Python script can be passed to pwman as command line option. Such a script can do anything to the content of the database.

Please see the example script examplescript.py for more information.

API documentation

The API documentation can be found in the API documentation directory.

Crypto backend

Pwman uses either Cryptodome or pyaes for AES encryption. Therefore, either one of these Python modules has to be installed. Pwman first tries to use Cryptodome and then falls back to pyaes, if Cryptodome is not installed.

Project details


Download files

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

Source Distribution

pwman-python-2.9.tar.gz (74.0 kB view hashes)

Uploaded Source

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