Repository navigation
docs(vindex): clarify tlog-vindex spec edge cases before C2SP submission - #210
Open
mhutchinson wants to merge 1 commit into
Open
mhutchinson wants to merge 1 commit into
mhutchinson wants to merge 1 commit into
Conversation
- Clarify map-fn input is the authenticated MerkleTreeLeaf preimage (excluding unauthenticated static-ct-api chains).
- Specify that map-fn MUST be total over valid input entries and only emit valid canonical keys.
- Clarify input_size == 0 consistency check (input_root == SHA-256("")) in Auditing.
- Relax client percent-encoding MUST to % and query delimiters (SHOULD for other non-unreserved bytes) for JS encodeURIComponent compatibility.
- Anchor /values 503/404 and pruning horizon to the latest published output log state commitment's input-size, and note that non-200 responses are unauthenticated errors.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Small pre-C2SP clarifications to
vindex/docs/tlog-vindex.md:map-fnoperates on authenticated leaf preimage bytes (for RFC 6962 /static-ct-api, theMerkleTreeLeafhashed asSHA-256(0x00 || leaf_bytes), excluding unauthenticated auxiliary data like certificate chains).map-fnMUST be total over all valid input log entries and MUST only emit valid canonical keys.input_size == 0case in Auditing step 3 (input_root == SHA-256("")), since RFC 6962PROOF(0, n)is undefined.MUSTto%and query delimiters (&,=,+,#,?,;), withSHOULDfor other non-unreservedbytes, so standard JSencodeURIComponentis compliant (e.g. wildcard*in DNS keys)./values503/404and pruning horizonPto theinput-sizeof the server's latest published output log state commitment, and note that non-200HTTP responses are unauthenticated errors.Testing
Documentation-only change; verified against live
wire.go,server.go,client.go, andmpt.goimplementations.