Alexander Afanasyev | a6fc727 | 2014-06-13 11:58:06 -0700 | [diff] [blame] | 1 | Changes |
| 2 | ======= |
| 3 | |
Alexander Afanasyev | e9f4851 | 2018-01-15 23:44:50 -0500 | [diff] [blame] | 4 | Version 0.3 |
| 5 | ----------- |
| 6 | |
| 7 | - **Interest** |
| 8 | |
| 9 | + Remove ``Selectors`` element |
| 10 | + Add optional ``CanBePrefix`` element after Name |
| 11 | + Move optional ``MustBeFresh`` element after ``CanBePrefix`` |
| 12 | + Move optional ``ForwardingHint`` element after ``MustBeFresh`` (before ``Nonce``) |
| 13 | + Add optional ``HopLimit`` element |
| 14 | + Add optional ``Parameters`` element |
| 15 | |
| 16 | - **Data** |
| 17 | |
| 18 | + Make ``MetaInfo`` and ``Content`` elements optional |
| 19 | + Change semantics of omitted (or set to zero) ``FreshnessPeriod`` element: it cannot be used to satisfy |
| 20 | Interests with ``MustBeFresh`` |
| 21 | |
| 22 | - **Name** |
| 23 | |
| 24 | + Lift restriction on name component types, allowing types in the range ``1`` - ``32767``. |
| 25 | + Correct definition of name URI encoding: disallow unescaped encoding of PLUS ``+`` and allow TILDE ``~``. |
| 26 | |
Alexander Afanasyev | 13f86d8 | 2018-01-31 12:50:34 -0500 | [diff] [blame] | 27 | Version 0.2.1 |
| 28 | ------------- |
spirosmastorakis | 988e741 | 2016-10-27 14:01:59 -0700 | [diff] [blame] | 29 | |
| 30 | - Add definition of Link Object |
| 31 | |
| 32 | - **Interest** |
| 33 | |
Alexander Afanasyev | e9f4851 | 2018-01-15 23:44:50 -0500 | [diff] [blame] | 34 | + Add default of leftmost child if ChildSelector element not present |
| 35 | + Add specification of ForwardingHint element |
spirosmastorakis | 988e741 | 2016-10-27 14:01:59 -0700 | [diff] [blame] | 36 | |
Eric Newberry | 5651986 | 2017-02-13 13:26:19 -0700 | [diff] [blame] | 37 | - **Data** |
| 38 | |
| 39 | + Updated Content Store semantics for Data packets that do not carry FreshnessPeriod. |
| 40 | |
spirosmastorakis | 988e741 | 2016-10-27 14:01:59 -0700 | [diff] [blame] | 41 | ************************************************************ |
| 42 | |
Alexander Afanasyev | e9f4851 | 2018-01-15 23:44:50 -0500 | [diff] [blame] | 43 | Version 0.2 |
Alexander Afanasyev | 13f86d8 | 2018-01-31 12:50:34 -0500 | [diff] [blame] | 44 | ----------- |
Junxiao Shi | a0d3682 | 2014-09-21 11:32:09 -0700 | [diff] [blame] | 45 | |
| 46 | - **Name** |
| 47 | |
| 48 | + Allow zero-length name component |
Alexander Afanasyev | 4b8be21 | 2014-10-06 10:55:04 -0700 | [diff] [blame] | 49 | + Require implicit digest to be specified using ``ImplicitSha256Digest`` name component |
Junxiao Shi | a0d3682 | 2014-09-21 11:32:09 -0700 | [diff] [blame] | 50 | |
Alexander Afanasyev | 948affe | 2016-09-13 13:15:29 -0700 | [diff] [blame] | 51 | - **Signature** |
| 52 | |
| 53 | + Add spec for ``SignatureHmacWithSha256`` |
| 54 | |
Junxiao Shi | def7fc5 | 2015-06-10 13:29:21 -0700 | [diff] [blame] | 55 | - **Interest** |
| 56 | |
| 57 | + Delete deprecated ``Scope`` guider |
Alexander Afanasyev | 948affe | 2016-09-13 13:15:29 -0700 | [diff] [blame] | 58 | + Restrict Interest to have name with at least one name component |
| 59 | |
| 60 | - **Data** |
| 61 | |
| 62 | + 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] | 63 | |
Junxiao Shi | 4406fdd | 2015-06-10 13:28:10 -0700 | [diff] [blame] | 64 | - **TLV-TYPE** |
| 65 | |
| 66 | + Reserve 800-1000 range for link protocol |
| 67 | |
spirosmastorakis | 988e741 | 2016-10-27 14:01:59 -0700 | [diff] [blame] | 68 | ************************************************************ |
| 69 | |
Alexander Afanasyev | 13f86d8 | 2018-01-31 12:50:34 -0500 | [diff] [blame] | 70 | Version 0.1.1 |
| 71 | ------------- |
Alexander Afanasyev | a6fc727 | 2014-06-13 11:58:06 -0700 | [diff] [blame] | 72 | |
| 73 | - **Signature** |
| 74 | |
Alexander Afanasyev | 4b89611 | 2014-06-23 21:47:15 -0700 | [diff] [blame] | 75 | + New ``SignatureSha256WithEcdsa`` signature type for Elliptic Curve Digital Signature Algorithm (ECDSA). |
Alexander Afanasyev | f3e5e85 | 2014-06-13 22:44:02 -0700 | [diff] [blame] | 76 | + ``KeyLocatorDigest`` renamed to ``KeyDigest``. The specification now explicitly allows KeyDigest to be a SHA256 of any type of the key. |
Alexander Afanasyev | e9f4851 | 2018-01-15 23:44:50 -0500 | [diff] [blame] | 77 | + ``KeyLocator`` element is now defined to be optionally present in generic ``SignatureInfo`` element. |
Alexander Afanasyev | 4b89611 | 2014-06-23 21:47:15 -0700 | [diff] [blame] | 78 | ``SignatureSha256WithRsa`` and ``SignatureSha256WithEcdsa`` still require ``KeyLocator`` to be always present. |
Alexander Afanasyev | a6fc727 | 2014-06-13 11:58:06 -0700 | [diff] [blame] | 79 | |
spirosmastorakis | 988e741 | 2016-10-27 14:01:59 -0700 | [diff] [blame] | 80 | ************************************************************ |
| 81 | |
Alexander Afanasyev | 13f86d8 | 2018-01-31 12:50:34 -0500 | [diff] [blame] | 82 | Version 0.1 |
| 83 | ----------- |
Alexander Afanasyev | a6fc727 | 2014-06-13 11:58:06 -0700 | [diff] [blame] | 84 | |
| 85 | - **General** |
| 86 | |
| 87 | + XML-based ccnb packet encoding is replaced by TLV encoding |
| 88 | |
| 89 | - **Name** |
| 90 | |
| 91 | + The name encoding is changed from binary XML to TLV format |
| 92 | + 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 |
| 93 | + Deprecated zero-length name component |
| 94 | |
| 95 | - **Interest Packet** |
| 96 | |
| 97 | + ``Nonce`` is changed from optional to required |
| 98 | + ``PublisherPublicKeyDigest`` is replaced by ``PublisherPublicKeyLocator`` |
| 99 | + ``AnswerOriginKind`` is simplified from 4bits to a 1-bit ``MustBeFresh`` |
| 100 | + ``FaceID`` has been removed |
| 101 | + ``InterestLifetime`` changes the unit to the number of milliseconds |
| 102 | + Removed Bloom Filter from Exclude |
| 103 | + Changed default semantics of staleness |
| 104 | |
| 105 | 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. |
| 106 | With Binary XML encoded Interests, the default behavior was to bring "fresh" data and return "stale" data only when ``AnswerOriginKind`` was set to 3. |
| 107 | |
| 108 | Application developers must be aware of this change, reexamine the Interest expression code, and enable ``MustBeFresh`` selector when necessary. |
| 109 | |
| 110 | - **Data Packet** |
| 111 | |
| 112 | + The structure of Data packet is changed: |
| 113 | |
| 114 | * ``Name``, ``MetaInfo``, ``Content``, ``Signature{SignatureInfo, SignatureValue}`` |
| 115 | |
| 116 | + ``SignedInfo`` is renamed to ``MetaInfo`` and its content is changed |
| 117 | + ``PublisherPublicKeyDigest`` and ``ExtOpt`` are removed. |
| 118 | + ``Timestamp`` is removed |
Alexander Afanasyev | e9f4851 | 2018-01-15 23:44:50 -0500 | [diff] [blame] | 119 | + ``KeyLocator`` is moved to be inside the ``Signature`` (``SignatureInfo``) element |
Alexander Afanasyev | a6fc727 | 2014-06-13 11:58:06 -0700 | [diff] [blame] | 120 | + Three content types, ENCR, GONE, and NACK are removed |
| 121 | + ``FreshnessSeconds`` is renamed to ``FreshnessPeriod`` and is expressed in units of milliseconds |
| 122 | |
| 123 | - **Signature** |
| 124 | |
| 125 | + ``Signature`` is moved to the end of Data packet. |
Alexander Afanasyev | e9f4851 | 2018-01-15 23:44:50 -0500 | [diff] [blame] | 126 | + ``KeyLocator`` is moved to be a part of the ``SignatureInfo`` element, if it is applicable for the specific signature type. |
Alexander Afanasyev | a6fc727 | 2014-06-13 11:58:06 -0700 | [diff] [blame] | 127 | |
| 128 | The rationale for the move is to make Signature (sequence of ``SignatureInfo`` and ``SignatureValue`` TLVs) self-contained and self-sufficient. |
| 129 | |
| 130 | + Signature type (or signing method information) is expressed as an assigned integer value (with no assumed default), rather than OID. |
| 131 | + Added support for hash-only "signature" |
| 132 | + 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 |