Project

General

Profile

Actions

Feature #5148

open

ValidatorConfig: multiple sig-type restrictions in a single checker

Added by Junxiao Shi almost 4 years ago. Updated about 1 year ago.

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

0%

Estimated time:

Description

In ValidatorConfig, it's sometimes useful to specify a restriction on SignatureType.
For example, a checker could be specified as:

checker
{
  type hierarchical
  sig-type rsa-sha256
  sig-type ecdsa-sha256
}

The sig-type key should be optional and repeatable.
If sig-type is present, the packet must have any one of the specified SignatureTypes.
If sig-type is absent, the packet may have any SignatureType.

The syntax of sig-type value is to be determined.
It should at least allow specifying the signature algorithm, and could be extended to also specify minimum key length.


Related issues 1 (0 open1 closed)

Related to ndn-cxx - Bug #4524: validator_config::Checker should enforce sig-type checkClosedAlex Afanasyev

Actions
Actions

Also available in: Atom PDF