All Projects → dmuth → Diceware

dmuth / Diceware

Licence: gpl-2.0
Generate secure passwords you can actually remember!

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Diceware

LAPSforMac
Local Administrator Password Solution for Mac
Stars: ✭ 29 (-56.06%)
Mutual labels:  password-generator, password
diceware
Improved diceware passphrases
Stars: ✭ 16 (-75.76%)
Mutual labels:  password-generator, password
PasswordX
Offline password manager for iOS/macOS
Stars: ✭ 26 (-60.61%)
Mutual labels:  password-generator, password
webpassgen
Simple web-based password generator
Stars: ✭ 111 (+68.18%)
Mutual labels:  password-generator, password
Xbruteforcer
X Brute Forcer Tool 🔓 WordPress , Joomla , DruPal , OpenCart , Magento
Stars: ✭ 261 (+295.45%)
Mutual labels:  password, password-generator
gpgpwd
Moved to GitLab
Stars: ✭ 22 (-66.67%)
Mutual labels:  password-generator, password
lockd
Generate strong passwords and save them in Keychain. Made with SwiftUI
Stars: ✭ 38 (-42.42%)
Mutual labels:  password-generator, password
Passky-Server
API and Database for Passky (password manager)
Stars: ✭ 77 (+16.67%)
Mutual labels:  password-generator, password
MasterPassX
A deterministic stateless password generator.
Stars: ✭ 21 (-68.18%)
Mutual labels:  password-generator, password
PasswordGenerator
A simple C# helper class for ASP.NET Core to generate a random password with custom strength requirements: min length, uppercase, lowercase, digits & more
Stars: ✭ 27 (-59.09%)
Mutual labels:  password-generator, password
password-list
Password lists with top passwords to optimize bruteforce attacks
Stars: ✭ 174 (+163.64%)
Mutual labels:  password-generator, password
Passmaker
可以自定义规则的密码字典生成器,支持图形界面 A password-generator that base on the rules that you specified
Stars: ✭ 363 (+450%)
Mutual labels:  password, password-generator
mopass
A OpenSource Clientless & Serverless Password Manager
Stars: ✭ 40 (-39.39%)
Mutual labels:  password-generator, password
FlowerPassword
🌸花密,不一样的密码管理器
Stars: ✭ 37 (-43.94%)
Mutual labels:  password-generator, password
moac
Generate passwords and analyze their strength given physical limits to computation
Stars: ✭ 16 (-75.76%)
Mutual labels:  password-generator, password
OormiPass
Free open source cross platform password manager
Stars: ✭ 50 (-24.24%)
Mutual labels:  password-generator, password
pwm
自用的密码管理工具
Stars: ✭ 34 (-48.48%)
Mutual labels:  password-generator, password
chinese-diceware
Diceware word lists in Chinese
Stars: ✭ 27 (-59.09%)
Mutual labels:  password-generator, password
genpw
Password Generator
Stars: ✭ 32 (-51.52%)
Mutual labels:  password-generator, password
Go Password
A Golang library for generating high-entropy random passwords similar to 1Password or LastPass.
Stars: ✭ 317 (+380.3%)
Mutual labels:  password, password-generator

Diceware

Current build/test status in Travis CI: [![Build Status](https://travis-ci.org/dmuth/diceware.svg?branch=main)](https://travis-ci.org/dmuth/diceware)

First, feel free to check out the live demo, running at https://diceware.dmuth.org/

Weak passwords are a big flaw in computer security due to a lack of "entropy" or randomness. For example, how many times have you used the name of a pet or relative or street in a password, or perhaps the number "1". Not very random, is it? :-) Worse still, if passwords are reused between services, that increases your security risk.

Fact is, humans are terrible at remembering random combiations of letters and numbers, but we are great at remembering phrases of words. That's where Diceware comes in.

Diceware is based on the proposal at http://world.std.com/~reinhold/diceware.html wherein virtual dice are roled 5 times, and the 5 digit number used against a lookup table of words. 4 dice rolls gives you 4 random words which are easy for a human being to remember, yet have a high amount of entropy which makes them hard to crack.

For more information on Diceware:

Can I run this on my own computer without using your website?

Yes. Feel free to clone this repo with git clone https://github.com/dmuth/diceware.git and run it from a local directory on your computer.

You can also set up a webserver on Mac/Linux boxes by running python3 -m http.server 8000. You will then able to access DiceWare at http://localhost:8000/.

Will this work on an iPhone?

Yep! It should work on any mobile phone or tablet that supports Javascript, but I have only tested it on an iPhone 5S at this time.

Will this work in an air-gapped environment?

Yes, copies of assets such as Bootstrap and jQuery have been made, and Diceware can now be run without requiring an Internet connection.

Development

This app is built with Webpack.

When done editing main.js, the packed file can be built by simply running webpack on the command line. It will be writing to dist/bundle.js. To run webpack in a mode so that it regularly checks for changed files, run webpack --watch --mode development.

In a move that departs from Best Practices, I have made the decision to include the packed file in Git. My reason for this is that the software will be ready to run as soon as it is checked out (or a ZIP is downloaded), and that is a key design feature of this app--I want it to be as easy to get up and running as possible.

A local webserver can be set up by running npm install http-server -g to install it, then http-server to listen on http://localhost:8080/

In summary:

  • npp run clean - Cleanup after a previous run
  • npm install - Install NPM packages used by Diceware
  • npm run dev-build - Run webpack to pack Javascript files and watch for changes.
  • http-server
  • npm test - Make sure you didn't break any of the core logic!
  • npm run build - Webpack Javscript files in production mode (smaller file but takes longer)
  • ./go-sync-to-s3.sh - Do this if you're me, to upload to S3. If you're not me, you'll need to do something else, or possibly nothing at all.

In practice:

  • npm run clean; npm run dev-build - Run webpack in dev mode while working on Javascript
  • npm run clean; npm run build - Run webpack in prod mode to produce final Javascript bundle
  • ./go-sync-to-s3.sh - Do this if you're me, to upload to S3. If you're not me, you'll need to do something else, or possibly nothing at all.

Who built this? / Contact

My name is Douglas Muth, and I am a software engineer in Philadelphia, PA.

There are several ways to get in touch with me:

Feel free to reach out to me if you have any comments, suggestions, or bug reports.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].