redacted-XKCD-password-generator.git
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.

12 years agoAdd acrostic option, logic, documentation
Kim Slawson [Sun, 3 Mar 2013 03:55:26 +0000 (22:55 -0500)]
Add acrostic option, logic, documentation

13 years agoUpdated copyright for 2013
Steven Tobin [Fri, 4 Jan 2013 20:39:33 +0000 (20:39 +0000)]
Updated copyright for 2013

13 years agofixed typo in usage instructions
Steven Tobin [Tue, 17 Jul 2012 11:15:25 +0000 (12:15 +0100)]
fixed typo in usage instructions

13 years agoadded usage info to README
Steven Tobin [Tue, 17 Jul 2012 11:08:18 +0000 (12:08 +0100)]
added usage info to README

13 years agoMerge pull request #9 from dbeecham/master
Steven Tobin [Sat, 23 Jun 2012 20:54:57 +0000 (13:54 -0700)]
Merge pull request #9 from dbeecham/master

DOS to UNIX newlines.

13 years agoChanged DOS to UNIX newlines.
Daniel Beecham [Sat, 23 Jun 2012 18:22:50 +0000 (20:22 +0200)]
Changed DOS to UNIX newlines.

13 years agochanged --entropy to --verbose, added more reports
Steven Tobin [Sat, 23 Jun 2012 13:46:44 +0000 (14:46 +0100)]
changed --entropy to --verbose, added more reports

13 years agoMerge pull request #8 from dbeecham/master
Steven Tobin [Sat, 23 Jun 2012 13:18:50 +0000 (06:18 -0700)]
Merge pull request #8 from dbeecham/master

Pushed more stuff into validate_options.

13 years agoConsolidate more stuff into validate_options.
Daniel Beecham [Sat, 23 Jun 2012 12:49:40 +0000 (14:49 +0200)]
Consolidate more stuff into validate_options.

13 years agoFixed all outstanding pep8 issues
Steven Tobin [Fri, 22 Jun 2012 10:43:11 +0000 (11:43 +0100)]
Fixed all outstanding pep8 issues

13 years agooption validation tests collected in new function
Steven Tobin [Fri, 22 Jun 2012 09:45:26 +0000 (10:45 +0100)]
option validation tests collected in new function

13 years agoMerge pull request #7 from dbeecham/master
Steven Tobin [Thu, 21 Jun 2012 21:50:02 +0000 (14:50 -0700)]
Merge pull request #7 from dbeecham/master

Well this is fun.

13 years agoSmall rewordings and fixes.
Daniel Beecham [Thu, 21 Jun 2012 20:51:09 +0000 (22:51 +0200)]
Small rewordings and fixes.

13 years agoPEP8 fixes.
Daniel Beecham [Thu, 21 Jun 2012 20:21:45 +0000 (22:21 +0200)]
PEP8 fixes.

13 years agorestore compatibility with Python < 2.6
Steven Tobin [Thu, 21 Jun 2012 14:58:39 +0000 (15:58 +0100)]
restore compatibility with Python < 2.6

13 years agoMerge pull request #6 from dbeecham/master
Steven Tobin [Thu, 21 Jun 2012 14:48:39 +0000 (07:48 -0700)]
Merge pull request #6 from dbeecham/master

Small bug fixes and changes.

13 years agoSmall bug fixes and changes.
Daniel Beecham [Fri, 15 Jun 2012 23:52:05 +0000 (01:52 +0200)]
Small bug fixes and changes.

13 years agoadded missing contributor email
Steven Tobin [Sun, 3 Jun 2012 21:57:43 +0000 (22:57 +0100)]
added missing contributor email

13 years agoimproved PEP8 compliance
Steven Tobin [Sat, 2 Jun 2012 22:25:50 +0000 (23:25 +0100)]
improved PEP8 compliance

13 years agoexpanded doc for generate_wordlist
Steven Tobin [Sat, 2 Jun 2012 13:40:26 +0000 (14:40 +0100)]
expanded doc for generate_wordlist

13 years agoUpdated licence with correct years
Steven Tobin [Sat, 2 Jun 2012 10:03:47 +0000 (11:03 +0100)]
Updated licence with correct years

13 years agoChanged README to reflect Python3 compatibility
Steven Tobin [Sat, 2 Jun 2012 09:59:14 +0000 (10:59 +0100)]
Changed README to reflect Python3 compatibility

13 years agoremoved use of 'with' for back-compatibility
Steven Tobin [Sat, 2 Jun 2012 09:57:25 +0000 (10:57 +0100)]
removed use of 'with' for back-compatibility

