redacted-XKCD-password-generator.git
9 years agoParse the explicit sequence of command-line arguments.
Ben Finney [Wed, 2 Mar 2016 04:42:04 +0000 (15:42 +1100)]
Parse the explicit sequence of command-line arguments.

9 years agoExplicitly derive the command name from command-line arguments.
Ben Finney [Wed, 2 Mar 2016 04:40:40 +0000 (15:40 +1100)]
Explicitly derive the command name from command-line arguments.

9 years agoRefactor command-line parser to a custom class for this program.
Ben Finney [Wed, 2 Mar 2016 04:38:42 +0000 (15:38 +1100)]
Refactor command-line parser to a custom class for this program.

10 years agoincrement build
Steven Tobin [Mon, 22 Feb 2016 15:47:48 +0000 (15:47 +0000)]
increment build

10 years agoAdd the code examples to the Distutils manifest.
Ben Finney [Sat, 13 Feb 2016 10:21:05 +0000 (21:21 +1100)]
Add the code examples to the Distutils manifest.

This ensures the code examples, which are not part of any Python
package, will be part of the source distribution (“sdist”).

10 years agoMove the code examples to a non-package directory.
Ben Finney [Sat, 13 Feb 2016 10:19:58 +0000 (21:19 +1100)]
Move the code examples to a non-package directory.

Code examples are intended for direct inspection by the end user, not
for import as modules from the distribution. Move the code examples to a
separate top-level ‘examples/’ directory.

10 years agoadd tests to release package
Steven Tobin [Tue, 26 Jan 2016 22:01:52 +0000 (22:01 +0000)]
add tests to release package

10 years agoclarify entropy in verbose flag
Steven Tobin [Tue, 26 Jan 2016 22:00:42 +0000 (22:00 +0000)]
clarify entropy in verbose flag

10 years agoadds a filtered wordlist and warning in the README
Steven Tobin [Wed, 25 Nov 2015 00:27:34 +0000 (00:27 +0000)]
adds a filtered wordlist and warning in the README

10 years agoupdate version and contributors
Steven Tobin [Mon, 26 Oct 2015 16:15:38 +0000 (16:15 +0000)]
update version and contributors

10 years agoMerge pull request #29 from noschinl/master
Steven Tobin [Mon, 26 Oct 2015 16:13:13 +0000 (16:13 +0000)]
Merge pull request #29 from noschinl/master

Allow duplicate words in passphrases

10 years agoAllow duplicate words in passphrases
Lars Noschinski [Mon, 26 Oct 2015 13:13:04 +0000 (14:13 +0100)]
Allow duplicate words in passphrases

10 years agoupdate version number
Steven Tobin [Thu, 1 Oct 2015 09:05:30 +0000 (10:05 +0100)]
update version number

10 years agoUpdate contributor list
Steven Tobin [Thu, 1 Oct 2015 09:01:45 +0000 (10:01 +0100)]
Update contributor list

10 years agoupdate tests as needed (wordlist size, new parameter names)
Steven Tobin [Thu, 1 Oct 2015 09:00:02 +0000 (10:00 +0100)]
update tests as needed (wordlist size, new parameter names)

10 years agoMerge pull request #28 from shacker/master
Steven Tobin [Thu, 1 Oct 2015 08:57:23 +0000 (09:57 +0100)]
Merge pull request #28 from shacker/master

Module args match CLI, add JSON example, documentation tweaks

10 years agoMention accepted module args in readme
Scot Hacker [Thu, 1 Oct 2015 04:51:44 +0000 (21:51 -0700)]
Mention accepted module args in readme

10 years agoAdd Django integration example
Scot Hacker [Thu, 1 Oct 2015 04:50:32 +0000 (21:50 -0700)]
Add Django integration example

10 years agoRename module args to match CLI versions
Scot Hacker [Thu, 1 Oct 2015 04:33:31 +0000 (21:33 -0700)]
Rename module args to match CLI versions
Resolves https://github.com/redacted/XKCD-password-generator/issues/27

10 years agoMerge pull request #25 from gitter-badger/gitter-badge
Steven Tobin [Sun, 24 May 2015 16:45:50 +0000 (17:45 +0100)]
Merge pull request #25 from gitter-badger/gitter-badge

