Commit graph

412 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
2975dfea51
Remove old code for the v2 refactor 2023-04-06 12:23:22 +02:00
befa6c2723
Remove old code for the v2 refactor 2023-04-06 12:21:20 +02:00
565a714cc6
Merge pull request #51 from wneessen/dependabot/go_modules/github.com/wneessen/go-hibp-1.0.6
Bump github.com/wneessen/go-hibp from 1.0.5 to 1.0.6
2023-02-09 21:09:54 +01:00
dependabot[bot]
8d6dc64cc4
Bump github.com/wneessen/go-hibp from 1.0.5 to 1.0.6
Bumps [github.com/wneessen/go-hibp](https://github.com/wneessen/go-hibp) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/wneessen/go-hibp/releases)
- [Commits](https://github.com/wneessen/go-hibp/compare/v1.0.5...v1.0.6)

---
updated-dependencies:
- dependency-name: github.com/wneessen/go-hibp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-09 19:58:17 +00:00
149c4eb54c
Merge pull request #50 from wneessen/dependabot/go_modules/github.com/wneessen/go-hibp-1.0.5
Bump github.com/wneessen/go-hibp from 1.0.4 to 1.0.5
2022-12-22 20:27:37 +01:00
dependabot[bot]
bf2c303ca5
Bump github.com/wneessen/go-hibp from 1.0.4 to 1.0.5
Bumps [github.com/wneessen/go-hibp](https://github.com/wneessen/go-hibp) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/wneessen/go-hibp/releases)
- [Commits](https://github.com/wneessen/go-hibp/compare/v1.0.4...v1.0.5)

---
updated-dependencies:
- dependency-name: github.com/wneessen/go-hibp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-22 19:04:28 +00:00
a08b362e19
Merge pull request #49 from wneessen/go-hibp-update
Upgrade go-hibp to v1.0.4 and fix the breaking changes
2022-10-29 20:44:22 +02:00
beb01894cd
Upgrade go-hibp to v1.0.4 and fix the breaking changes 2022-10-29 20:43:22 +02:00
359bd791b4
Merge pull request #48 from wneessen/dependabot/go_modules/github.com/wneessen/go-hibp-1.0.3
Bump github.com/wneessen/go-hibp from 1.0.2 to 1.0.3
2022-06-10 22:25:16 +02:00
dependabot[bot]
58c20de5cf
Bump github.com/wneessen/go-hibp from 1.0.2 to 1.0.3
Bumps [github.com/wneessen/go-hibp](https://github.com/wneessen/go-hibp) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/wneessen/go-hibp/releases)
- [Commits](https://github.com/wneessen/go-hibp/compare/v1.0.2...v1.0.3)

---
updated-dependencies:
- dependency-name: github.com/wneessen/go-hibp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-10 19:22:26 +00:00
1892f4d27c
Remove workspace.xml from Git 2022-05-12 15:19:03 +02:00
8531b2523b
Merge pull request #47 from wneessen/docker-mp
Dockerfile was accidentally forcing GOOS and GOARCH.
2022-05-12 10:51:11 +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
4b579200c7
Merge pull request #46 from wneessen/docker-publish-multipf
Let's try doing multi-platform docker builds
2022-05-12 10:21:39 +02:00
75a114a552
Update docker-publish.yml
It was configured for dockerhub
2022-05-12 10:04:48 +02:00
30d3b3a4ec
Update docker-publish.yml
Switch to multi-platform build exmpale from
https://github.com/docker/build-push-action/blob/master/docs/advanced/multi-platform.md
2022-05-12 10:02:20 +02:00
bc78ac26df
Update docker-publish.yml 2022-05-12 09:58:24 +02:00
3ec96c204e
Update docker-publish.yml
Docker failed
2022-05-12 09:56:17 +02:00
077259fa10
Update docker-publish.yml
Testing multiplatform support for docker images
2022-05-12 09:49:10 +02:00
198098894d
Merge pull request #45 from wneessen/fix-dockerfile
Fix Docker image
2022-05-11 16:25:16 +02:00
c08abd0aa3
Add CA certificate file from build to docker image so HIBP lookups won't fail 2022-05-11 16:24:24 +02:00
dcdc4fb92f
Update Arch Linux PKGBUILD file for v0.4.1 update 2022-05-11 15:45:39 +02:00
cd9b8a98a5
Merge pull request #43 from wneessen/go-release-action-update
Go release action update
2022-05-11 15:13:43 +02:00
6b12f0f5cc
Update release-linux.yml 2022-05-11 15:13:11 +02:00
1da014c5dd
Update release-darwin.yml 2022-05-11 15:12:58 +02:00
5a6af71c17
Update release-bsd.yml 2022-05-11 15:12:22 +02:00
19f53a157d
Update release-windows.yml
Update go-release action to v1.26
2022-05-11 15:08:43 +02:00
bb717254f3
Update apg.go
Bump version to 0.4.1
2022-05-11 15:01:48 +02:00
53e1f61518
Create docker-publish.yml 2022-05-11 14:54:24 +02:00
1297c5a2eb
Merge pull request #41 from wneessen/dockerize
Add Dockerfile so apg-go can be dockerized via Github
2022-05-11 14:53:06 +02:00
55f9634902
Add Dockerfile so apg-go can be dockerized via Github 2022-05-11 14:51:58 +02:00
fbda529dfa
Merge pull request #40 from wneessen/dependabot/go_modules/github.com/wneessen/go-hibp-1.0.2
Bump github.com/wneessen/go-hibp from 1.0.0 to 1.0.2
2022-05-09 23:34:22 +02:00
dependabot[bot]
b13487540d
Bump github.com/wneessen/go-hibp from 1.0.0 to 1.0.2
Bumps [github.com/wneessen/go-hibp](https://github.com/wneessen/go-hibp) from 1.0.0 to 1.0.2.
- [Release notes](https://github.com/wneessen/go-hibp/releases)
- [Commits](https://github.com/wneessen/go-hibp/compare/v1.0.0...v1.0.2)

---
updated-dependencies:
- dependency-name: github.com/wneessen/go-hibp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 19:20:07 +00:00
1f682e8f34
Update README.md 2022-05-06 20:46:23 +02:00
e54a981692
Create sonarqube.yml 2022-04-12 20:01:09 +02:00
9f3c76c080
Integrate with SonarQube 2022-04-12 20:00:16 +02:00
f97bd654f8
Update FUNDING.yml 2022-04-03 12:41:57 +02:00
8e83a66b12
Update README.md
Added aberoham to contributors list
2022-04-02 23:08:23 +02:00
5c9934634d
Merge pull request #39 from aberoham/patch-1
Tiny typo
2022-04-02 23:06:24 +02:00
Abraham Ingersoll
81067bdcae
Tiny typo 2022-04-02 20:39:29 +01:00
9196d74613
Update FUNDING.yml 2022-04-02 13:13:00 +02:00
297baf71d0
Update PKGBUILD
Updated PKGBUILD file for v0.4.0
2021-10-24 22:10:19 +02:00
97412600fd
Update apg.go
Update version to 0.4.0
2021-10-24 21:52:01 +02:00
f094820bc3
Merge pull request #37 from wneessen/rng_change
Updated GetChar() method to use a much faster and optimized algorithm
2021-10-24 20:20:32 +02:00
3e8be112fe
Updated GetChar() method to use a much faster and optimized algorithm 2021-10-24 20:13:37 +02:00
b6f60f7c1c Merge remote-tracking branch 'origin/main' 2021-09-26 16:33:58 +02:00
7b9db3e5f1 Some parts of the Config struct don't need exporting 2021-09-26 16:33:50 +02:00