[Ndn-interest] validator hanging

Duncan Rand duncan.rand at imperial.ac.uk
Wed Jul 15 11:08:10 PDT 2015

Hi Chengyu

Yes, we've done the steps you list and indeed the validation works, but as I said the code hangs in processEvents. Our code shows the same problem. 


On 15 Jul 2015, at 17:49, Chengyu Fan wrote:

> 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 --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2989 bytes
Desc: not available
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20150715/80526aba/attachment.bin>

More information about the Ndn-interest mailing list