Add a Gitter chat badge to README.rst

10 years agoAdded Gitter badge
The Gitter Badger [Sun, 24 May 2015 16:45:20 +0000 (16:45 +0000)]
Added Gitter badge

11 years agoextended default wordlist
Steven Tobin [Sun, 25 Jan 2015 18:59:43 +0000 (18:59 +0000)]
extended default wordlist

11 years agoimproved acknowledgement of 12dicts
Steven Tobin [Sun, 25 Jan 2015 18:46:21 +0000 (18:46 +0000)]
improved acknowledgement of 12dicts

11 years agoadded initial files for a man page
Steven Tobin [Sun, 25 Jan 2015 18:34:39 +0000 (18:34 +0000)]
added initial files for a man page

11 years agoforgot to increment version for bugfix
Steven Tobin [Sat, 17 Jan 2015 23:13:43 +0000 (23:13 +0000)]
forgot to increment version for bugfix

11 years agoupdate contributor list
Steven Tobin [Sat, 17 Jan 2015 23:11:47 +0000 (23:11 +0000)]
update contributor list

11 years agoMerge pull request #21 from svisser/patch-1
Steven Tobin [Sat, 17 Jan 2015 23:08:17 +0000 (23:08 +0000)]
Merge pull request #21 from svisser/patch-1

Updated Python 3 version check to use sys.version_info

11 years agoUpdated Python 3 version check to use sys.version_info
Simeon Visser [Sat, 17 Jan 2015 22:12:44 +0000 (22:12 +0000)]
Updated Python 3 version check to use sys.version_info

11 years agofixed pep8 issues
Steven Tobin [Sat, 17 Jan 2015 19:19:28 +0000 (19:19 +0000)]
fixed pep8 issues

11 years agoadded license to manifest
Steven Tobin [Sat, 17 Jan 2015 19:14:03 +0000 (19:14 +0000)]
added license to manifest

11 years agoupdated contributor and copyright
Steven Tobin [Sat, 17 Jan 2015 19:09:29 +0000 (19:09 +0000)]
updated contributor and copyright

11 years agoRewrite help for command-line options.
Ben Finney [Fri, 16 Jan 2015 22:33:07 +0000 (09:33 +1100)]
Rewrite help for command-line options.

The re-write describes each option consistently in terms of “make the
program do FOO”, and uses the ‘metavar’ feature to reference option
arguments.

Signed-off-by: Steven Tobin <steventtobin (at) gmail.com>
11 years agoIncluded explicit BSD license
Steven Tobin [Tue, 11 Nov 2014 08:09:35 +0000 (19:09 +1100)]
Included explicit BSD license

11 years agopython3 compatibility in example_import
Steven Tobin [Tue, 9 Sep 2014 02:24:09 +0000 (12:24 +1000)]
python3 compatibility in example_import

11 years agoremoved commented-out code from example
Steven Tobin [Tue, 9 Sep 2014 02:22:44 +0000 (12:22 +1000)]
removed commented-out code from example

11 years agoImproved example_import and added information to docs
Steven Tobin [Tue, 9 Sep 2014 02:19:25 +0000 (12:19 +1000)]
Improved example_import and added information to docs

11 years agobump version number
Steven Tobin [Mon, 8 Sep 2014 08:05:01 +0000 (18:05 +1000)]
bump version number

11 years agoextracted wordfile detection code to function
Steven Tobin [Mon, 8 Sep 2014 01:37:57 +0000 (11:37 +1000)]
extracted wordfile detection code to function

11 years agofixed docstring typo (thanks to kimslawson for the spot)
Steven Tobin [Mon, 14 Jul 2014 01:53:01 +0000 (11:53 +1000)]
fixed docstring typo (thanks to kimslawson for the spot)

11 years agoversion bump for large improvement to acrostic function
Steven Tobin [Sat, 12 Jul 2014 09:08:34 +0000 (19:08 +1000)]
version bump for large improvement to acrostic function

11 years agoImproved acrostic generation algorithm
Steven Tobin [Sat, 12 Jul 2014 05:20:38 +0000 (15:20 +1000)]
Improved acrostic generation algorithm

Preload wordlist into a dictionary keyed by letter, allows for
reliable generation and actual error handling

