util: Add gateway token generation, verification and middleware
util: Add mTLS auth building blocks
util: Support getting TLS client certificate from proxy headers
util: Add CA store to component
util: Add mTLS auth CA store fetcher config
gs: Add cert verifier
Testing
There is no functionality to be tested.
Notes for Reviewers
This needs a full review as the implementation is not the same as currently in the proprietary stack.
Checklist
[x] Scope: The referenced issue is addressed, there are no unrelated changes.
[x] Compatibility: The changes are backwards compatible with existing API, storage, configuration and CLI, according to the compatibility commitments in README.md for the chosen target branch.
[ ] Documentation: Relevant documentation is added or updated.
[x] Testing: The steps/process to test this feature are clearly explained including testing for regressions.
[ ] Infrastructure: If infrastructural changes (e.g., new RPC, configuration) are needed, a separate issue is created in the infrastructural repositories.
[x] Changelog: Significant features, behavior changes, deprecations and fixes are added to CHANGELOG.md.
[x] Commits: Commit messages follow guidelines in CONTRIBUTING.md, there are no fixup commits left.
Summary
This open sources an adapted version of mTLS building blocks and gateway tokens.
References https://github.com/TheThingsIndustries/lorawan-stack/issues/4256
Changes
Testing
There is no functionality to be tested.
Notes for Reviewers
This needs a full review as the implementation is not the same as currently in the proprietary stack.
Checklist
README.md
for the chosen target branch.CHANGELOG.md
.CONTRIBUTING.md
, there are no fixup commits left.