Skip to main content

Don’t store password - generate them on the fly

nopassword is a determenistic two factor password generator for the command line

Installation

pip install nopassword

Usage

The generated passwords are stored in your clipboard, enter a seed/key to generate a password

nopassword seed

Example

Generate password using “facebook” as seed

nopassword facebook
6n1eby^@]{dm6T-{]r{5NC^Z^`%vZ9w4.nemgcrN-v&,|,gS3fn]KzXRH,br"$=zf*"v_q@j@

Generate password using “github” as seed

nopassword github
k/Mzz-$6AQ\K`1n/mD7]1o0|E'b};RO*ZLzCC]Iuo!oJ#}oB2+a~rx{:o;}&R|O*5k*+u~,%@

As this is determenistic, “github” again will generate the same result

nopassword github
k/Mzz-$6AQ\K`1n/mD7]1o0|E'b};RO*ZLzCC]Iuo!oJ#}oB2+a~rx{:o;}&R|O*5k*+u~,%@

Commandline help

nopassword --help
Usage: /usr/local/bin/nopassword [OPTIONS] SEED

Required arguments:
 SEED                      Seed to generate password

Optional arguments:
 -a  --alphabet=ascii      Character set used: [alphanumeric, ascii, digits]
 -l  --length=73           Length of generated passwords
 -k  --keyfile=default     Keyfile to use
 -i  --itterations=113     Number of itterations

Switches:
 -h  --help                Display options and commands
 -g  --generate            Generate new keyfile

Change alphabet to alphanumeric

nopassword github -a=alphanumeric
jgddAr2RqhMyNYfYOKLkLUZd8cvnVZcb9tu7yJxa8O2ircJLV9EyhHVm9Lo99eHNTVLMzIj0g

Set password length to 10

nopassword github -l=10 -a=alphanumeric
3HB8VNJ3dd

Set itterations 10

nopassword github -l=10 -a=alphanumeric -i=10
MgHDdXCuUP

Set itterations 11, result different

nopassword github -l=10 -a=alphanumeric -i=11
BBU9FgEamB

Generate new keyfile

nopassword -k=my_organisation -g
Keyfile my_organisation created

Use keyfile

nopassword github -l=10 -a=alphanumeric -i=11 -k=my_organisation
pZv645w04Z

Keyfiles

Keyfiles are stored in json format in the ~/.nopassword/ directory. Keyfiles kan be shared between devices and individuals, copy the .json file.

ls -lh ~/.nopassword/
total 216K
-r-------- 1 oskar oskar 99K apr 11 12:31 default.json
-r-------- 1 oskar oskar 99K apr 11 19:21 my_organisation.json

Two factor password generator?

I’d like to think so. Something you got: key file and something you know: seed, iterations and alphabet.

So for a attacker to be able to generate your password they need the keyfile and the parameters.

Metadata

Release files for nopassword 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nopassword 0.1.4
File Size Uploaded Provenance Actions
nopassword-0.1.4.tar.gz 9.1 kB Without provenance Details for nopassword-0.1.4.tar.gz

Release files / nopassword-0.1.4.tar.gz

Download URL nopassword-0.1.4.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e12283aff5886cca8f27965c49dc7260b5a898a0c973a13a3b464d3dfcf141bb
BLAKE2b-256 checksum
How to use checksums
eeffad15f21197f7f78497cfcad7fe53421e52b86e621f8261f51efb55bfc5a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for nopassword 0.1.4

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.

Release history Release notifications | RSS feed

This release

0.1.4 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page