- Feb 09, 2018
-
-
ulif authored
When calling `logger.removeHandler(h)` with one of our custom `NullHandler` instances, things crashed.
-
- Feb 07, 2018
-
-
Bhavin Gandhi authored
Using `IOError` for compatibility, from Python 3.3 `IOError` is alias of `OSError` https://stackoverflow.com/a/28633573/6202405 Checking the errno of 'No such file or directory' so that only that exception will be catched. https://docs.python.org/2/library/errno.html https://stackoverflow.com/a/39414133 Signed-off-by:
Bhavin Gandhi <bhavin7392@gmail.com>
-
- Jan 27, 2018
-
-
ulif authored
Normal errors should be displayed by default, even if they are not catastrophic.
-
- Jan 01, 2018
-
-
ulif authored
-
- Aug 31, 2017
- Aug 28, 2017
-
-
drebs authored
The path to wordlist files is hardcoded in the generated sphinx documentation and because it may differ depending on how the package is installed this creates different problems: - the path hardcoded in the online api documentation may differ from the one in each installation, leading to incorrect information provided to the user of the api. - packaging diceware documentation to specific operating systems may generate unreproducible packages. This commit replaces the variable WORDLISTS_DIR by a function called get_wordlists_dir() that delays the construction of the path instead of doing it during module loading.
-
- Jun 06, 2017
-
-
ulif authored
-
- Jun 04, 2017
- May 31, 2017
-
-
ulif authored
The `argparse.FileType` type is considered bad style. Cf. http://bugs.python.org/issue13824. With this FileType we cannot tell when to close a file after reading (which should be done for most regular wordlists) or not (in case of input from stdin).
-
- May 29, 2017
- May 28, 2017
-
-
ulif authored
Files already opened by third-parties should be closed by them.
-
- May 26, 2017
-
-
ulif authored
-
- May 23, 2017
-
-
ulif authored
Since Python3.2 SafeConfigParser is an alias for ConfigParser and emits warnings when imported. We want to avoid these warnings.
-
- Apr 24, 2017
- Mar 04, 2017
-
-
ulif authored
When using `realdice` randomness source and picking values out of short sequences (sequences shorter than the number of dice sides), we might require additional dice throws (if a value rolled is not in range of sequence length). We now print a hint when this happens.
-
- Mar 03, 2017
- Feb 27, 2017
- Feb 18, 2017
-
- Jan 06, 2017
-
-
ulif authored
-
- Dec 17, 2016
-
-
Jay Mao authored
RealDiceRandomSource and its tests updated to expect argparse.Namespace objects instead of dicts (fix for using the 'realdice' randomness source)
-
- Aug 03, 2016
-
-
ulif authored
Make the tests succeed. In wordlists we now also accept '1-2-3-4 someterm' for numbered entries. We still support '1234 somterm'.
-
- Aug 02, 2016
-
-
ulif authored
The Electronic Frontier Foundation published own wordlists, which were, as it looks, carefully assembled. See https://www.eff.org/deeplinks/2016/07/new-wordlists-random-passphrases for details. We ship now with the long list.
-
- Jun 08, 2016
-
-
ulif authored
-
- May 18, 2016
-
-
ulif authored
As we can only increase verbosity with commandline flags, we should set the least verbose log level by default.
-
- May 17, 2016
- May 12, 2016
-
-
ulif authored
-