11 years agoversion number increment to match pypi
Steven Tobin [Sat, 12 Jul 2014 02:17:36 +0000 (12:17 +1000)]
version number increment to match pypi

11 years agoupdated contributors list
Steven Tobin [Sat, 12 Jul 2014 02:13:44 +0000 (12:13 +1000)]
updated contributors list

11 years agoMerge branch 'dmbaturin-unit-test-enhancements'
Steven Tobin [Sat, 12 Jul 2014 02:10:42 +0000 (12:10 +1000)]
Merge branch 'dmbaturin-unit-test-enhancements'

11 years agoPython3 compatibility fix in commandline_count.
Daniil Baturin [Thu, 10 Jul 2014 18:36:53 +0000 (01:36 +0700)]
Python3 compatibility fix in commandline_count.
.count() doesn't work with strings in it, likely because strings
are unicode by default. Explicit b"" byte string argument works.

11 years agoReplace hardcoded data with a regex match check in the delimiter test.
Daniil Baturin [Thu, 10 Jul 2014 18:29:24 +0000 (01:29 +0700)]
Replace hardcoded data with a regex match check in the delimiter test.

11 years agoRemove hardcoded data dependency from acrostic test so it doesn't randomly fail if...
Daniil Baturin [Thu, 10 Jul 2014 18:11:50 +0000 (01:11 +0700)]
Remove hardcoded data dependency from acrostic test so it doesn't randomly fail if data file is modified.

11 years agoMerge pull request #16 from thiderman/py3
Steven Tobin [Fri, 6 Jun 2014 09:40:28 +0000 (19:40 +1000)]
Merge pull request #16 from thiderman/py3

Python3 fix for example import

11 years agoPython3 fix for example import
Lowe Thiderman [Fri, 6 Jun 2014 09:14:35 +0000 (11:14 +0200)]
Python3 fix for example import

Because of a print statement in the example, the module will not install
cleanly on Python3.

Also bamp version.

11 years agoversion bump for pypi
Steven Tobin [Thu, 5 Jun 2014 12:33:37 +0000 (22:33 +1000)]
version bump for pypi

11 years agoupdated README
Steven Tobin [Thu, 5 Jun 2014 10:14:29 +0000 (20:14 +1000)]
updated README

11 years agoreordered README for legibility
Steven Tobin [Mon, 2 Jun 2014 12:15:07 +0000 (22:15 +1000)]
reordered README for legibility

11 years agoadded pip install instructions to README
Steven Tobin [Mon, 2 Jun 2014 11:58:06 +0000 (21:58 +1000)]
added pip install instructions to README

11 years agofixed setup.py for new readme
Steven Tobin [Mon, 2 Jun 2014 08:59:22 +0000 (18:59 +1000)]
fixed setup.py for new readme

11 years agofix pep8 issues
Steven Tobin [Mon, 2 Jun 2014 08:47:59 +0000 (18:47 +1000)]
fix pep8 issues

11 years agoConvert README to rst for pypi push
Steven Tobin [Mon, 2 Jun 2014 08:43:49 +0000 (18:43 +1000)]
Convert README to rst for pypi push

11 years agotweaked readme due to changes to default wordlists
Steven Tobin [Mon, 2 Jun 2014 08:35:28 +0000 (18:35 +1000)]
tweaked readme due to changes to default wordlists

11 years agoMerge branch 'thiderman-packaging'
Steven Tobin [Mon, 2 Jun 2014 08:28:06 +0000 (18:28 +1000)]
Merge branch 'thiderman-packaging'

11 years agofixed tests, removed unneeded files
Steven Tobin [Mon, 2 Jun 2014 08:27:34 +0000 (18:27 +1000)]
fixed tests, removed unneeded files

11 years agoMerge branch 'master' of github.com:redacted/XKCD-password-generator
Steven Tobin [Mon, 2 Jun 2014 08:22:06 +0000 (18:22 +1000)]
Merge branch 'master' of github.com:redacted/XKCD-password-generator

11 years agoMerge pull request #13 from thiderman/packaging
Steven Tobin [Mon, 2 Jun 2014 08:21:48 +0000 (18:21 +1000)]
Merge pull request #13 from thiderman/packaging

