blob: 1f5dd27b3b7b61ec1c887406159d7e124bc49910 [file] [log] [blame]
Alexander Afanasyeva6fc7272014-06-13 11:58:06 -07001Changes
2=======
3
spirosmastorakis988e7412016-10-27 14:01:59 -07004Since version 0.2
5-----------------
6
7- Add definition of Link Object
8
9- **Interest**
10
11 + Add specification of Link and SelectedDelegation fields
12
Eric Newberry56519862017-02-13 13:26:19 -070013- **Data**
14
15 + Updated Content Store semantics for Data packets that do not carry FreshnessPeriod.
16
spirosmastorakis988e7412016-10-27 14:01:59 -070017************************************************************
18
Junxiao Shia0d36822014-09-21 11:32:09 -070019Since version 0.1.1
20-------------------
21
22- **Name**
23
24 + Allow zero-length name component
Alexander Afanasyev4b8be212014-10-06 10:55:04 -070025 + Require implicit digest to be specified using ``ImplicitSha256Digest`` name component
Junxiao Shia0d36822014-09-21 11:32:09 -070026
Alexander Afanasyev948affe2016-09-13 13:15:29 -070027- **Signature**
28
29 + Add spec for ``SignatureHmacWithSha256``
30
Junxiao Shidef7fc52015-06-10 13:29:21 -070031- **Interest**
32
33 + Delete deprecated ``Scope`` guider
Alexander Afanasyev948affe2016-09-13 13:15:29 -070034 + Restrict Interest to have name with at least one name component
35
36- **Data**
37
38 + Redirect ContentType number assignments to the `wiki page <https://redmine.named-data.net/projects/ndn-tlv/wiki/ContentType>`__
Junxiao Shidef7fc52015-06-10 13:29:21 -070039
Junxiao Shi4406fdd2015-06-10 13:28:10 -070040- **TLV-TYPE**
41
42 + Reserve 800-1000 range for link protocol
43
spirosmastorakis988e7412016-10-27 14:01:59 -070044************************************************************
45
Alexander Afanasyeva6fc7272014-06-13 11:58:06 -070046Since version 0.1
47-----------------
48
49- **Signature**
50
Alexander Afanasyev4b896112014-06-23 21:47:15 -070051 + New ``SignatureSha256WithEcdsa`` signature type for Elliptic Curve Digital Signature Algorithm (ECDSA).
Alexander Afanasyevf3e5e852014-06-13 22:44:02 -070052 + ``KeyLocatorDigest`` renamed to ``KeyDigest``. The specification now explicitly allows KeyDigest to be a SHA256 of any type of the key.
Alexander Afanasyev4b896112014-06-23 21:47:15 -070053 + ``KeyLocator`` field is now defined to be optionally present in generic ``SignatureInfo`` block.
54 ``SignatureSha256WithRsa`` and ``SignatureSha256WithEcdsa`` still require ``KeyLocator`` to be always present.
Alexander Afanasyeva6fc7272014-06-13 11:58:06 -070055
spirosmastorakis988e7412016-10-27 14:01:59 -070056************************************************************
57
Alexander Afanasyeva6fc7272014-06-13 11:58:06 -070058Since CCNx 0.7.2
59----------------
60
61- **General**
62
63 + XML-based ccnb packet encoding is replaced by TLV encoding
64
65- **Name**
66
67 + The name encoding is changed from binary XML to TLV format
68 + 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
69 + Deprecated zero-length name component
70
71- **Interest Packet**
72
73 + ``Nonce`` is changed from optional to required
74 + ``PublisherPublicKeyDigest`` is replaced by ``PublisherPublicKeyLocator``
75 + ``AnswerOriginKind`` is simplified from 4bits to a 1-bit ``MustBeFresh``
76 + ``FaceID`` has been removed
77 + ``InterestLifetime`` changes the unit to the number of milliseconds
78 + Removed Bloom Filter from Exclude
79 + Changed default semantics of staleness
80
81 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.
82 With Binary XML encoded Interests, the default behavior was to bring "fresh" data and return "stale" data only when ``AnswerOriginKind`` was set to 3.
83
84 Application developers must be aware of this change, reexamine the Interest expression code, and enable ``MustBeFresh`` selector when necessary.
85
86- **Data Packet**
87
88 + The structure of Data packet is changed:
89
90 * ``Name``, ``MetaInfo``, ``Content``, ``Signature{SignatureInfo, SignatureValue}``
91
92 + ``SignedInfo`` is renamed to ``MetaInfo`` and its content is changed
93 + ``PublisherPublicKeyDigest`` and ``ExtOpt`` are removed.
94 + ``Timestamp`` is removed
95 + ``KeyLocator`` is moved to be inside the ``Signature`` (``SignatureInfo``) block
96 + Three content types, ENCR, GONE, and NACK are removed
97 + ``FreshnessSeconds`` is renamed to ``FreshnessPeriod`` and is expressed in units of milliseconds
98
99- **Signature**
100
101 + ``Signature`` is moved to the end of Data packet.
102 + ``KeyLocator`` is moved to be a part of the ``SignatureInfo`` block, if it is applicable for the specific signature type.
103
104 The rationale for the move is to make Signature (sequence of ``SignatureInfo`` and ``SignatureValue`` TLVs) self-contained and self-sufficient.
105
106 + Signature type (or signing method information) is expressed as an assigned integer value (with no assumed default), rather than OID.
107 + Added support for hash-only "signature"
108 + 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