Skip to content

Commit cee9b93

Browse files
committed
Script updating gh-pages from da89d8a. [ci skip]
1 parent 3159622 commit cee9b93

File tree

2 files changed

+33
-14
lines changed

2 files changed

+33
-14
lines changed

draft-mcnally-deterministic-cbor.html

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,11 +1048,11 @@
10481048
<thead><tr>
10491049
<td class="left">Internet-Draft</td>
10501050
<td class="center">dCBOR</td>
1051-
<td class="right">November 2025</td>
1051+
<td class="right">December 2025</td>
10521052
</tr></thead>
10531053
<tfoot><tr>
10541054
<td class="left">McNally, et al.</td>
1055-
<td class="center">Expires 6 May 2026</td>
1055+
<td class="center">Expires 23 June 2026</td>
10561056
<td class="right">[Page]</td>
10571057
</tr></tfoot>
10581058
</table>
@@ -1065,12 +1065,12 @@
10651065
<dd class="internet-draft">draft-mcnally-deterministic-cbor-latest</dd>
10661066
<dt class="label-published">Published:</dt>
10671067
<dd class="published">
1068-
<time datetime="2025-11-02" class="published">2 November 2025</time>
1068+
<time datetime="2025-12-20" class="published">20 December 2025</time>
10691069
</dd>
10701070
<dt class="label-intended-status">Intended Status:</dt>
10711071
<dd class="intended-status">Standards Track</dd>
10721072
<dt class="label-expires">Expires:</dt>
1073-
<dd class="expires"><time datetime="2026-05-06">6 May 2026</time></dd>
1073+
<dd class="expires"><time datetime="2026-06-23">23 June 2026</time></dd>
10741074
<dt class="label-authors">Authors:</dt>
10751075
<dd class="authors">
10761076
<div class="author">
@@ -1126,7 +1126,7 @@ <h2 id="name-status-of-this-memo">
11261126
time. It is inappropriate to use Internet-Drafts as reference
11271127
material or to cite them other than as "work in progress."<a href="#section-boilerplate.1-3" class="pilcrow"></a></p>
11281128
<p id="section-boilerplate.1-4">
1129-
This Internet-Draft will expire on 6 May 2026.<a href="#section-boilerplate.1-4" class="pilcrow"></a></p>
1129+
This Internet-Draft will expire on 23 June 2026.<a href="#section-boilerplate.1-4" class="pilcrow"></a></p>
11301130
</section>
11311131
</div>
11321132
<div id="copyright">
@@ -1296,10 +1296,11 @@ <h3 id="name-conventions-and-definitions">
12961296
<h2 id="name-narrowing-rules">
12971297
<a href="#section-2" class="section-number selfRef">2. </a><a href="#name-narrowing-rules" class="section-name selfRef">Narrowing Rules</a>
12981298
</h2>
1299-
<p id="section-2-1">This section specifies the exclusions and reductions that dCBOR applies to CBOR.<a href="#section-2-1" class="pilcrow"></a></p>
1299+
<p id="section-2-1">This section is normative and specifies the exclusions and reductions that dCBOR applies to CBOR, thereby narrowing the set of data items allowed that are drawn from CBOR’s basic generic data model.<a href="#section-2-1" class="pilcrow"></a></p>
13001300
<p id="section-2-2">The rules specified here do not "fork" CBOR: A dCBOR implementation produces well-formed, deterministically encoded CBOR according to <span>[<a href="#RFC8949" class="cite xref">RFC8949</a>]</span>, and existing CBOR decoders will therefore be able to decode it. Similarly, CBOR encoders will be able to produce valid dCBOR if handed dCBOR-conforming data model level information from an application.<a href="#section-2-2" class="pilcrow"></a></p>
13011301
<p id="section-2-3">Note that the separation between standard CBOR processing and the processing required by the dCBOR rules is a conceptual one: Both dCBOR processing and standard CBOR processing may be combined into a unified dCBOR/CBOR codec. The requirements in this document apply to encoding or decoding of dCBOR data, regardless of whether the codec is a unified dCBOR/CBOR codec operating in dCBOR-compliant modes, or a single-purpose dCBOR codec. Both of these are generically referred to as "dCBOR codecs" in this document.<a href="#section-2-3" class="pilcrow"></a></p>
1302-
<p id="section-2-4">dCBOR is intended to be used in conjunction with an application, which typically will use a subset of CBOR, which in turn influences which subset of dCBOR that is used. As a result, dCBOR places no direct requirement on what subset of CBOR is implemented. For instance, there is no requirement that dCBOR implementations support floating point numbers (or any other kind of non-basic integer type, such as arbitrary precision integers or complex numbers) when they are used with applications that do not use them. However, this document does place requirements on dCBOR implementations that support negative 64-bit integers and 64-bit or smaller floating point numbers.<a href="#section-2-4" class="pilcrow"></a></p>
1302+
<p id="section-2-4">A CBOR data item is considered to conform to dCBOR only if every CBOR data item nested within it, recursively (including array elements, map keys and values, and the contents of tagged data items), also conforms to the narrowing rules in this section.<a href="#section-2-4" class="pilcrow"></a></p>
1303+
<p id="section-2-5">dCBOR is intended to be used in conjunction with an application, which typically will use a subset of CBOR, which in turn influences which subset of dCBOR that is used. As a result, dCBOR places no direct requirement on what subset of CBOR is implemented. For instance, there is no requirement that dCBOR implementations support floating point numbers (or any other kind of non-basic integer type, such as arbitrary precision integers or complex numbers) when they are used with applications that do not use them. However, this document does place requirements on dCBOR implementations that support 64-bit integers and 64-bit or smaller floating point numbers.<a href="#section-2-5" class="pilcrow"></a></p>
13031304
<div id="definite-length-items">
13041305
<section id="section-2.1">
13051306
<h3 id="name-definite-length-items">
@@ -1434,6 +1435,7 @@ <h3 id="name-numeric-reduction">
14341435
<span class="bcp14">MUST</span> reject any encoded floating point values that are not encoded according to the above rules.<a href="#section-2.5-7.1" class="pilcrow"></a>
14351436
</li>
14361437
</ol>
1438+
<p id="section-2.5-8">For the purposes of this document, the dCBOR numeric model comprises only untagged integers and untagged floating point values in the CBOR basic generic data model (major types 0, 1, and 7 as defined in <span>[<a href="#RFC8949" class="cite xref">RFC8949</a>]</span> and by the type <code>number</code> in <span>[<a href="#RFC8610" class="cite xref">RFC8610</a>]</span>). Numeric Reduction and the duplicate-key considerations in this section apply only to such untagged numeric values, wherever they occur in a dCBOR data item. Tagged data items themselves are not part of the dCBOR numeric model: two tagged data items are equal in dCBOR only if both their tag numbers and their enclosed CBOR data items are equal, and no tagged data item is ever considered numerically equal to an untagged data item.<a href="#section-2.5-8" class="pilcrow"></a></p>
14371439
</section>
14381440
</div>
14391441
<div id="simple-values">

