blob: 1842f7ce5df1da660603867913a4660ca7271e05 [file] [log] [blame]
Alexander Afanasyeva6fc7272014-06-13 11:58:06 -07001Changes
2=======
3
Alexander Afanasyeve9f48512018-01-15 23:44:50 -05004Version 0.3
5-----------
6
Davide Pesavento4d6c3572022-05-27 12:05:05 -04007- Rewrite TLV syntax specifications using IETF Augmented BNF (:rfc:`5234`)
Junxiao Shi78ce2952019-05-07 15:34:00 -04008
Davide Pesaventocf4903e2021-11-08 22:06:22 -05009- Require shortest encoding for TLV-TYPE and TLV-LENGTH numbers
Junxiao Shi459e4662019-05-31 15:28:03 +000010
Alexander Afanasyeve9f48512018-01-15 23:44:50 -050011- **Name**
12
Davide Pesaventoec288fe2022-11-26 18:28:01 -050013 + Lift restriction on name component types, allowing types in the range [1, 65535]
Davide Pesaventocf4903e2021-11-08 22:06:22 -050014 + Correct definition of name URI encoding: disallow unescaped encoding of PLUS (``+``) and allow TILDE (``~``)
Alexander Afanasyev85f77b12021-10-26 17:44:35 -040015 + Add well-known special-use component types:
16
17 - ``ParametersSha256DigestComponent`` (type 2)
18 - ``KeywordNameComponent`` (type 32)
19 - ``SegmentNameComponent`` (type 50)
20 - ``ByteOffsetNameComponent`` (type 52)
21 - ``VersionNameComponent`` (type 54)
22 - ``TimestampNameComponent`` (type 56)
23 - ``SequenceNumNameComponent`` (type 58)
Alexander Afanasyeve9f48512018-01-15 23:44:50 -050024
Davide Pesaventoec288fe2022-11-26 18:28:01 -050025- **Interest**
26
27 + Remove ``Selectors`` element
28 + Add optional ``CanBePrefix`` element after Name
29 + Move optional ``MustBeFresh`` element after ``CanBePrefix``
30 + Move optional ``ForwardingHint`` element after ``MustBeFresh`` (before ``Nonce``)
31 + Redefine the contents of the ``ForwardingHint`` (remove numerical preference and nesting inside the ``Delegation`` TLV)
32 + Add optional ``HopLimit`` element
33 + Add optional ``ApplicationParameters`` element
34 + Define a new specification for Signed Interest using two new elements: ``InterestSignatureInfo`` and ``InterestSignatureValue``
35
36- **Data**
37
38 + Make ``MetaInfo`` and ``Content`` elements optional
39 + Change semantics of omitted (or set to zero) ``FreshnessPeriod`` element: it cannot be used to satisfy Interests with ``MustBeFresh``
40
Davide Pesavento3c0bc312020-05-18 22:03:09 -040041- **Signature**
42
43 + Require all compliant implementations to support the ``SignatureSha256WithEcdsa`` signature type using NIST curve P-256
44 + Redefine the signed portion of Data packets to be more future-proof
Junxiao Shiac25eab2022-05-27 10:52:17 +000045 + Add ``SignatureEd25519`` signature type
Davide Pesavento3c0bc312020-05-18 22:03:09 -040046
Davide Pesaventoec288fe2022-11-26 18:28:01 -050047- **LinkObject**
48
49 + The content is now just a list of names (remove numerical preference)
50
51
Alexander Afanasyev13f86d82018-01-31 12:50:34 -050052Version 0.2.1
53-------------
spirosmastorakis988e7412016-10-27 14:01:59 -070054
55- Add definition of Link Object
56
57- **Interest**
58
Davide Pesaventoec288fe2022-11-26 18:28:01 -050059 + Add default of leftmost child if ``ChildSelector`` element not present
60 + Add specification of ``ForwardingHint`` element
spirosmastorakis988e7412016-10-27 14:01:59 -070061
Eric Newberry56519862017-02-13 13:26:19 -070062- **Data**
63
Davide Pesaventoec288fe2022-11-26 18:28:01 -050064 + Updated Content Store semantics for Data packets that do not carry ``FreshnessPeriod``.
65
Eric Newberry56519862017-02-13 13:26:19 -070066
Alexander Afanasyeve9f48512018-01-15 23:44:50 -050067Version 0.2
Alexander Afanasyev13f86d82018-01-31 12:50:34 -050068-----------
Junxiao Shia0d36822014-09-21 11:32:09 -070069
70- **Name**
71
72 + Allow zero-length name component
Alexander Afanasyev4b8be212014-10-06 10:55:04 -070073 + Require implicit digest to be specified using ``ImplicitSha256Digest`` name component
Junxiao Shia0d36822014-09-21 11:32:09 -070074
Junxiao Shidef7fc52015-06-10 13:29:21 -070075- **Interest**
76
77 + Delete deprecated ``Scope`` guider
Alexander Afanasyev948affe2016-09-13 13:15:29 -070078 + Restrict Interest to have name with at least one name component
79
80- **Data**
81
Davide Pesaventoec288fe2022-11-26 18:28:01 -050082 + Redirect ``ContentType`` number assignments to the `wiki page <https://redmine.named-data.net/projects/ndn-tlv/wiki/ContentType>`__
83
84- **Signature**
85
86 + Add spec for ``SignatureHmacWithSha256``
Junxiao Shidef7fc52015-06-10 13:29:21 -070087
Junxiao Shi4406fdd2015-06-10 13:28:10 -070088- **TLV-TYPE**
89
Davide Pesaventoec288fe2022-11-26 18:28:01 -050090 + Reserve range [800, 1000] for link protocol
91
Junxiao Shi4406fdd2015-06-10 13:28:10 -070092
Alexander Afanasyev13f86d82018-01-31 12:50:34 -050093Version 0.1.1
94-------------
Alexander Afanasyeva6fc7272014-06-13 11:58:06 -070095
96- **Signature**
97
Alexander Afanasyev4b896112014-06-23 21:47:15 -070098 + New ``SignatureSha256WithEcdsa`` signature type for Elliptic Curve Digital Signature Algorithm (ECDSA).
Alexander Afanasyevf3e5e852014-06-13 22:44:02 -070099 + ``KeyLocatorDigest`` renamed to ``KeyDigest``. The specification now explicitly allows KeyDigest to be a SHA256 of any type of the key.
Alexander Afanasyeve9f48512018-01-15 23:44:50 -0500100 + ``KeyLocator`` element is now defined to be optionally present in generic ``SignatureInfo`` element.
Alexander Afanasyev4b896112014-06-23 21:47:15 -0700101 ``SignatureSha256WithRsa`` and ``SignatureSha256WithEcdsa`` still require ``KeyLocator`` to be always present.
Alexander Afanasyeva6fc7272014-06-13 11:58:06 -0700102
Davide Pesaventoec288fe2022-11-26 18:28:01 -0500103
Alexander Afanasyev13f86d82018-01-31 12:50:34 -0500104Version 0.1
105-----------
Alexander Afanasyeva6fc7272014-06-13 11:58:06 -0700106
107- **General**
108
109 + XML-based ccnb packet encoding is replaced by TLV encoding
110
111- **Name**
112
113 + The name encoding is changed from binary XML to TLV format
114 + The discussions on naming conventions and the use of special markers inside NameComponents are removed from packet specification, and will be covered by a separate technical document
115 + Deprecated zero-length name component
116
117- **Interest Packet**
118
119 + ``Nonce`` is changed from optional to required
120 + ``PublisherPublicKeyDigest`` is replaced by ``PublisherPublicKeyLocator``
121 + ``AnswerOriginKind`` is simplified from 4bits to a 1-bit ``MustBeFresh``
122 + ``FaceID`` has been removed
123 + ``InterestLifetime`` changes the unit to the number of milliseconds
124 + Removed Bloom Filter from Exclude
125 + Changed default semantics of staleness
126
127 Specifically, NDN-TLV Interest without any selectors will bring any data that matches the name, and only when ``MustBeFresh`` selector is enabled it will try to honor freshness, specified in Data packets.
128 With Binary XML encoded Interests, the default behavior was to bring "fresh" data and return "stale" data only when ``AnswerOriginKind`` was set to 3.
129
130 Application developers must be aware of this change, reexamine the Interest expression code, and enable ``MustBeFresh`` selector when necessary.
131
132- **Data Packet**
133
134 + The structure of Data packet is changed:
135
136 * ``Name``, ``MetaInfo``, ``Content``, ``Signature{SignatureInfo, SignatureValue}``
137
138 + ``SignedInfo`` is renamed to ``MetaInfo`` and its content is changed
139 + ``PublisherPublicKeyDigest`` and ``ExtOpt`` are removed.
140 + ``Timestamp`` is removed
Alexander Afanasyeve9f48512018-01-15 23:44:50 -0500141 + ``KeyLocator`` is moved to be inside the ``Signature`` (``SignatureInfo``) element
Alexander Afanasyeva6fc7272014-06-13 11:58:06 -0700142 + Three content types, ENCR, GONE, and NACK are removed
143 + ``FreshnessSeconds`` is renamed to ``FreshnessPeriod`` and is expressed in units of milliseconds
144
145- **Signature**
146
147 + ``Signature`` is moved to the end of Data packet.
Alexander Afanasyeve9f48512018-01-15 23:44:50 -0500148 + ``KeyLocator`` is moved to be a part of the ``SignatureInfo`` element, if it is applicable for the specific signature type.
Alexander Afanasyeva6fc7272014-06-13 11:58:06 -0700149
150 The rationale for the move is to make Signature (sequence of ``SignatureInfo`` and ``SignatureValue`` TLVs) self-contained and self-sufficient.
151
152 + Signature type (or signing method information) is expressed as an assigned integer value (with no assumed default), rather than OID.
153 + Added support for hash-only "signature"
154 + The current specification does not define Merkle Hash Tree Aggregated Signatures, but it is expected that such (or similar) signatures will be defined in future version of this specification