This is a linux commandline interface to the master password algorithm using an independent implementation of the algorithm.
Algorithm used developed by Maarten Billemont https://masterpassword.app so password generated with this cli is compatiple withe the wide variety of apps developed by the original author of the algorithm.
Passwords are regarded as a "necessary evil" to having accounts online. We accept them as "the way things are done online" and try to adapt. But upon reflection, we find that we've adapted quite poorly.
Sites everywhere expect us to come up with a secure and unique password for them. But we're not security professionals. We do our best to compensate for this unrealistic demand: to keep track of passwords, we reach for notebooks, our computers, apps, or we simplify them so we won't forget. We've become symptomatic.
Humans are no good at remembering lots of passwords. But writing them down or saving them is dangerous, too.
Master Password avoids all the pitfalls: a cryptographic algorithm calculates your site's password for you, only when you need it. When you're done, it erases the password from the device, so it can't be stolen.
Master Password's unique approach makes you safer from loss, theft, problems with backups, sync, confiscation, snooping, and more.
The easiest way to get mpw is to install the snap.
sudo snap install mpw
Install lxd and snapcraft if you do not have them already.
sudo snap install lxd && sudo /snap/bin/lxd init
sudo usermod -a -G lxd $USER && newgrp lxd
sudo snap install --classic snapcraft
Get the source code.
git clone https://github.com/emijoha/mpw
Build the snap.
cd mpw
snapcraft cleanbuild
Install OpenSSL developmend packages.
OpenSuse
sudo zypper in libopenssl-devel
Ubuntu
sudo apt install libssl-dev
Install with setuptools
python3 setup.py install
To uninstall.
pip uninstall mpw
Install the snap and set FULL_NAME in the configuration JSON file.
The path of the file is shown when running.
mpw -h
You will need root priviliges to edit the config file.
Clone the mpw repo or just download the mpw.el
file.
Add this to you emacs configuration.
(load-file "/path/to/mpw/mpw.el")
Run the command M-x mpw
. Write site name and password when promted. The
generated password will be in your clipboard.