Commit graph

17 commits

Author SHA1 Message Date
bffc8ac65e
Update Go version in go.mod
The Go version specified in the go.mod file has been downgraded from 1.22 to 1.21. This is to ensure compatibility with the project's specified dependencies.
2024-03-17 19:33:18 +01:00
cf47feecbb
Update project URLs and refactor Dockerfile
Project URLs have been changed in several files from "src.neessen.cloud/wneessen/apg-go" to "github.com/wneessen/apg-go". In addition, Dockerfile has been significantly refactored. It now includes steps for tidy and verify of Go modules and builds a statically linked binary. Several metadata files have been added with copyright information.
2024-03-14 09:37:52 +01:00
79f921f9ad
Add .gitgnore and SPDX headers in several files
This commit introduces the .gitignore configuration file and adds SPDX headers to several files including test and documentation files. The headers provide license information in a standardized format which can be easily picked up by automated tools for license compliance checks. Additionally, it deleted a .idea/.gitignore file, which is a project specific IDE configuration file not necessary for the repository. It also introduced a README.md file providing more insightful information about the project.
2024-03-12 20:59:07 +01:00
87f93ddbc6
Add HIBP password check functionality
Implemented HIBP password check feature which will crosscheck generated passwords with the HIBP pwned passwords database. This functionality enhances security by not recommending potentially compromised passwords. A new flag, CheckHIBP has been added to enable or disable this feature.
2024-03-12 19:00:21 +01:00
86b0ca972e
Update go.mod module path and Go version
The go.mod file was updated to reflect a new module path and an upgrade in Go version. The module path is now set to src.neessen.cloud/wneessen/apg-go, and the Go version has been updated to 1.22.
2024-03-07 21:15:36 +01: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
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
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
beb01894cd
Upgrade go-hibp to v1.0.4 and fix the breaking changes 2022-10-29 20:43:22 +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
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
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
b490e9bf98 v0.3.3: Separated HIBP code into its own module 2021-09-19 18:20:16 +02:00
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
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