harbor

Command line password generator based on Diceware, written in Clojure.

View on GitHub

harbor

A diceware-like password generator for your command prompt.
Disclaimer: This is a hobbyist project, I do not guarantee the passwords generated are crypto-secure or anything like that.

Installation

Option 1, Download A Release

  1. Head over to the releases page.
  2. Download a zip file.
  3. Extract it, then move the binary file into a directory on your PATH. (I use ~/bin/harbor)
    If you downloaded the harbor_jar.zip, extract it and move the JAR into a directory on your PATH. Then add the following line to the .bashrc file in your HOME directory: harbor(){ java -jar PATH_TO_JAR_HERE "$@"; }
  4. Set sail, you’re done! :boat:

Option 2, Generate A Binary File

  1. Generate a binary file using the leiningen lein bin command (requires lein-bin).
  2. Move the binary file into a directory on your PATH.
  3. Cast off, you’re done! :boat:

Option 3, Generate A JAR

  1. Generate a JAR using the Leiningen lein uberjar command.
  2. Move the jar into a directory on your PATH
  3. Add the following line to the .bashrc file in your HOME directory: harbor(){ java -jar PATH_TO_JAR_HERE "$@"; }
  4. Weigh anchor, you’re done! :boat:

Usage

The harbor command takes a single argument, the number of words you want to generate. Using harbor 2 will generate a 2 word passphrase like moore roar.
If no argument is specified, harbor will default to a 5 word passphrase.

Options

Have an idea for an option? File an issue!

License

MIT License