Add packaging

11 years agoTesting default.txt solution
Steven Tobin [Fri, 30 May 2014 03:03:23 +0000 (13:03 +1000)]
Testing default.txt solution

11 years agoTesting default.txt solution
Steven Tobin [Fri, 30 May 2014 03:03:23 +0000 (13:03 +1000)]
Testing default.txt solution

11 years agoMerge branch 'packaging' of https://github.com/thiderman/XKCD-password-generator...
Steven Tobin [Fri, 30 May 2014 02:58:03 +0000 (12:58 +1000)]
Merge branch 'packaging' of https://github.com/thiderman/XKCD-password-generator into thiderman-packaging

11 years agoAdd thiderman to contributors
Lowe Thiderman [Thu, 29 May 2014 12:41:10 +0000 (14:41 +0200)]
Add thiderman to contributors

11 years agoAdd packaged support for provided wordlists
Lowe Thiderman [Thu, 29 May 2014 12:40:31 +0000 (14:40 +0200)]
Add packaged support for provided wordlists

11 years agoMove cracklib to top of suggested word lists
Lowe Thiderman [Thu, 29 May 2014 12:21:04 +0000 (14:21 +0200)]
Move cracklib to top of suggested word lists

11 years agoIncreased default password length required increase in test wordlist
Steven Tobin [Tue, 27 May 2014 23:23:28 +0000 (09:23 +1000)]
Increased default password length required increase in test wordlist

11 years agoMove example import into package
Lowe Thiderman [Tue, 27 May 2014 22:37:14 +0000 (00:37 +0200)]
Move example import into package

11 years agoAdd cracklib-small as a default wordlist
Lowe Thiderman [Tue, 27 May 2014 22:36:32 +0000 (00:36 +0200)]
Add cracklib-small as a default wordlist

cracklib should be available on most (all, even?) Linux machines and provides
a more than solid foundation as a basis.

11 years ago"Fix" tests
Lowe Thiderman [Tue, 27 May 2014 22:34:43 +0000 (00:34 +0200)]
"Fix" tests

Due to the changes incurred by the packaging, the tests needed some changes as
well. I've fixed those, but three tests still fail. However, I ran the tests on
origin/master, and three of them were failing.
I can help with that, but it's out of scope for this PR. ;)

11 years agoModify main code for packaging
Lowe Thiderman [Tue, 27 May 2014 22:16:44 +0000 (00:16 +0200)]
Modify main code for packaging

Add main() function that setuptools can use as an executable entry point.

Also pass the `parser` variable to `validate_options()`. Since the parser is
now created within the function scope of `main()` it cannot be seen by
`validate_options()` anymore.

11 years agoMove static files into module directory
Lowe Thiderman [Tue, 27 May 2014 22:13:58 +0000 (00:13 +0200)]
Move static files into module directory

To be able to distribute the package, we need to include the static word lists
into the package module.

Also, add MANIFEST.in to tell setup.py that it's able to include the files. The
MANIFEST.in file is generic and any new added files into xkcdpass/static/ will
be added into new versions of the package.

11 years agoAdd generic Python project gitignore
Lowe Thiderman [Tue, 27 May 2014 22:10:25 +0000 (00:10 +0200)]
Add generic Python project gitignore

11 years agoMove main file into a module
Lowe Thiderman [Tue, 27 May 2014 21:51:36 +0000 (23:51 +0200)]
Move main file into a module

11 years agoAdd setup.py
Lowe Thiderman [Tue, 27 May 2014 21:51:00 +0000 (23:51 +0200)]
Add setup.py

11 years agoUpdated default password length to 6 (from 4)
Steven Tobin [Wed, 2 Apr 2014 05:10:34 +0000 (16:10 +1100)]
Updated default password length to 6 (from 4)

Noting that Diceware creator Arnold Reinhold now recommends using 6
words in his (similar) system, update the defaults to 6 for our code as
well.

12 years agoUpdated licence for 2014
Steven Tobin [Mon, 6 Jan 2014 06:06:38 +0000 (17:06 +1100)]
Updated licence for 2014

12 years agosmall change to readme
Steven Tobin [Mon, 15 Jul 2013 14:50:35 +0000 (15:50 +0100)]
small change to readme

