Commit graph

10 commits

Author SHA1 Message Date
9277e83fd4
v0.3.1: New password length behaviour
To address issue #13, the password length behaviour of the
original APG has been reproduced. Previously, when a minLength
of 5 and a maxLength of 10 was given, apg-go se the pwLength to
the preferred maxLength.

With v0.3.1 it will choose a random length between minLength and
maxLength instead, same as the original C-lang apg did. For this
the minLength has been defaulted to a sane value of 12 (instead
of the 8 of the original apg). The default for maxLength stayed
at 20.

Also the default number of generated passwords has been changed
from 1 to 6, to replicate the behaviour of the original apg.
2021-04-17 11:04:14 +02:00
1130a698f6
v0.2.8: De-cluttered the config flags stuff 2021-03-27 17:03:19 +01:00
637ee8359a
v0.2.7: Switched global config to it's own package 2021-03-26 14:27:54 +01:00
44104a5487
Tests cleanup. Used structs for tests instead of repeating code 2021-03-24 15:02:08 +01:00
327dc6459a
v0.2.6 - converted to go module structure
- Better logging
- Better error handling
- Removed Makefile since github takes care of building/releasing
2021-03-22 17:53:36 +01:00
d2eae0da9f
Fixes in getCharRange() tests 2021-03-21 17:26:32 +01:00
8b9269b1b9
Added spelling of pws. Ready for v0.2.4 2021-03-21 15:28:23 +01:00
46e47348e2
v0.2.3: More chars, cleanup and better test coverage
- Added more special characters
- Fixed issue with ` character
- Added lots of tests
- Moved character range generation into it's own function
- Better error handling
- A bit of code cleanup
2021-03-21 13:25:52 +01:00
2a970b9bce
v0.2.2: Minor fixes and testing
- Replaced log.Fatal() with log.Fatalf() since we provide %v
- Added proper testing and benchmarking
2021-03-20 18:31:32 +01:00
e184a79884
Added test 2021-03-18 23:49:04 +01:00