<div dir="ltr">Dear Dr. Alex,<div><br><div>Thanks for your reply, i'm very grateful.</div></div><div><br></div><div>Follow by your suggestion, i have set up that producer's attribute as following:</div><div>producerHelper.SetAttribute("Signature","Fake signature", UintegerValue(100));</div><div>producerHelper.SetAttribute("KeyLocator", StringValue("unique/key/locator"));<br></div><div><br></div><div>However, as you mentioned in the email, it won't be an actual signing. What will it truly make?</div><div><br></div><div>I found this former email about signing and verification : <a href="https://www.lists.cs.ucla.edu/pipermail/nfd-dev/2017-December/002948.html">https://www.lists.cs.ucla.edu/pipermail/nfd-dev/2017-December/002948.html</a> ,but i still don't know how to make it works on producer、consumer and router. Could you guide me more? Any advice will be appreciated.</div><div><br></div><div><div>My best regards.</div><font color="#888888"><div><div><font color="#000000">Cheng-Wei Lin</font></div></div></font></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Alex Afanasyev <<a href="mailto:aa@cs.fiu.edu">aa@cs.fiu.edu</a>> 於 2021年7月4日 週日 下午10:48寫道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">By default, the signatures that producer app is creating are fake, and it is up to your simulation scenario to determine which "fake" is considered good signature and which not.  You only need to set <span style="color:rgb(3,47,98);font-family:ui-monospace,SFMono-Regular,"SF Mono",Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-variant-ligatures:normal;white-space:pre-wrap;background-color:rgb(255,255,255)">Signature</span>  property when installing this Producer app on a node.<div><br></div><div>If you want to play with actual signatures, you would need to create an updated version of the producer app and use KeyChain to do actual signing.</div><div><br></div><div>-</div><div>Alex<br><div><br><blockquote type="cite"><div>On Jul 4, 2021, at 6:00 AM, Cheng-Wei Lin via ndnSIM <<a href="mailto:ndnsim@lists.cs.ucla.edu" target="_blank">ndnsim@lists.cs.ucla.edu</a>> wrote:</div><br><div><div dir="ltr"><span>Dear all,</span><div><font><br></font><div><span>I want to set an experiment with a producer which will always respond interest with data with fake signature, the consumer and router can verify those data's signature and return the result.</span></div><div><span><br></span></div><div><span>I see there is an verification-helpers.hpp in security folder, but i don't know how to make it works on consumer and router. Can anyone guide me how to do it? Any help will be appreciated.</span></div></div><div><br></div><div>My best regards.</div><div><div><font>Cheng-Wei Lin</font></div></div><div><font><br></font></div><div><font><br></font></div></div>
_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br></div></blockquote></div><br></div></div></blockquote></div>