Commit graph

252 commits

Author SHA1 Message Date
Douglas Muth
da7911b62d Spelling fix 2018-04-10 21:13:05 -04:00
Douglas Muth
6a7e733d0a
Merge pull request #13 from dmuth/add-code-of-conduct-1
Added Code of Conduct
2018-04-09 20:26:39 -04:00
Douglas Muth
43d8b55b51
Added Code of Conduct 2018-04-09 20:26:26 -04:00
Aaron Toponce
92a1da77f9
Increase default number of dice rolls from 4 to 6
Diceware provides about 12.92 bits of entropy per word. Best practice for
passwords is to reach at least 70 bits of entropy to stay outside of successful
clustered offline password cracking.

    4 Diceware words: ~51.6 bits
    5 Diceware words: ~64.6 bits
    6 Diceware words: ~77.5 bits
2018-04-09 11:52:19 -06:00
Douglas Muth
d612d532be
Added Travis Badge 2017-11-12 18:16:07 -05:00
Douglas Muth
5025028b80 Added caching of node_modules/ directory. 2017-11-12 18:07:55 -05:00
Douglas Muth
5a54573b99 Added latest LTS release. 2017-11-12 18:06:34 -05:00
Douglas Muth
fd84c1bee0 According to https://github.com/nodejs/Release#release-schedule, 7 isn't an official release, but 6 is! 2017-11-12 18:04:14 -05:00
Douglas Muth
2a809a198f Let's try later versions of Node.js, and not iojs anymore. 2017-11-12 18:02:14 -05:00
Douglas Muth
c57117d439 Oops--missed that dot at the beginning of the filename. 2017-11-12 18:00:15 -05:00
Douglas Muth
87209ea76c Okay, let's try a node_js group. 2017-11-12 17:58:27 -05:00
Douglas Muth
0b05e81e9a Added travis.yml (this should default to "npm test"...) 2017-11-12 17:48:47 -05:00
Douglas Muth
39e8169201 New bundle 2017-11-09 22:08:16 -05:00
Douglas Muth
cce6ab941a Added testing 2017-11-09 22:07:24 -05:00
Douglas Muth
8358105d7f Added Mocha and should. 2017-11-09 22:06:03 -05:00
Douglas Muth
eda37b2da0 Tweaked how some errors were returned so that the functions could be unit tested. 2017-11-09 22:05:35 -05:00
Douglas Muth
a97b733444 Removed TODO list 2017-11-09 21:45:23 -05:00
Douglas Muth
5ed5080f04 Removed unused Qunit stuff. 2017-11-09 21:44:57 -05:00
Douglas Muth
be1ca19d94 Finished Mocha tests! 2017-11-09 21:44:31 -05:00
Douglas Muth
51659baf6d Tests for convertBase6ToDice(). 2017-11-09 21:32:31 -05:00
Douglas Muth
544f504bd3 Now testing getBase6() 2017-11-09 21:26:24 -05:00
Douglas Muth
3f1661281c First tests in Mocha--now testing getRandomValue(). 2017-11-09 20:56:48 -05:00
Douglas Muth
8d79feba2a Refactored some functions into lib.js. 2017-11-09 20:11:24 -05:00
Douglas Muth
bf0ec41ab9 Removed main.js 2017-11-09 19:45:37 -05:00
Douglas Muth
e5620cf3e6 Moved main.js into src/index.js 2017-11-09 19:43:36 -05:00
Douglas Muth
59db7e05d6 Oh hey, I just discovered --optimize-minimize. I'm okay with cutting the size of my bundled Javascript in half! 2017-11-09 19:19:15 -05:00
Douglas Muth
02ff5cfb9c Added development section. 2017-11-08 23:44:16 -05:00
Douglas Muth
c1e52faeb7 Added bundle.
I know this is not normally a best practice, but I do want to encourage end users to download this app
and just run it out of the box.  Going forward, I will have to be reasonable and not make commits of this file frequently.
2017-11-08 23:29:28 -05:00
Douglas Muth
f19dca83dd Added in random-number-csprng, which required using Bluebird and Promisfying a *whole* bunch of code.
This is the fix to address Bug #7.
2017-11-08 23:27:42 -05:00
Douglas Muth
b7f1adb8a2 Added Bluebird and random-number-csprng 2017-11-08 23:27:15 -05:00
Douglas Muth
56087911de Webpack configuration file 2017-11-08 23:27:00 -05:00
Douglas Muth
e703f3260f Added webpack 2017-11-08 21:17:55 -05:00
Douglas Muth
ab7109283d Added lib.js 2017-11-08 21:14:25 -05:00
Douglas Muth
5bce9bf5ec -typo 2017-11-08 21:14:13 -05:00
Douglas Muth
f4dd2b1e79 Added demonstrateBias() function for testing purposes. 2017-11-08 21:13:41 -05:00
Douglas Muth
336c7cd375 Added mention of using the EFF's list. #6. 2017-07-09 13:49:29 -04:00
Douglas Muth
538846dc71 Added GitHub link 2017-07-09 13:44:02 -04:00
Douglas Muth
3b1d917e66 Clarified # of dice to roll by # of dicerolls. 2017-07-09 13:40:04 -04:00
Douglas Muth
64343087db Added quotes. 2017-07-09 13:39:33 -04:00
Douglas Muth
081deffdf4 Updated chill. 2017-07-09 13:39:10 -04:00
Douglas Muth
df4baee163 Added Javascript to use the EFF wordlist for when 5 dice are used. #6 2017-07-09 13:37:09 -04:00
Douglas Muth
898377962a Added EFF wordlist, and updated PHP script and shell script to generate it.
Also updated the generated Javascript to show the source. #6
2017-07-09 13:36:42 -04:00
Douglas Muth
05065bbea4 Added debugging note. 2017-07-09 13:35:44 -04:00
Douglas Muth
3116513283 Added instructions for running a local webserver 2017-02-18 16:38:40 -05:00
Douglas Muth
ea0761fb1f Updated README for #4. 2017-02-18 16:34:08 -05:00
Douglas Muth
4d85db3b5b Removed inappropriate comment 2017-02-18 16:21:20 -05:00
Douglas Muth
1e33d1a81e Now allowing for 6 or 7 dice per roll as well. 2017-02-18 16:17:25 -05:00
Douglas Muth
5217e56615 Updated tests for up to 8 dice. #4 2017-02-18 14:30:42 -05:00
Douglas Muth
d721364030 Now doing conditional loading of Javascript based on GET method. #4 2017-02-18 00:03:43 -05:00
Douglas Muth
6ca25671df Wrote Diceware.extractGetData() and overhauled debug code to use it. 2017-02-18 00:00:45 -05:00