12 years agohotlink original xkcd comic
Steven Tobin [Mon, 15 Jul 2013 14:49:40 +0000 (15:49 +0100)]
hotlink original xkcd comic

12 years agochange non-interactive code to return passwd
Steven Tobin [Fri, 14 Jun 2013 01:16:18 +0000 (02:16 +0100)]
change non-interactive code to return passwd

12 years agofixed error in README
Steven Tobin [Fri, 14 Jun 2013 01:09:53 +0000 (02:09 +0100)]
fixed error in README

12 years agoupdated contributor list
Steven Tobin [Fri, 14 Jun 2013 01:06:14 +0000 (02:06 +0100)]
updated contributor list

12 years agoupdated README with delimiters
Steven Tobin [Fri, 14 Jun 2013 01:05:31 +0000 (02:05 +0100)]
updated README with delimiters

12 years agochanges to delimiter code
Steven Tobin [Fri, 14 Jun 2013 01:03:02 +0000 (02:03 +0100)]
changes to delimiter code

12 years agoMerge branch 'master' of https://github.com/zbstof/XKCD-password-generator into zbsto...
Steven Tobin [Fri, 14 Jun 2013 00:52:18 +0000 (01:52 +0100)]
Merge branch 'master' of https://github.com/zbstof/XKCD-password-generator into zbstof-delim

12 years agomoved test wordfile to tests dir
Steven Tobin [Thu, 13 Jun 2013 10:37:56 +0000 (11:37 +0100)]
moved test wordfile to tests dir

12 years agoadded unit tests
Steven Tobin [Thu, 13 Jun 2013 10:35:47 +0000 (11:35 +0100)]
added unit tests

12 years agoremoved dependence on options parsing for verbose_reports
Steven Tobin [Tue, 11 Jun 2013 12:43:31 +0000 (13:43 +0100)]
removed dependence on options parsing for verbose_reports

12 years agoAdd option to have custom word delimiters
Stanislav Bytsko [Tue, 11 Jun 2013 08:59:40 +0000 (11:59 +0300)]
Add option to have custom word delimiters

12 years agotweak to readme
Steven Tobin [Sat, 9 Mar 2013 20:39:45 +0000 (20:39 +0000)]
tweak to readme

12 years agofixed a couple more pep8 issues
Steven Tobin [Mon, 4 Mar 2013 18:11:51 +0000 (18:11 +0000)]
fixed a couple more pep8 issues

12 years agoupdated readme
Steven Tobin [Mon, 4 Mar 2013 17:26:05 +0000 (17:26 +0000)]
updated readme

12 years agoadded import example. renamed main script to allow import
Steven Tobin [Mon, 4 Mar 2013 17:22:04 +0000 (17:22 +0000)]
added import example. renamed main script to allow import

xkcd-password.py is renamed to xkcd_password.py to fix an issue with
python's import command

12 years agofiexed some small pep8 and indentation issues
Steven Tobin [Mon, 4 Mar 2013 17:02:47 +0000 (17:02 +0000)]
fiexed some small pep8 and indentation issues

12 years agoUpdated contributor list
Steven Tobin [Mon, 4 Mar 2013 16:57:48 +0000 (16:57 +0000)]
Updated contributor list

12 years agoMerge pull request #10 from kimslawson/master
Steven Tobin [Mon, 4 Mar 2013 16:56:20 +0000 (08:56 -0800)]
Merge pull request #10 from kimslawson/master

Added acrostic option

12 years agoFactor out acrostic code into its own function (DRY)
Kim Slawson [Mon, 4 Mar 2013 16:51:06 +0000 (11:51 -0500)]
Factor out acrostic code into its own function (DRY)

12 years agoOptimize sub-optimal way of doing acrostics. (Is unnecessary optimization worse than...
Kim Slawson [Sun, 3 Mar 2013 05:41:03 +0000 (00:41 -0500)]
Optimize sub-optimal way of doing acrostics. (Is unnecessary optimization worse than premature optimization?)

12 years agoAdd count option, logic, and documentation.
Kim Slawson [Sun, 3 Mar 2013 05:05:50 +0000 (00:05 -0500)]
Add count option, logic, and documentation.

git clone https://git.99rst.org/PROJECT