passpy has been written to be a platform independent library and cli that is compatible with ZX2C4’s pass.
passpy saves your passwords in gpg encrypted files and optionally uses git as a revision tool. All files are stored inside the directory given by the PASSWORD_STORE_DIR environment variable (~/.password-store if not set) and can be organised into folders. You can also just copy the whole store to have your passwords available where ever you like.
$ [sudo] pip install passpy
python-passpy is available in the AUR for you to install
however you like.
Either clone the git repository using
$ git clone https://github.com/bfrascher/passpy.git
or download the source from the releases tab and extract it.
Afterwards change into the new folder and do
$ [sudo] python setup.py install
The following Python packages will be installed alongside passpy:
If you are on Windows and want colourised output on the command line, you will additionally need to install colorama.
- Now also read the default password store location from PASSWORD_STORE_DIR for the cli.
- Show a better error message when the password store does not exist.
- Always use the path parameter of Store.init_store relative to Store.store_dir.
- Fix documentation.
- Read the default password store location from the PASSWORD_STORE_DIR environment variable, just like pass does (contributed by Jonathan Waldrep).