Skip to content
Snippets Groups Projects
  1. Apr 29, 2016
    • dwcoder's avatar
      Change capitalize to caps · 81d83afe
      dwcoder authored
      This commit fixes issue #21.
      Change all occurences of the option `capitalize` to `caps` in
      __init.py__.
      
      Make the same change in the test_diceware.py.
      Add a unit test that checks the output of main() after setting the
      `caps = off` in the .diceware.ini.
      81d83afe
  2. Apr 17, 2016
  3. Apr 15, 2016
  4. Apr 13, 2016
  5. Mar 22, 2016
  6. Mar 20, 2016
  7. Nov 16, 2015
    • ulif's avatar
      Rename default wordlist from "en_8k" to "en". · b51cadeb
      ulif authored
      Normally, it would be more concise to use the more declarative name.
      "en_8k" tells, how many terms we find in this wordlist. But as the
      wordlist names are used in the CLI and users will normally simply
      look for a wordlist in their language, it can help to keep the name
      of the "default" list for each language short.
      
      We pick the 8K lists for "default" (and not the "original" 6^5
      lists), because we assume that normally people will use diceware
      without dice. Also most other sources of randomness will most
      probably work on a 2^x basis rather than in 6^x (and therefore
      have better use for 8k lists over other ones).
      b51cadeb
  8. Nov 14, 2015
  9. Aug 03, 2015
    • ulif's avatar
      Use -w option value. · 547fb2a1
      ulif authored
      Activates the -w option. Turns out we still have to fix
      `get_wordlist_path` at it assumes that wordlists all end in
      ``.txt`` (which is not true).
      547fb2a1
  10. Aug 01, 2015
  11. Jul 30, 2015
  12. Jul 22, 2015
  13. Jul 17, 2015
  14. Jul 02, 2015
    • ulif's avatar
      Also accept upper case in wordlist names. · 9d5cbccd
      ulif authored
      There is no need for us to enforce lowercase wordlist names. It
      could even confuse people.
      9d5cbccd
    • ulif's avatar
      Rename 'en' wordlist to 'en_8k'. · 13fdc047
      ulif authored
      We will certainly provide other english lists as well. Therefore
      we need something for distinction.
      13fdc047
    • ulif's avatar
      Update get_wordlist_path(name). · 1e20a8c4
      ulif authored
      Also this method now handles names instead of language codes.
      1e20a8c4
    • ulif's avatar
      Rename RE_LANG_CODE to RE_WORDLIST_NAME. · 3eb7f54c
      ulif authored
      We will drop the assumption that wordlists are generally organized
      by language. There are, for instance, many different language
      lists available in english for many different purposes.
      
      Therefore we will support different names for different wordlists,
      but the names do not neccessary depend on a language (only).
      3eb7f54c
  15. Jun 21, 2015
  16. May 29, 2015
  17. May 28, 2015
    • ulif's avatar
      Pass options to `get_passphrase()`. · 04eb9226
      ulif authored
      We now use an `argparser` options instance for get_passphrase
      instead of a bunch of single args. This makes the main function
      `get_passphrase` less readable (you do not see immediately what
      options are really expected), but avoids misleading defaults. We
      now use the defaults set in argparser options, i.e. from
      `handle_options()` as single source of defaults.
      04eb9226
  18. Apr 09, 2015
  19. Apr 07, 2015
  20. Apr 03, 2015
  21. Mar 30, 2015
  22. Mar 29, 2015
    • ulif's avatar
      Turn diceware module into a package. · 4d29e116
      ulif authored
      Move wordlists into the new package. This should fix
      the data_files problem on most platforms and in most
      environments.
      
      Seems to be really tricky to install data files in a
      foreseeable location.
      
      The more finegrained solution of conorsch might be
      slightly less stable in the long run, therefore we
      selected the 'package', actually.
      4d29e116
  23. Mar 28, 2015
  24. Mar 27, 2015
  25. Mar 25, 2015
Loading