Project

General

Profile

Bug #1467

Updated by Yingdi Yu over 11 years ago

The method  

     static bool 
     verifySignature(const Interest& interest, 
                     const SignatureSha256WithRsa& sig, 
                     const PublicKey& publicKey) 

 did not take the SignatureInfo name component as a part of the signed interest name, which will always cause signature verification failure.  

 This would happened when interest is signed by a trust anchor. In other cases, the other verifySignature methods will be called.

Back