dicegen

Top-level Files of tip
Login

Top-level Files of tip

Files in the top-level directory from the latest check-in


dicegen

Super simple library for generating very strong, memorable passphrases.

Clojars Project

Installing

Using inlein

  1. Install inlein
  2. Run the following: curl https://git.sr.ht/~coreagile/dicegen/blob/master/dicegen -o ~/bin/dicegen && chmod +x ~/bin/dicegen

Tests

ns
dicegen.itl.fixtures

[(usens:)]

If you run lein itl, the following table will be executed:

Passphrase? Entropy? Count Strong?
5 true
5 true
5 true
5 true
5 true

[(dt:passwords)]

Running the application

After installing using the above methods

Run dicegen --help for a description of various options you can pass.

The wordlist option is possibly confusing. The two wordlists we support are:

Directly from source control

  1. Install leiningen (you can use homebrew)
  2. lein run

Packaging and running as standalone jar

lein do clean, uberjar && java -jar target/dicegen.jar

Building

You'll need at least Java 8 and Leiningen

License

Copyright © 2023, Stephen Starkey.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.