Giter Club home page Giter Club logo

diceware's Introduction

Hi there, I'm Glenn - aka @grempe ๐Ÿ‘‹

Twitter Follow

I'm a Husband, Father, Developer, and the Founder & CEO of Truestamp (on GitHub @truestamp)!!

  • ๐ŸŒฑ Iโ€™m currently growing Truestamp ๐Ÿคฃ
  • ๐Ÿ‘ฏ Iโ€™m focused on the intersection of Privacy, Security, Cryptography, and Integrity
  • ๐Ÿฅ… Goals: Help my customers verify the integrity of their most important data
  • โšก Fun fact: My vehicle license plate has a cryptography reference. I think it confuses most who see it

Connect with me


GitHub Stats


Truestamp's GitHub stats

Top Langs

diceware's People

Contributors

alan247 avatar brettcannon avatar dependabot-preview[bot] avatar grempe avatar jeremyben avatar klamann avatar pnieweglowski avatar taipo avatar yesiamben avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

diceware's Issues

Megalists

https://kevinmarquette.github.io/2017-03-25-mnemonic-wordlist
https://github.com/singpolyma/mnemonicode and https://github.com/bwhmather/python-mnemonicode
http://bohwaz.net/archives/web/Bubble_Babble.html and http://www.wiki.yak.net/589
https://github.com/kpalin/bubblebabblepy and https://github.com/zougloub/python-bubblebabble
https://github.com/rsaarelm/vorud and https://github.com/dsw/proquint
https://github.com/cynodelic/bitspeak
https://github.com/femto113/node-pronounceable and https://github.com/flon-io/mnemo
https://github.com/jmettraux/rufus-mnemo and https://github.com/jmettraux/munemo
https://github.com/alexvandesande/Daefen
https://github.com/mgrp/phonobyte
https://gist.github.com/amintos/4507279
https://github.com/paulbellamy/base65536
https://github.com/ssut/basehangul
https://github.com/anexia-it/go-human
https://github.com/imuli/word-bases
https://github.com/mattdot/basehuman
https://maksverver.github.io/key-encoding/
https://github.com/mgrp/humanencoding
https://github.com/andyburke/simplecoder
https://github.com/gfredericks/hexes
https://github.com/lpil/wordhash
https://github.com/DrDub/namegen
https://github.com/nimakha/humanhash
https://github.com/fpgaminer/hash-phrase
https://github.com/jjt/hashwords
https://github.com/wolfeidau/humanhash
https://github.com/JakeElder/reversible-human-readable-id
https://github.com/jasonkester/hashid32
https://github.com/supertramped/vw-lda-wrapper
https://github.com/zacharyvoase/humanhash
https://github.com/rcorp/bhasha
https://github.com/jamesmunns/human-hash-rs
https://github.com/fxnn/readable-hash
https://github.com/fpgaminer/hash-phrase
https://github.com/davidmarkclements/hash-phrase

Mobile site has no way to submit entered numbers

I just discovered I made a major boo-boo when adding the tel support to the input field; there's no return/enter key on the numeric keypad under Android. All there is is a "next" button to go to the next field in the form (which happens to just be a link on the website). So without adding a submit button (maybe the # symbol next to the input field?), the tel type should be removed.

Invalid URL in README.md

The URL in line 22 in README.md points to a domain which has changed ownership. According to the Wayback Machine sritest.io was parked sometime from March 2018 to June 2020 and sold afterwards, causing a 301 redirection to an adult website.

Allow for bookkeeping a specific wordlist

When you choose a wordlist other than "English" there's no way to always go back to the website from a bookmark and have that wordlist selected. Probably changing it so that when a different wordlist was selected the URL was rewritten to have e.g. #english-alt and have some JS to parse the URL and select the wordlist appropriately would be required.

Site claims dice rolls are biased

Using mod to fit random values isn't safe - unless the values wrap perfectly you end up with bias towards the start of the range.

Here's 100 million dice rolls using BYTE % 6:

[16792052, 16806014, 16789917, 16801670, 16413165, 16397182] stddev=202702

Having examined the code, this isn't what's happening. So this bit is both alarming and misleading:

The Bytes output from the RNG are converted to die rolls with (BYTE % 6) + 1

Use subresource integrity

Subresource integrity (SRI) lets you specify a hash for any content in a <link> or <script> tag to validate that what the browser gets is what you were expecting, e.g.:

<script src="https://example.com/example-framework.js"
        integrity="sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8wC"
        crossorigin="anonymous"></script>

It's primarily useful for checking the integrity of files as served by a CDN (which I believe rempe.us/diceware is based on PR comments mentioning gh-pages). That way your trust focuses primarily on what index.html is served to your browser as at least any directly loaded JS will be validated as the same as you expected to be served based on the hashes.

It's supported by Chrome, Firefox, Opera, and Chrome Mobile so it isn't a waste of effort. And it supports hashes up to sha512 (which is what I would suggest using as sha384 truncates data which is only useful if you are trying to protect input values which isn't the case here).

The downside of SRI for a website that's entirely statically defined is that it means any time you update any JS code that is tagged with a hash you must also make sure to update the hash. That probably means adding a step in the development process for anyone who edits any JS as they will need to update the appropriate hash(es). Having said all of this, I am willing to pull together a Python script that you can point at an HTML file and have it print out when the hashes are outdated and what the new hash values should be (I would make a new GH project for this and license it under Apache 2 if you wanted to embed a copy in this repo). There are also SRI-generating tools for things like Gulp if that's how you would want to do your workflow.

better wordlists (remove non-words)

This tool is fun but honestly the entropy is kinda going down when you have to skirt around random junk all day like "zp" or a whole lot of number stuff on the lists or "aa", "aaa" and "aaaa" as well.

on the german wordlist for example I could throw out the first 244 entries and probably some more later and at the end because they make this thing borderline unusable and just plain bad.

if numbers or symbols are needed one could just throw them on extra instead of just making the lists worse than they should be.

sure you didnt create the lists but maybe you or someone reading here can help improving them

Feature request - "capitalize a letter" button

For my analog Diceware I typically incorporate some random capitalization. I do this via dice rolls as described on the original Diceware FAQ. I think this would be a useful feature for this generator. I envision an added button which, when clicked, would randomly capitalize a letter in the current passphrase. Clicking it again would capitalize a second letter, three times a third letter, etc.

Another option might be a button to all-caps a random word, if a single-letter option is too much effort.

Inclusion of other lists from Github repos

Binary Lists

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.