Skip to main content

Deterministic password generator

Project description

Master

Deploy pages

Generates deterministic passwords

This is inspired by spectre.app but simpler. This uses a sha256 hashed combination of username + password + service to generate the same password, thus eliminating the need to store, maintain and back up other generated passwords.

jpedro.github.io/master has the browser experience.

The used service name list is kept under the file ~/.config/master/list.txt (or whatever MASTER_LIST points to) purely for autocompletion, which will be added later.

Eventually, the idea is to create a simple browser extension that uses the URL domain name as the service.

Install

pip install masterpass

Yes, yes. The package is called masterpass but the binary is called master. To be fixed after #2582 is resolved.

Usage

$ master --help

NAME
    master -- Generates deterministic passwords for services

USAGE
    master NAME                 Gets the password for service NAME
    master -l, --list           Lists all stored services
    master -r, --remove NAME    Removes service NAME from the stored list
    master -v, --version        Shows the version
    master -h, --help           Shows this help

Environment variables

Name Default
MASTER_LIST ~/.config/master/list.txt
MASTER_USERNAME (None) [1]
MASTER_PASSWORD (None) [1]
MASTER_SEPARATOR -
MASTER_LENGTH 6
MASTER_CHUNKS 6

Using these default settings, it will generate a password that's 41 characters long. 6 chunks of 6 character long with 5 separators in between.

Note [1] If you don't set the MASTER_USERNAME or the MASTER_PASSWORD you will be prompted for them.

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

masterpass-0.2.4.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

masterpass-0.2.4-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file masterpass-0.2.4.tar.gz.

File metadata

  • Download URL: masterpass-0.2.4.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for masterpass-0.2.4.tar.gz
Algorithm Hash digest
SHA256 cf8a3f45e78ca02a1daad9110fbdcd80248cda694b0d9e687807cda92e828481
MD5 6e612c322ff224b4d0ac1471af886afb
BLAKE2b-256 f19ea695b04b45601900a9381d874794404704447f23cafa934a584088a96332

See more details on using hashes here.

File details

Details for the file masterpass-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: masterpass-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for masterpass-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2cafedff66efb5a122d27b3b5156b05b3774371d2d00916a31d6cf1256d6e4f4
MD5 6aedb64cee8510ceda25c1789e3f1add
BLAKE2b-256 e15146ad3d09b81b8a16d371b7c978b279342d283cd69ce747da555c2305c685

See more details on using hashes here.

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