Skip to content

Harden tickets#1022

Merged
AlCutter merged 1 commit into
transparency-dev:mainfrom
AlCutter:harden_tickets
Jun 26, 2026
Merged

Harden tickets#1022
AlCutter merged 1 commit into
transparency-dev:mainfrom
AlCutter:harden_tickets

Conversation

@AlCutter

@AlCutter AlCutter commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

This PR hardens the tickets used in the tlog-mirror lifecycle using an HMAC to authenticate them and protect against modification.

Each {mirror,log} combination uses its own HMAC key, reducing the risk of confusion from tickets from other services or mirrored logs being presented. This binding is done using HKDF.

Currently, we create an ephemeral key seed at each restart. This is fine for now (clients will just need to refresh tickets if the service restarts), but we will need to add support for a configurable fixed seed if we want to support running multiple frontends for non-POSIX storage implementations.

Towards #945

@AlCutter AlCutter requested a review from roger2hk June 25, 2026 14:59
@AlCutter AlCutter force-pushed the harden_tickets branch 4 times, most recently from 01fb664 to 62e0d92 Compare June 25, 2026 16:08
@AlCutter AlCutter marked this pull request as ready for review June 25, 2026 16:09
@AlCutter AlCutter requested a review from a team as a code owner June 25, 2026 16:09
@AlCutter AlCutter merged commit afb834f into transparency-dev:main Jun 26, 2026
19 of 20 checks passed
@AlCutter AlCutter deleted the harden_tickets branch June 26, 2026 10:32
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.

2 participants