Releases: iegomez/mosquitto-go-auth
Releases · iegomez/mosquitto-go-auth
JWT files mode
- Adds a
files
mode to JWT, allowing to check ACLs only through a static-files-like interface.
Release 1.5.0
Additions in this release:
- Cache jitter: a jitter can now be set for the cache to add randomness to expirations.
- Backends retry: retries on checks may be set to handle sporadic failures.
- Test Docker image.
- Backends registration: backends may register which checks they'll perform.
- General cleanup.
Major kudos to @PierreF for bringing in most of the enhancements.
Files backend fixes
Fixes some bugs in files backend:
- (Multiple)spaces within usernames/topics or multiple spaces between parameters were not being cacthed.
- Topics for non existing users were being assigned to the next user instead of ignored.
deny
permission for topics wasn't available.
Handle SIGHUP
Files backend now reloads password and ACL files on SIGHUP.
Javascript backend and JWT enhancement
This release comes with:
- New Javascript backend, check README for details on how to use.
- Independent options for JWT local DBs so they may use different underlying DBs when a DB backend is also present.
- Javascript mode for JWT backend.
- Options to pre parse JWT token for local and JS modes.
- Options to skip JWT token expiration.
- Option to set DB backends connection tries before failing.
aarch64 support
- Adds aarch64 support to the Docker build.
- Fixes typo in the Argon2ID hasher.
Fix cache refresh
Fixes cache refresh typo.
JWT skip expiration
Options were added to skip expiration in either user or acl basis.
JWT skip expiration
Adds new jwt_skip_expiration
option to allow not to check for a JWT token expiration.
Files backend fix
- Fixes a bug where an ACL file mentioning a user not present in the passwords file would crash backend initialization.