draft-mcnally-deterministic-cbor.txt

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
Network Working Group W. McNally
66
Internet-Draft C. Allen
77
Intended status: Standards Track Blockchain Commons
8-
Expires: 6 May 2026 C. Bormann
8+
Expires: 23 June 2026 C. Bormann
99
Universität Bremen TZI
1010
L. Lundblade
1111
Security Theory LLC
12-
2 November 2025
12+
20 December 2025
1313

1414

1515
dCBOR: Deterministic CBOR
@@ -52,7 +52,7 @@ Status of This Memo
5252
time. It is inappropriate to use Internet-Drafts as reference
5353
material or to cite them other than as "work in progress."
5454

55-
This Internet-Draft will expire on 6 May 2026.
55+
This Internet-Draft will expire on 23 June 2026.
5656

5757
Copyright Notice
5858

@@ -136,8 +136,9 @@ Table of Contents
136136

137137
2. Narrowing Rules
138138

139-
This section specifies the exclusions and reductions that dCBOR
140-
applies to CBOR.
139+
This section is normative and specifies the exclusions and reductions
140+
that dCBOR applies to CBOR, thereby narrowing the set of data items
141+
allowed that are drawn from CBOR’s basic generic data model.
141142

142143
The rules specified here do not "fork" CBOR: A dCBOR implementation
143144
produces well-formed, deterministically encoded CBOR according to
@@ -155,6 +156,11 @@ Table of Contents
155156
a single-purpose dCBOR codec. Both of these are generically referred
156157
to as "dCBOR codecs" in this document.
157158

159+
A CBOR data item is considered to conform to dCBOR only if every CBOR
160+
data item nested within it, recursively (including array elements,
161+
map keys and values, and the contents of tagged data items), also
162+
conforms to the narrowing rules in this section.
163+
158164
dCBOR is intended to be used in conjunction with an application,
159165
which typically will use a subset of CBOR, which in turn influences
160166
which subset of dCBOR that is used. As a result, dCBOR places no
@@ -164,8 +170,7 @@ Table of Contents
164170
such as arbitrary precision integers or complex numbers) when they
165171
are used with applications that do not use them. However, this
166172
document does place requirements on dCBOR implementations that
167-
support negative 64-bit integers and 64-bit or smaller floating point
168-
numbers.
173+
support 64-bit integers and 64-bit or smaller floating point numbers.
169174

170175
2.1. Definite Length Items
171176

@@ -289,6 +294,18 @@ Table of Contents
289294
3. MUST reject any encoded floating point values that are not
290295
encoded according to the above rules.
291296

297+
For the purposes of this document, the dCBOR numeric model comprises
298+
only untagged integers and untagged floating point values in the CBOR
299+
basic generic data model (major types 0, 1, and 7 as defined in
300+
[RFC8949] and by the type number in [RFC8610]). Numeric Reduction
301+
and the duplicate-key considerations in this section apply only to
302+
such untagged numeric values, wherever they occur in a dCBOR data
303+
item. Tagged data items themselves are not part of the dCBOR numeric
304+
model: two tagged data items are equal in dCBOR only if both their
305+
tag numbers and their enclosed CBOR data items are equal, and no
306+
tagged data item is ever considered numerically equal to an untagged
307+
data item.
308+
292309
2.6. Simple Values
293310

294311
Only the three "simple" (major type 7) values false (0xf4), true

0 commit comments

Comments
 (0)