Master Password
This is a Python implementation of the Master Password algorithm by Maarten Billemont. It also comes with a command line interface that lets you compute passwords for your sites based on your master password.
Installation
This package requires Python 3 (tested with 3.4) and uses scrypt, cryptography (you need a compiler for both), click, and pyperclip.
Installation with pip:
$ pip install mpw
Or better, use pipsi:
$ pipsi install --python `which python3` mpw
This app copies the password to the clipboard. This should work out-of-the-box on OS X and Windows. On Linux, mpw makes use of the xclip or xsel commands, which should come with the os. Otherwise run:
$ sudo apt-get install xclip
$ # or
$ sudo apt-get install xsel
Alternatively, the gtk or PyQT4 modules can be installed.
Binary executables (e.g., an installer for Windows) may follow.
Usage
$ # Add a user
$ mpw adduser Alice
Enter master password:
Confirm master password:
Added user "Alice".
# Add a site for Alice
$ mpw addsite test-site
Enter master password for "Alice":
Added site "test-site" for user "Alice".
$ # Actually get the password
$ mpw get test-site
Enter master password for "Alice":
Password for "test-site" for user "Alice" was copied to the clipboard.
$ # You can also pipe a password to other commands:
$ mpw get -e server-root | sudo -S vim /etc/crontab
For more information take a look at the help:
$ mpw --help
Changelog
0.3 – 2015-02-01
[CHANGE] mpw get no longer creates a user or site if they don’t exist.
[CHANGE] New config file format.
[NEW] Support for multiple versions of the Master Password algorithm
[NEW] Implemented version 2 of the algorithm
[NEW] A hashed version of the master key is stored on disk to notify you if you make typos.
[NEW] The users’ sites are now being encrypted on disk
[NEW] Users can now change their master password
[NEW] Passwords can now be echoed to stdout and thus be piped to other commands.
[NEW] Lots of test to ensure compatibility with the reference implementation
[NEW] 100% line and branch coverage
0.2 – 2014-09-16
[NEW] Added a lot of subcommands that allow you to store user and site configuration in a config file
[CHANGE] mpw SITE is now mpw get SITE
0.1 – 2014-08-21
Initial release.
Metadata
Release files for mpw 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mpw-0.3.0.tar.gz | 12.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mpw-0.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 29.5 kB
Release files / mpw-0.3.0.tar.gz
| Download URL | mpw-0.3.0.tar.gz |
|---|---|
| Size | 12.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a71335623d2f4dd835454fc1e188179e101fde237bd5fd3797d6b903363c3f8d
|
|
BLAKE2b-256 checksum How to use checksums |
194a28863650a607b1f32a61137df95804b9d5217d50a99b907fe14eef078760
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / mpw-0.3-py2.py3-none-any.whl
| Download URL | mpw-0.3-py2.py3-none-any.whl |
|---|---|
| Size | 17.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
21587153064513d3bfa2cddb4afca09f08490506e48f5bb8987d32d476df1422
|
|
BLAKE2b-256 checksum How to use checksums |
3fe343483c1368cd617c6d8cd01c8d3d795e4fe38bf0d30b6608f26f3005aa97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mpw 0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.