blob: b153fff9de64a38b752bdd96f0357ba7bf5a1661 [file] [log] [blame]
Alexander Afanasyeva6fc7272014-06-13 11:58:06 -07001Changes
2=======
3
Junxiao Shia0d36822014-09-21 11:32:09 -07004Since version 0.1.1
5-------------------
6
7- **Name**
8
9 + Allow zero-length name component
Alexander Afanasyev4b8be212014-10-06 10:55:04 -070010 + Require implicit digest to be specified using ``ImplicitSha256Digest`` name component
Junxiao Shia0d36822014-09-21 11:32:09 -070011
Junxiao Shidef7fc52015-06-10 13:29:21 -070012- **Interest**
13
14 + Delete deprecated ``Scope`` guider
15
Alexander Afanasyeva6fc7272014-06-13 11:58:06 -070016Since version 0.1
17-----------------
18
19- **Signature**
20
Alexander Afanasyev4b896112014-06-23 21:47:15 -070021 + New ``SignatureSha256WithEcdsa`` signature type for Elliptic Curve Digital Signature Algorithm (ECDSA).
Alexander Afanasyevf3e5e852014-06-13 22:44:02 -070022 + ``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 -070023 + ``KeyLocator`` field is now defined to be optionally present in generic ``SignatureInfo`` block.
24 ``SignatureSha256WithRsa`` and ``SignatureSha256WithEcdsa`` still require ``KeyLocator`` to be always present.
Alexander Afanasyeva6fc7272014-06-13 11:58:06 -070025
26Since CCNx 0.7.2
27----------------
28
29- **General**
30
31 + XML-based ccnb packet encoding is replaced by TLV encoding
32
33- **Name**
34
35 + The name encoding is changed from binary XML to TLV format
36 + 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
37 + Deprecated zero-length name component
38
39- **Interest Packet**
40
41 + ``Nonce`` is changed from optional to required
42 + ``PublisherPublicKeyDigest`` is replaced by ``PublisherPublicKeyLocator``
43 + ``AnswerOriginKind`` is simplified from 4bits to a 1-bit ``MustBeFresh``
44 + ``FaceID`` has been removed
45 + ``InterestLifetime`` changes the unit to the number of milliseconds
46 + Removed Bloom Filter from Exclude
47 + Changed default semantics of staleness
48
49 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.
50 With Binary XML encoded Interests, the default behavior was to bring "fresh" data and return "stale" data only when ``AnswerOriginKind`` was set to 3.
51
52 Application developers must be aware of this change, reexamine the Interest expression code, and enable ``MustBeFresh`` selector when necessary.
53
54- **Data Packet**
55
56 + The structure of Data packet is changed:
57
58 * ``Name``, ``MetaInfo``, ``Content``, ``Signature{SignatureInfo, SignatureValue}``
59
60 + ``SignedInfo`` is renamed to ``MetaInfo`` and its content is changed
61 + ``PublisherPublicKeyDigest`` and ``ExtOpt`` are removed.
62 + ``Timestamp`` is removed
63 + ``KeyLocator`` is moved to be inside the ``Signature`` (``SignatureInfo``) block
64 + Three content types, ENCR, GONE, and NACK are removed
65 + ``FreshnessSeconds`` is renamed to ``FreshnessPeriod`` and is expressed in units of milliseconds
66
67- **Signature**
68
69 + ``Signature`` is moved to the end of Data packet.
70 + ``KeyLocator`` is moved to be a part of the ``SignatureInfo`` block, if it is applicable for the specific signature type.
71
72 The rationale for the move is to make Signature (sequence of ``SignatureInfo`` and ``SignatureValue`` TLVs) self-contained and self-sufficient.
73
74 + Signature type (or signing method information) is expressed as an assigned integer value (with no assumed default), rather than OID.
75 + Added support for hash-only "signature"
76 + 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