Task #4586
Signature: redefine signed portion considering unrecognized non-critical TLV
Start date:
Due date:
% Done:
100%
Estimated time:
Description
Packet Format v0.3 defines SignatureValue to be a signature over Name+MetaInfo+Content+SignatureInfo. For example, with SignatureType=3, it is ECDSA over SHA256{Name, MetaInfo, Content, SignatureInfo}
. This definition makes it impossible to introduce new elements covered by signature in a compatible way.
To restore the design intention of SignatureValue, the definition shall be updated as follows:
- All elements before SignantureValue are covered by signature.
- All elements after SignatureValue are not covered by signature.
This enables future protocol versions to introduce new signed elements by adding them before SignatureValue or introduce new unsigned elements by adding them after SignatureValue.
Related issues
Updated by Junxiao Shi almost 3 years ago
- Blocks Bug #4583: verification-helpers: cannot handle Data with unrecognized non-critical TLV elements added
Updated by Junxiao Shi almost 3 years ago
- Related to Task #4587: Interest+Data: forbid unrecognized non-critical TLV before/inside Name added
Updated by Junxiao Shi over 1 year ago
- Status changed from New to In Progress
- Assignee set to Junxiao Shi
- % Done changed from 0 to 100
Updated by Junxiao Shi about 1 year ago
- Assignee deleted (
Junxiao Shi)
I will no longer work on this issue due to disagreements with code reviewers.
Others are welcome to take over.
Updated by Davide Pesavento 10 months ago
- Status changed from In Progress to Code review
- Assignee set to Davide Pesavento