Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Docs
Target version:
Start date:
06/19/2014
Due date:
% Done:

100%

Estimated time:
0.50 h

Description

On the NFD wiki, it says the nonce in a signed command interest is 32 bits. "The value of the n-2 th component is random value (32bits)":

http://redmine.named-data.net/projects/nfd/wiki/Command_Interests

But KeyChain::signPacketWrapper creates a 64-bit nonce using generateWord64:

https://github.com/named-data/ndn-cxx/blob/0f5fb696dd53d204272980df53c55d6ccaede059/src/security/key-chain.hpp#L932

Maybe it's not a bug and the Command_Interest page should be changed to call for a 64-bit nonce?

Actions

Also available in: Atom PDF