Skip to content

Commit a7819be

Browse files
author
ID Bot
committed
Script updating gh-pages from 7131dc1. [ci skip]
1 parent 5ca70e2 commit a7819be

3 files changed

Lines changed: 29 additions & 2 deletions

File tree

draft-ietf-plants-merkle-tree-certs.html

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4482,7 +4482,17 @@ <h3 id="name-certificate-format">
44824482
</pre><a href="#section-6.1-9" class="pilcrow">¶</a>
44834483
</div>
44844484
<p id="section-6.1-10"><code>start</code> and <code>end</code> MUST contain the corresponding parameters of the chosen subtree. <code>inclusion_proof</code> MUST contain a subtree inclusion proof (<a href="#subtree-inclusion-proofs" class="auto internal xref">Section 4.3</a>) for the log entry and the subtree. <code>signatures</code> contains the chosen subtree signatures. In each signature, <code>cosigner_id</code> contains the cosigner ID (<a href="#cosigners" class="auto internal xref">Section 5.3</a>) in its binary representation (<span><a href="https://datatracker.ietf.org/doc/html/draft-ietf-tls-trust-anchor-ids-04#section-3" class="relref">Section 3</a> of [<a href="#I-D.ietf-tls-trust-anchor-ids" class="cite xref">I-D.ietf-tls-trust-anchor-ids</a>]</span>), and <code>signature</code> contains the signature value as described in <a href="#signature-format" class="auto internal xref">Section 5.3.1</a>. The <code>timestamp</code> field used when computing the signature MUST be zero.<a href="#section-6.1-10" class="pilcrow">¶</a></p>
4485-
<p id="section-6.1-11">The MTCProof is encoded into the <code>signatureValue</code> with no additional ASN.1 wrapping. The most significant bit of the first octet of the signature value SHALL become the first bit of the bit string, and so on through the least significant bit of the last octet of the signature value, which SHALL become the last bit of the bit string.<a href="#section-6.1-11" class="pilcrow">¶</a></p>
4485+
<p id="section-6.1-11">Each element of the <code>signatures</code> field MUST have a unique <code>cosigner_id</code>. Elements MUST be ordered by <code>cosigner_id</code> as follows:<a href="#section-6.1-11" class="pilcrow">¶</a></p>
4486+
<ul class="normal">
4487+
<li class="normal" id="section-6.1-12.1">
4488+
<p id="section-6.1-12.1.1">Shorter byte strings are ordered before longer byte strings<a href="#section-6.1-12.1.1" class="pilcrow">¶</a></p>
4489+
</li>
4490+
<li class="normal" id="section-6.1-12.2">
4491+
<p id="section-6.1-12.2.1">Byte strings of the same length are ordered lexicographically<a href="#section-6.1-12.2.1" class="pilcrow">¶</a></p>
4492+
</li>
4493+
</ul>
4494+
<p id="section-6.1-13">An MTCProof parser MUST reject the input if there are duplicate <code>cosigner_id</code> values, or if they are not ordered correctly. This can be done by checking each <code>cosigner_id</code> value comes strictly after the previous one in the above order.<a href="#section-6.1-13" class="pilcrow">¶</a></p>
4495+
<p id="section-6.1-14">The MTCProof is encoded into the <code>signatureValue</code> with no additional ASN.1 wrapping. The most significant bit of the first octet of the signature value SHALL become the first bit of the bit string, and so on through the least significant bit of the last octet of the signature value, which SHALL become the last bit of the bit string.<a href="#section-6.1-14" class="pilcrow">¶</a></p>
44864496
</section>
44874497
</div>
44884498
<div id="standalone-certificates">
@@ -6857,6 +6867,9 @@ <h3 id="name-since-draft-ietf-plants-merkle">
68576867
</li>
68586868
<li class="normal" id="appendix-E.15-1.9">
68596869
<p id="appendix-E.15-1.9.1">Group components of a CA into a CA-specific section that enumerates the parts of a CA<a href="#appendix-E.15-1.9.1" class="pilcrow">¶</a></p>
6870+
</li>
6871+
<li class="normal" id="appendix-E.15-1.10">
6872+
<p id="appendix-E.15-1.10.1">Canonicalize the order of cosignatures in MTCProofs<a href="#appendix-E.15-1.10.1" class="pilcrow">¶</a></p>
68606873
</li>
68616874
</ul>
68626875
</section>

draft-ietf-plants-merkle-tree-certs.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1813,6 +1813,18 @@ Table of Contents
18131813
contains the signature value as described in Section 5.3.1. The
18141814
timestamp field used when computing the signature MUST be zero.
18151815

1816+
Each element of the signatures field MUST have a unique cosigner_id.
1817+
Elements MUST be ordered by cosigner_id as follows:
1818+
1819+
* Shorter byte strings are ordered before longer byte strings
1820+
1821+
* Byte strings of the same length are ordered lexicographically
1822+
1823+
An MTCProof parser MUST reject the input if there are duplicate
1824+
cosigner_id values, or if they are not ordered correctly. This can
1825+
be done by checking each cosigner_id value comes strictly after the
1826+
previous one in the above order.
1827+
18161828
The MTCProof is encoded into the signatureValue with no additional
18171829
ASN.1 wrapping. The most significant bit of the first octet of the
18181830
signature value SHALL become the first bit of the bit string, and so
@@ -4107,6 +4119,8 @@ Since draft-ietf-plants-merkle-tree-certs-03
41074119
* Group components of a CA into a CA-specific section that
41084120
enumerates the parts of a CA
41094121

4122+
* Canonicalize the order of cosignatures in MTCProofs
4123+
41104124
Authors' Addresses
41114125

41124126
David Benjamin

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ <h2>Preview for branch <a href="order-cosigs">order-cosigs</a></h2>
167167
<tr>
168168
<td><a href="order-cosigs/draft-ietf-plants-merkle-tree-certs.html" class="html draft-ietf-plants-merkle-tree-certs" title="Merkle Tree Certificates (HTML)">Merkle Tree Certificates</a></td>
169169
<td><a href="order-cosigs/draft-ietf-plants-merkle-tree-certs.txt" class="txt draft-ietf-plants-merkle-tree-certs" title="Merkle Tree Certificates (Text)">plain text</a></td>
170-
<td><a href="https://author-tools.ietf.org/api/iddiff?url_1=https://ietf-plants-wg.github.io/merkle-tree-certs/draft-ietf-plants-merkle-tree-certs.txt&amp;url_2=https://ietf-plants-wg.github.io/merkle-tree-certs/order-cosigs/draft-ietf-plants-merkle-tree-certs.txt" class="diff draft-ietf-plants-merkle-tree-certs">diff with main</a></td>
170+
<td>same as main</td>
171171
</tr>
172172
</table>
173173
<h2>Preview for branch <a href="draft-ietf-plants-merkle-tree-certs-03">draft-ietf-plants-merkle-tree-certs-03</a></h2>

0 commit comments

Comments
 (0)