Project

General

Profile

Actions

Bug #4524

closed

validator_config::Checker should enforce sig-type check

Added by Anonymous about 6 years ago. Updated about 3 years ago.

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

100%

Estimated time:

Description

When validator_config::Checker::createCustomizedChecker is reading the config file "checker" section, it ignores the "sig-type":
https://github.com/named-data/ndn-cxx/blob/5dc7560d5dbcdf2588796f315f15c9704a2a314f/ndn-cxx/security/validator-config/checker.cpp#L170

But the Validator Configuration File spec say that the packet is required to have a signature of the specified sig-type:
https://named-data.net/doc/ndn-cxx/current/tutorials/security-validator-config.html#customized-checker

The task is to implement this check in ndn-cxx.


Related issues 1 (1 open0 closed)

Related to ndn-cxx - Feature #5148: ValidatorConfig: multiple sig-type restrictions in a single checkerNew

Actions
Actions

Also available in: Atom PDF