Actions
Bug #4524
closed
validator_config::Checker should enforce sig-type check
Start date:
Due date:
% Done:
100%
Estimated time:
Tags:
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.
Actions