Skip to content

Clarify verification process - #144

Merged
davidben merged 4 commits into
mainfrom
clarify-verification
Sep 17, 2025
Merged

Clarify verification process#144
davidben merged 4 commits into
mainfrom
clarify-verification

Conversation

@davidben

Copy link
Copy Markdown
Collaborator

Matt Mueller noticed that the process was ambiguous about where the MTCProof fields came from, and that we didn't consistently rename the OID to match the id-alg-* convention that LAMPS seems to be using these days.

From there I also noticed that the shape of RFC 9162, section 2.1.3.2 doesn't quite fit what we need. We want to run the inclusion proof, get the expected subtree hash, and then check a signature over it. RFC 9162 assumes you already know the subtree hash and are just checking it. I copy-pasted the description from RFC 9162 and inlined the small changes we were making.

Matt Mueller noticed that the process was ambiguous about where the
MTCProof fields came from, and that we didn't consistently rename the
OID to match the id-alg-* convention that LAMPS seems to be using these
days.

From there I also noticed that the shape of RFC 9162, section 2.1.3.2
doesn't quite fit what we need. We want to run the inclusion proof, get
the expected subtree hash, and then check a signature over it. RFC 9162
assumes you already know the subtree hash and are just checking it. I
copy-pasted the description from RFC 9162 and inlined the small changes
we were making.
The index check as already in there per RFC 9162. Putting both there is
tidy.
1. Check that the TBSCertificate's `signature` field is `id-mtc-proof` with omitted parameters. If either check fails, abort this process and fail verification.
1. Check that the TBSCertificate's `signature` field is `id-alg-mtcProof` with omitted parameters. If either check fails, abort this process and fail verification.

1. Let `index` be the certificate's serial number. Check that `start <= index < end`, and that `[start, end)` describes a subtree per {{definition-of-a-subtree}}. If either check fails, abort this process and fail verification.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is implicit in subtree evaluation now.

@davidben
davidben merged commit 7d0cadd into main Sep 17, 2025
2 checks passed
@davidben
davidben deleted the clarify-verification branch September 17, 2025 14:21
Comment thread draft-davidben-tls-merkle-tree-certs.md
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.

3 participants