Skip to content

Support TLS and JWT for the Databroker connection - #21

Merged
coucou merged 1 commit into
mainfrom
vx/databroker-tls-auth
Dec 5, 2026
Merged

coucou merged 1 commit into
mainfrom
vx/databroker-tls-auth

Conversation

@coucou

@coucou coucou commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

Closes #13.

  • Support HTTPS with a custom CA or WebPKI roots. Read the bearer token from its file for each new Databroker RPC, including metadata, health, and streaming requests. Require HTTPS when a CA or token file is configured.
  • Add a repeatable secure Databroker regression with disposable credentials and an OCI build and startup check for the static musl payload.
  • Keep the Android-facing VehicleServer protocol unchanged.

Verified locally against Databroker 0.7.2 with TLS and JWT, including missing and invalid tokens, an untrusted CA, and token replacement. The regular live read tests passed against 0.7.1 and 0.7.2. Formatting, unit tests, Clippy, cargo-deny, and the static musl build passed. Image assembly and startup run in GitHub Actions.

@coucou
coucou merged commit cb2c05f into main Dec 5, 2026
5 checks passed
@coucou
coucou deleted the vx/databroker-tls-auth branch December 5, 2026 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TLS and token authorization for the databroker connection

1 participant