13 years agoAdded code for fallback random generator use
Steven Tobin [Sat, 2 Jun 2012 09:52:03 +0000 (10:52 +0100)]
Added code for fallback random generator use

Code attempts to use random.SystemRandom if present, will print a
warning then use random.Random() if not.

13 years agoupdated contibutor list
Steven Tobin [Sat, 2 Jun 2012 09:40:33 +0000 (10:40 +0100)]
updated contibutor list

13 years agoMerge pull request #5 from dbeecham/master
Steven Tobin [Sat, 2 Jun 2012 09:38:16 +0000 (02:38 -0700)]
Merge pull request #5 from dbeecham/master

PEP8 and Python3 support.

13 years agoPEP8 correct, usable in Python3.
Daniel Beecham [Fri, 1 Jun 2012 23:54:35 +0000 (01:54 +0200)]
PEP8 correct, usable in Python3.

14 years agoadded an alternative wordlist
Steven Tobin [Tue, 22 Nov 2011 20:00:34 +0000 (20:00 +0000)]
added an alternative wordlist

14 years agoupdated contributor list
Steven Tobin [Tue, 22 Nov 2011 18:42:11 +0000 (18:42 +0000)]
updated contributor list

14 years agoadded 2of12.txt to repo for convenience
Steven Tobin [Tue, 22 Nov 2011 18:12:27 +0000 (18:12 +0000)]
added 2of12.txt to repo for convenience

14 years agoUpdated readme to reflect changes to script
Steven Tobin [Tue, 22 Nov 2011 18:01:52 +0000 (18:01 +0000)]
Updated readme to reflect changes to script

14 years agoMerge pull request #3 from robla/master
Steven Tobin [Mon, 21 Nov 2011 14:16:55 +0000 (06:16 -0800)]
Merge pull request #3 from robla/master

A few changes

14 years agoCan't assume Linux always uses /usr/dict/words (Ubuntu doesn't)
Rob Lanphier [Sun, 20 Nov 2011 06:17:04 +0000 (22:17 -0800)]
Can't assume Linux always uses /usr/dict/words (Ubuntu doesn't)

14 years agoAdded myself to the copyright
Rob Lanphier [Sun, 20 Nov 2011 06:09:19 +0000 (22:09 -0800)]
Added myself to the copyright

14 years agoAdded --entropy option for psuedoscientific entropy report
Rob Lanphier [Sun, 20 Nov 2011 05:46:35 +0000 (21:46 -0800)]
Added --entropy option for psuedoscientific entropy report

14 years agoAdded --valid_chars option
Rob Lanphier [Sun, 20 Nov 2011 04:52:47 +0000 (20:52 -0800)]
Added --valid_chars option

14 years agoAdded optparse options for min/max length, numwords, etc.
Rob Lanphier [Sun, 20 Nov 2011 02:07:15 +0000 (18:07 -0800)]
Added optparse options for min/max length, numwords, etc.

14 years agoChange to password generator to allow non-interactive use
Steven Tobin [Tue, 27 Sep 2011 08:14:34 +0000 (09:14 +0100)]
Change to password generator to allow non-interactive use

added comments throughout

14 years agoMake word file an optional kwarg for generate_wordlist()
Steven Tobin [Mon, 26 Sep 2011 17:46:31 +0000 (18:46 +0100)]
Make word file an optional kwarg for generate_wordlist()

Otherwise uses sys.platform to use system dictionary (Linux, OS X)

14 years agoLicensed under BSD license
Steven Tobin [Mon, 26 Sep 2011 17:34:10 +0000 (18:34 +0100)]
Licensed under BSD license

14 years agoMerge pull request #1 from MithrandirAgain/master
Steven Tobin [Sat, 24 Sep 2011 15:52:04 +0000 (08:52 -0700)]
Merge pull request #1 from MithrandirAgain/master

Better random source, etc

14 years agoMore secure rand. num generator, fixed input error, clearer error msgs.
MithrandirAgain [Sat, 24 Sep 2011 00:00:28 +0000 (17:00 -0700)]
More secure rand. num generator, fixed input error, clearer error msgs.

14 years agotypo
Steven Tobin [Tue, 20 Sep 2011 17:40:45 +0000 (18:40 +0100)]
typo

14 years agolink to wordlist
Steven Tobin [Tue, 20 Sep 2011 17:40:31 +0000 (18:40 +0100)]
link to wordlist

14 years agoInitial commit
Steven Tobin [Tue, 20 Sep 2011 14:37:50 +0000 (15:37 +0100)]
Initial commit

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