- Apr 20, 2016
-
-
ulif authored
-
ulif authored
-
ulif authored
Use multiples of 4 as indent, shorten overlong lines and fix other minor things to keep pep8-conformity.
-
https://github.com/dwcoder/dicewareulif authored
-
- Apr 19, 2016
-
-
dwcoder authored
Move the calculations out of the `pre_check()` function. Also do smarter checks: - If len(sequence) == 1, we don't need any rolls. In this case, just return sequence[0] - If len(sequence) is a factor of dice_sides, we only need one roll along with the modulo operator. - For everything else, just require one extra roll, bringing it to a total of 2 rolls. This should remove a little bit of the edge bias introduced by the modulo Run the `pre_check()` function after the calculations have been done. For the unit tests: - remove the function `test_choice_len_too_short()`; we no longer have to raise an exception when the sequence length is too short. - Write new tests for the cases where `dice_sides = 6` and `len(sequence)`: - 1 - 2,3 - 4,5
-
- Apr 17, 2016
-
-
dwcoder authored
It is passing and doing as expected.
-
dwcoder authored
Add an if to the pre_check that catches cases where there are less items to choose from than sides on the die. If this is the case, we can still pick items, but we have to use a modulo. Pick the `num_rolls` so that the result generated after rolling is larger than `100*len(sequence)`. The `pre_check()` function now has to return the modified `num_rolls` as well as a boolean to indicate whether modulo needs to be applied on the result.
-
ulif authored
-
ulif authored
-
ulif authored
-
ulif authored
-
ulif authored
`pip`, `wheel` and other fundamental helpers dropped or are going to drop py3.2. It makes no sense to stick with it.
-
- Apr 16, 2016
-
-
ulif authored
Next release will be a minor release, as a (completely) new default wordlist should not go as a pure bugfix.
-
ulif authored
-
ulif authored
-
ulif authored
Use `.asc` filename extension for signed wordlists.
-
ulif authored
The original diceware list (with 7776 words) is still shipped with our package.
-
- Apr 15, 2016
-
-
ulif authored
renamed wordlist to 'securedrop'
-
Heartsucker authored
also updated README Fixes #16
-
- Apr 14, 2016
-
-
ulif authored
Signed wordlist
-
heartsucker authored
-
ulif authored
-
- Apr 13, 2016
-
-
ulif authored
Thank you!
-
ulif authored
"Diceware 8192 list" is not a valid reference any more.
-
ulif authored
-
ulif authored
More memorizable wordlist
-
Heartsucker authored
-
- Mar 25, 2016
-
-
ulif authored
-
- Mar 24, 2016
-
-
ulif authored
-
- Mar 23, 2016
- Mar 22, 2016
- Mar 20, 2016
-
-
ulif authored
-
- Dec 20, 2015
-
-
ulif authored
-
- Dec 03, 2015
-
-
ulif authored
-
ulif authored
We have no code-internal bugfixes, but there were erraneous examples in documentation. We do not want to see that as official docs in public. The new release should provide updated docs.
-
ulif authored
-
ulif authored
This wordlist was renamed to `en`. It is the default wordlist.
-
ulif authored
-