[Ndn-interest] validator hanging

Chengyu Fan chengy.fan at gmail.com
Wed Jul 15 09:49:57 PDT 2015


Hi Duncan,

Sorry to make you confused. The ndn-tool-set contains the tools for
personal use. They are not mature code.

To make the validation code work, you have to:

1. Follow the CERTIFICATE-CHAIN to generate the key chain
2. Run certs-publisher.cpp to publish producer certificate, but you need to
specify the publisher's certificate ID in the onInterest(). For now, it is
hard coded
3. Change the file name in the consumer code. The file contains the root
certificate as the trust anchor
4. Run the producer and then the consumer to start the validation process

On Wed, Jul 15, 2015 at 9:04 AM, Duncan Rand <duncan.rand at imperial.ac.uk>
wrote:

> Hello
>
> We are implementing signature validation. In order to familiarise
> ourselves with the process we're experimenting with the
> ndn-tool-set:
>
> https://github.com/chengyu/ndn-tool-set
>
> The validation works but processEvents then hangs (which it didn't before
> adding the validation). This seems to be triggered by the validator waiting
> for certificates in the cache to expire (the expiry is added to the asio
> queue) before returning. Is there any way around this?
>
> thanks
> Duncan
> _______________________________________________
> Ndn-interest mailing list
> Ndn-interest at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest
>



-- 
Thanks,

Chengyu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20150715/78373212/attachment.html>


More information about the Ndn-interest mailing list