[Ndn-interest] validator hanging

Chengyu Fan chengy.fan at gmail.com
Wed Jul 15 19:48:03 PDT 2015


Hi Duncan,

Sorry I misunderstood your question.
For the processEvents hanging, you may use m_face->getIoService().stop() to
stop the ioservice when the job is done.

On Wed, Jul 15, 2015 at 12:08 PM, Duncan Rand <duncan.rand at imperial.ac.uk>
wrote:

> 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.
>
> regards
> Duncan
>
> 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
>
>


-- 
Thanks,

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


More information about the Ndn-interest mailing list