- Apr 28, 2016
- Apr 27, 2016
- Apr 25, 2016
-
-
ulif authored
Add a common place where components can write messages to. Any userinterface can decide, what messages should be visible (depending on their severity).
-
- Apr 24, 2016
-
-
ulif authored
-
ulif authored
-
ulif authored
With one item in sequence we do not have to roll dice. This holds for all sorts of dice.
-
ulif authored
The moved comment was at the wrong place.
-
ulif authored
I guess it is obvious, how the first if-clause works.
-
ulif authored
We can simply do the (cheap) modulo operation after each die role.
-
- Apr 21, 2016
- Apr 20, 2016
- 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!
-