joesox / pswrdgen

Automatically exported from code.google.com/p/pswrdgen
0 stars 0 forks source link

Making MIN and MAX length the same creates endless loop in pswrdgen and pswrdgeniron #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is the minimum length of your password (default=8, minimum=3) ?: 4
What is the maximum length of your password  (default=16, minimum=5) ?: 4
What is the maximum length of your password  (default=16, minimum=5) ?: 4
What is the maximum length of your password  (default=16, minimum=5) ?:

What is the expected output? What do you see instead?
I want passwords just with a length of 4 (not 4 and 5)

In pswrdgeniron, the Update to cbMinLength and will update cbMaxLength and 
cbCaps so no endless loops occur.

Original issue reported on code.google.com by joesox on 17 Sep 2007 at 5:05

GoogleCodeExporter commented 9 years ago
I don't think this is an actual bug but a holdover from your original code. 
Setting
both values to 5 will work but from the first version of the code I've seen the
lowest maximum length of the password was 5 (hence the interaction here). This
restriction can be removed (line 108 and 141).

Original comment by edd...@googlemail.com on 17 Sep 2007 at 11:23

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
This has been tested in version 0.3.7 and is no longer an issue.

Original comment by joesox on 22 Sep 2007 at 5:42