<div dir="ltr">Hi Duncan,<div><br></div><div>Sorry to make you confused. The ndn-tool-set contains the tools for personal use. They are not mature code. </div><div><br></div><div>To make the validation code work, you have to:</div><div><br></div><div>1. Follow the CERTIFICATE-CHAIN to generate the key chain</div><div>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</div><div>3. Change the file name in the consumer code. The file contains the root certificate as the trust anchor</div><div>4. Run the producer and then the consumer to start the validation process</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 15, 2015 at 9:04 AM, Duncan Rand <span dir="ltr"><<a href="mailto:duncan.rand@imperial.ac.uk" target="_blank">duncan.rand@imperial.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello<br>
<br>
We are implementing signature validation. In order to familiarise ourselves with the process we're experimenting with the<br>
ndn-tool-set:<br>
<br>
<a href="https://github.com/chengyu/ndn-tool-set" rel="noreferrer" target="_blank">https://github.com/chengyu/ndn-tool-set</a><br>
<br>
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?<br>
<br>
thanks<br>
Duncan<br>
_______________________________________________<br>
Ndn-interest mailing list<br>
<a href="mailto:Ndn-interest@lists.cs.ucla.edu" target="_blank">Ndn-interest@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Thanks,</div><div><br></div>Chengyu</div></div>
</div>