Skip to content

ref(auth): Make signature timestamp and its verification required#6069

Open
Dav1dde wants to merge 5 commits into
masterfrom
dav1d/auth-sig-ts-required
Open

ref(auth): Make signature timestamp and its verification required#6069
Dav1dde wants to merge 5 commits into
masterfrom
dav1d/auth-sig-ts-required

Conversation

@Dav1dde

@Dav1dde Dav1dde commented Jun 10, 2026

Copy link
Copy Markdown
Member

The timestamp was effectively already required, except for where SignedJson would not actually verify it (I'd say that's a bug).

The timestamp was already unconditionally added in all code paths.

Removes a lot of API surface which is no longer required, only allows for a minimal API surface without allowing accidental mis-use.

@Dav1dde Dav1dde requested a review from a team as a code owner June 10, 2026 11:57
@Dav1dde Dav1dde force-pushed the dav1d/auth-sig-ts-required branch from 69f9fa2 to 87611ce Compare June 10, 2026 11:58
cursor[bot]

This comment was marked as outdated.

Comment thread relay-auth/src/lib.rs Outdated
Comment thread relay-auth/src/lib.rs Outdated
@jjbayer

jjbayer commented Jun 10, 2026

Copy link
Copy Markdown
Member

I'll let you handle the bot comments before I leave a review.

@Dav1dde Dav1dde marked this pull request as draft June 10, 2026 12:09
@Dav1dde Dav1dde marked this pull request as ready for review June 10, 2026 12:41
@Dav1dde Dav1dde force-pushed the dav1d/auth-sig-ts-required branch from 7631e2d to 822d3b4 Compare June 10, 2026 12:56
@Dav1dde Dav1dde force-pushed the dav1d/auth-sig-ts-required branch from 822d3b4 to 596890d Compare June 10, 2026 12:57
cursor[bot]

This comment was marked as outdated.

Comment thread relay-auth/src/lib.rs
@Dav1dde Dav1dde marked this pull request as draft June 10, 2026 14:49
@Dav1dde Dav1dde marked this pull request as ready for review June 10, 2026 16:11
@Dav1dde Dav1dde self-assigned this Jun 10, 2026
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