Skip to content

Add client-side NTS request/response helpers#567

Closed
sofiascalzo wants to merge 2 commits into
facebook:mainfrom
sofiascalzo:export-D113422499
Closed

Add client-side NTS request/response helpers#567
sofiascalzo wants to merge 2 commits into
facebook:mainfrom
sofiascalzo:export-D113422499

Conversation

@sofiascalzo

Copy link
Copy Markdown

Summary:
Adds reusable BuildNTPRequest and VerifyNTPResponse helpers, the client mirror of
the server's request path, so the smoke client (and future NTS clients) can build
authenticated NTPv4 requests and verify responses without duplicating the logic.

Reviewed By: vvfedorenko

Differential Revision: D113422499

Sofia Scalzo added 2 commits July 24, 2026 06:48
Summary:

The KE handshake already derived the TLS-exporter session keys but threw them
away, leaving a client no way to sign NTPv4 requests or verify responses. Return
them from the handshake so the upcoming NTS NTPv4 client can use them. They are
derived with the same exporter inputs as the server, so both ends agree.

Reviewed By: vvfedorenko

Differential Revision: D113419245
Summary:
Adds reusable BuildNTPRequest and VerifyNTPResponse helpers, the client mirror of
the server's request path, so the smoke client (and future NTS clients) can build
authenticated NTPv4 requests and verify responses without duplicating the logic.

Reviewed By: vvfedorenko

Differential Revision: D113422499
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 24, 2026
@meta-codesync

meta-codesync Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

@sofiascalzo has exported this pull request. If you are a Meta employee, you can view the originating Diff in D113422499.

@meta-codesync

meta-codesync Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

This pull request has been merged in 1a68bc2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant