Commit graph

19 commits

Author SHA1 Message Date
b31219046a
#53 Refactor mode handling and bitmask functions
The naming and handling of mode bitmasks have been refactored for improved code readability and maintainability. The term "Mode" was replaced with "ModeMask" for clarity and all associated functions were renamed accordingly (e.g., "SetMode" to "MaskSetMode"). These changes provide better insight into the function of the code and increase understandability for future development efforts. The command-line utility now also supports specifying modes via the "-M" flag.
2023-08-04 17:14:24 +02:00
ac97b94ec9
Refactor generator and add config options
Refactored the generator to include a new config option, changed function signatures to follow the new structure, and renamed the function 'RandomString' to 'RandomStringFromCharRange' for clarity. Also, added a new mode and algorithm feature to enhance password generation. Furthermore, added several tests for new features and configurations. Adapted the CLI to use the new configuration approach. This refactoring was necessary to improve the customizability and clarity of the password generation process. Fixed minor issues and added '.gitignore' for clean commits in the future.
2023-08-04 16:02:58 +02:00
e94b1ade5c
v2: Complete rework of the library and the client 2023-04-18 11:49:44 +02:00
befa6c2723
Remove old code for the v2 refactor 2023-04-06 12:21:20 +02:00
beb01894cd
Upgrade go-hibp to v1.0.4 and fix the breaking changes 2022-10-29 20:43:22 +02:00
85c828801f
Dockerfile was accidentally forcing GOOS and GOARCH.
For each of use, the version now also prints out OS and ARCH
2022-05-12 10:38:56 +02:00
bb717254f3
Update apg.go
Bump version to 0.4.1
2022-05-11 15:01:48 +02:00
Abraham Ingersoll
81067bdcae
Tiny typo 2022-04-02 20:39:29 +01:00
97412600fd
Update apg.go
Update version to 0.4.0
2021-10-24 21:52:01 +02:00
3e8be112fe
Updated GetChar() method to use a much faster and optimized algorithm 2021-10-24 20:13:37 +02:00
2c23220100
Update apg.go 2021-09-23 19:58:51 +02:00
6047e79e0c Updated CLI usage text to reflect the changes of #27 2021-09-23 16:44:47 +02:00
aeb278355c Minor code cleanups and updated README to reflect #27 2021-09-23 15:48:03 +02:00
45ce66cd30 Make GoLinter happy 2021-09-23 14:42:13 +02:00
fcd148904b Added pronounceable passwords #27 2021-09-23 14:40:52 +02:00
e773db2ee7 Bump version to 0.4.0-dev 2021-09-23 09:35:54 +02:00
27d05f497b Use go-hibp v1.0.0 for #30 2021-09-22 20:23:43 +02:00
2087a4b60c
Implement new go-hibp package 2021-09-21 14:03:09 +02:00
7871b4307b Missing cmd/ 2021-09-21 11:31:39 +02:00