Project

General

Profile

Actions

Feature #1705

closed

Select DigestSha256 signing method with Identity Name

Added by Alex Afanasyev almost 10 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Security
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

Reserve ndn:/localhost/identity/digest-sha256 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.


Related issues 3 (0 open3 closed)

Blocked by ndn-cxx - Feature #2218: KeyChain: sign Interest with SHA256 digestClosedYingdi Yu

Actions
Blocked by ndn-cxx - Feature #2451: New Abstraction for Identity Key CertificateClosedYingdi Yu01/29/2015

Actions
Blocks ndn-cxx - Task #2926: Refactor KeyChainClosedYingdi Yu

Actions
Actions

Also available in: Atom PDF