[Ndn-lib] Request for comments about KeyLocator in Data packets in NDN-TLV format

Yingdi Yu yingdi at cs.ucla.edu
Thu Apr 10 16:40:02 PDT 2014


I wonder whether we should make SignatureInfo (instead of PublisherPublicKeyLocator) as a selector. This would be more generic and enable the signature flexibility.

Yingdi


On Apr 10, 2014, at 4:30 PM, Alex Afanasyev <alexander.afanasyev at ucla.edu> wrote:

> Hi!
> 
> Our NDN-TLV specification (http://named-data.net/doc/ndn-tlv/data.html) currently defines KeyLocator as part of specific signature types, since it may make sense for some signatures and doesn't make sense for other.  
> 
> However, yesterday I realized that there is inconsistency in this specification.  In Interest packet we have defined PublisherPublicKeyLocator, which can be present in any Interest packet as part of selectors (http://named-data.net/doc/ndn-tlv/interest.html#selectors).   The "problem" is that the generic Interest defines KeyLocator, while "generic" Data does not and in order to match selector, one needs to check signature type, figure out whether this signature can contain KeyLocator and then try to match it (this is just logical view, implementation, obviously, can do it more efficiently).
> 
> What I was thinking is to define optional KeyLocator field as part of generic specification of SignatureInfo field (http://named-data.net/doc/ndn-tlv/signature.html), instead of it be a mandatory field for some signature types.   This does not change the wire format in any ways, just reorganizes logical structure of the specification.
> 
> I would appreciate your opinions on the issue.
> 
> ---
> Alex
> 
> 
> _______________________________________________
> Ndn-lib mailing list
> Ndn-lib at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-lib

Best Regards,

Yingdi Yu
Ph.D. Student
Computer Science Department, UCLA
yingdi at cs.ucla.edu
irl.cs.ucla.edu/~yingdi/




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-lib/attachments/20140410/05992484/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-lib/attachments/20140410/05992484/attachment.bin>


More information about the Ndn-lib mailing list