Task #1679
closed
signPacketWrapper: Interest nonce is 64 bits, not 32 bits according to docs
Added by Anonymous over 10 years ago.
Updated over 10 years ago.
I kind of tend to think that we better update the spec to allow any value that can be represented in nonNegativeInteger encoding. The value of the nonce is not important and not checked anywhere. The only purpose is to differentiate between different interests (signed by different parties).
- Category set to Docs
- Assignee set to Yingdi Yu
- Target version set to v0.2
- Estimated time set to 0.50 h
- Status changed from New to Feedback
- % Done changed from 0 to 100
Spec has been updated. Now a signed interest should contain a 64-bit nonce.
It should allow either value... It really doesn't matter
- Status changed from Feedback to Closed
The spec now accepts a random number encoded in nonNegativeInteger and does not explicitly specify how wide this number should be. In ndn-cxx we will use 64-bit number (which can be encoded shorter than that). Other implementation can choose to use shorter type, if needed.
Also available in: Atom
PDF