Alexander Afanasyev | a6fc727 | 2014-06-13 11:58:06 -0700 | [diff] [blame] | 1 | Changes |
| 2 | ======= |
| 3 | |
Junxiao Shi | a0d3682 | 2014-09-21 11:32:09 -0700 | [diff] [blame] | 4 | Since version 0.1.1 |
| 5 | ------------------- |
| 6 | |
| 7 | - **Name** |
| 8 | |
| 9 | + Allow zero-length name component |
Alexander Afanasyev | 4b8be21 | 2014-10-06 10:55:04 -0700 | [diff] [blame] | 10 | + Require implicit digest to be specified using ``ImplicitSha256Digest`` name component |
Junxiao Shi | a0d3682 | 2014-09-21 11:32:09 -0700 | [diff] [blame] | 11 | |
Alexander Afanasyev | 948affe | 2016-09-13 13:15:29 -0700 | [diff] [blame^] | 12 | - **Signature** |
| 13 | |
| 14 | + Add spec for ``SignatureHmacWithSha256`` |
| 15 | |
Junxiao Shi | def7fc5 | 2015-06-10 13:29:21 -0700 | [diff] [blame] | 16 | - **Interest** |
| 17 | |
| 18 | + Delete deprecated ``Scope`` guider |
Alexander Afanasyev | 948affe | 2016-09-13 13:15:29 -0700 | [diff] [blame^] | 19 | + Restrict Interest to have name with at least one name component |
| 20 | |
| 21 | - **Data** |
| 22 | |
| 23 | + Redirect ContentType number assignments to the `wiki page <https://redmine.named-data.net/projects/ndn-tlv/wiki/ContentType>`__ |
Junxiao Shi | def7fc5 | 2015-06-10 13:29:21 -0700 | [diff] [blame] | 24 | |
Junxiao Shi | 4406fdd | 2015-06-10 13:28:10 -0700 | [diff] [blame] | 25 | - **TLV-TYPE** |
| 26 | |
| 27 | + Reserve 800-1000 range for link protocol |
| 28 | |
Alexander Afanasyev | a6fc727 | 2014-06-13 11:58:06 -0700 | [diff] [blame] | 29 | Since version 0.1 |
| 30 | ----------------- |
| 31 | |
| 32 | - **Signature** |
| 33 | |
Alexander Afanasyev | 4b89611 | 2014-06-23 21:47:15 -0700 | [diff] [blame] | 34 | + New ``SignatureSha256WithEcdsa`` signature type for Elliptic Curve Digital Signature Algorithm (ECDSA). |
Alexander Afanasyev | f3e5e85 | 2014-06-13 22:44:02 -0700 | [diff] [blame] | 35 | + ``KeyLocatorDigest`` renamed to ``KeyDigest``. The specification now explicitly allows KeyDigest to be a SHA256 of any type of the key. |
Alexander Afanasyev | 4b89611 | 2014-06-23 21:47:15 -0700 | [diff] [blame] | 36 | + ``KeyLocator`` field is now defined to be optionally present in generic ``SignatureInfo`` block. |
| 37 | ``SignatureSha256WithRsa`` and ``SignatureSha256WithEcdsa`` still require ``KeyLocator`` to be always present. |
Alexander Afanasyev | a6fc727 | 2014-06-13 11:58:06 -0700 | [diff] [blame] | 38 | |
| 39 | Since CCNx 0.7.2 |
| 40 | ---------------- |
| 41 | |
| 42 | - **General** |
| 43 | |
| 44 | + XML-based ccnb packet encoding is replaced by TLV encoding |
| 45 | |
| 46 | - **Name** |
| 47 | |
| 48 | + The name encoding is changed from binary XML to TLV format |
| 49 | + 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 |
| 50 | + Deprecated zero-length name component |
| 51 | |
| 52 | - **Interest Packet** |
| 53 | |
| 54 | + ``Nonce`` is changed from optional to required |
| 55 | + ``PublisherPublicKeyDigest`` is replaced by ``PublisherPublicKeyLocator`` |
| 56 | + ``AnswerOriginKind`` is simplified from 4bits to a 1-bit ``MustBeFresh`` |
| 57 | + ``FaceID`` has been removed |
| 58 | + ``InterestLifetime`` changes the unit to the number of milliseconds |
| 59 | + Removed Bloom Filter from Exclude |
| 60 | + Changed default semantics of staleness |
| 61 | |
| 62 | 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. |
| 63 | With Binary XML encoded Interests, the default behavior was to bring "fresh" data and return "stale" data only when ``AnswerOriginKind`` was set to 3. |
| 64 | |
| 65 | Application developers must be aware of this change, reexamine the Interest expression code, and enable ``MustBeFresh`` selector when necessary. |
| 66 | |
| 67 | - **Data Packet** |
| 68 | |
| 69 | + The structure of Data packet is changed: |
| 70 | |
| 71 | * ``Name``, ``MetaInfo``, ``Content``, ``Signature{SignatureInfo, SignatureValue}`` |
| 72 | |
| 73 | + ``SignedInfo`` is renamed to ``MetaInfo`` and its content is changed |
| 74 | + ``PublisherPublicKeyDigest`` and ``ExtOpt`` are removed. |
| 75 | + ``Timestamp`` is removed |
| 76 | + ``KeyLocator`` is moved to be inside the ``Signature`` (``SignatureInfo``) block |
| 77 | + Three content types, ENCR, GONE, and NACK are removed |
| 78 | + ``FreshnessSeconds`` is renamed to ``FreshnessPeriod`` and is expressed in units of milliseconds |
| 79 | |
| 80 | - **Signature** |
| 81 | |
| 82 | + ``Signature`` is moved to the end of Data packet. |
| 83 | + ``KeyLocator`` is moved to be a part of the ``SignatureInfo`` block, if it is applicable for the specific signature type. |
| 84 | |
| 85 | The rationale for the move is to make Signature (sequence of ``SignatureInfo`` and ``SignatureValue`` TLVs) self-contained and self-sufficient. |
| 86 | |
| 87 | + Signature type (or signing method information) is expressed as an assigned integer value (with no assumed default), rather than OID. |
| 88 | + Added support for hash-only "signature" |
| 89 | + 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 |