Skip to main content

Commandline password manager

Project description

pwman - Commandline password manager

https://bues.ch/h/pwman

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.

However if you want to install pwman, it can be done either directly from the source tree by running the following commands:

./setup.py build
sudo -i  # Or any other command to become root
./setup.py install

Or it can be installed vi PyPi by running the following commands:

pip3 install -U pyaes
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.

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.3.tar.gz (63.3 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