Project

General

Profile

Feature #1705

Updated by Junxiao Shi over 9 years ago

Reserve `ndn:/localhost/identity/digest-sha256` `ndn:/localhost/identity/DigestSha256` as a special Identity Name.   
 When this Identity Name is passed to `KeyChain::sign` or becomes the default with `ndnsec-set-default`, the packet is hashed with DigestSha256 signing method. 

 **Necessity** 

 Right now, the default signature (selected signature during sign operation) not only specifies which public key will be used during the signing, but also which exactly algorithm (rsa or ecdsa). 

 However. It is literally impossible right now to "select" digestSha256 "signing" without specifically designing the application in a special way.    If we designate some special "public key identity" that can be created/set using ndnsec-set-default, then it would be trivial for a user to select very cheap signing, if it is really desired.

Back