GithubHelp home page GithubHelp logo

sosaymon / diceware-passphrase-generator Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 94 KB

This is a command-line tool for generating secure passphrases based on the diceware method. The diceware method uses a list of words and random dice rolls to create strong and memorable passwords.

License: MIT License

Python 97.22% Dockerfile 2.78%
passphrase passphrase-generator password password-generator

diceware-passphrase-generator's Introduction

Diceware Passphrase Generator

This is a command-line tool for generating secure passphrases based on the diceware method. The diceware method uses a list of words and random dice rolls to create strong and memorable passwords.

Prerequisites

To use this tool, you need to have Python 3 installed on your system.

Installation

Source

  1. To install the tool from source, clone the repository.
    git clone https://github.com/SoSaymon/diceware-passphrase-generator.git
  2. You can also download the repository as a ZIP file and extract it.

Releases

  1. Download the latest release from the releases page.
  2. Extract the ZIP file.

Pip

  1. Install the tool using pip.
    pip install diceware-passphrase-generator

Docker

  1. Pull the Docker image.
    docker pull sosaymon/diceware-passphrase-generator
  2. Run the Docker container.
    docker run -it sosaymon/diceware-passphrase-generator

Usage

Run the diceware.py script with the desired options to generate a passphrase.

python diceware.py [-h] [-w NUMBER OF WORDS] [--wordlist=wordlist.txt]

Options

  • -h, --help: Show the help message and exit.
  • -w NUMBER OF WORDS, --words=NUMBER OF WORDS: Specify the number of words in the passphrase.
  • --wordlist=wordlist.txt: Specify the wordlist file to use for generating the passphrase. If not provided, the default wordlist (wordlist.txt) will be used.

If you don't specify the options when running the script, an interactive prompt will ask you for the number of words and the wordlist.

Wordlist

The tool uses a wordlist file containing a set of words. If you want to use a custom wordlist, make sure it is a text file where each word is on a separate line. The default wordlist (wordlist.txt) is used if no custom wordlist is specified.

Example

Here's an example of how to use the tool:

python diceware.py -w 6

This command will generate a passphrase consisting of 6 random words from the default wordlist.

Disclaimer

Please note that the security of your generated passphrase depends on the quality and randomness of the wordlist used. Use a trusted wordlist and ensure that it has enough entropy to provide adequate security.

Contribution

Contributions to the Diceware Passphrase Generator are welcome! If you'd like to contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make the necessary changes and commit them.
  4. Push your changes to your fork.
  5. Submit a pull request.

Please ensure that your code follows the existing style and conventions used in the project. Also, remember to write tests for any new functionality you add.

Contact

If you have any questions or suggestions regarding the BMI Calculator, please feel free to reach out:

License

This project is licensed under the MIT License. See the LICENSE file for details.

diceware-passphrase-generator's People

Contributors

sosaymon avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.