Skip to content

JackBinary/passphrase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

passphrase

passphrase is a minimal, secure, and entirely offline passphrase generator for Linux systems.

It uses the EFF Large Wordlist to generate human-readable, high-entropy passphrases suitable for use as passwords, encryption keys, or anything else that needs strong but memorable security.


πŸ” Features

  • Installs to /usr/local/bin/passphrase

  • Uses the EFF diceware wordlist (large) (downloaded once to ~/.eff/wordlist.txt)

  • Secure random word selection using Python’s secrets module

  • Works fully offline after first install

  • Simple CLI interface:

    passphrase 6

🧱 Prerequisites

You need:

  • Python 3.6+ (installed on most Linux distros by default)
  • curl
  • sudo privileges (for installing to /usr/local/bin)

πŸ›  Installation

To install globally, run:

curl -fsSL https://raw.githubusercontent.com/JackBinary/passphrase/refs/heads/main/install_passphrase.sh | bash

This will:

  • Download the CLI tool from your GitHub repo
  • Install it to /usr/local/bin/passphrase
  • Download the EFF wordlist to ~/.eff/wordlist.txt if it doesn't already exist

πŸ§ͺ Usage

passphrase             # default: 6 words
passphrase 8           # generate 8 words

Example output:

acoustic-fossil-barrel-embrace-compute-saddle

You can use these as-is or adapt them for password managers, GPG keys, etc.


πŸ”’ Why Passphrases?

Passphrases like correct horse battery staple are easier to remember than complex strings like s$9Jv!dD2, and with enough words, they're equally or more secure. This tool generates entropy equivalent to 77+ bits when using 6 words from the EFF list.


πŸ“„ License

This project is licensed under the Apache License 2.0.

About

A wholly local passphrase generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published