Bug #4524
Updated by Davide Pesavento over 3 years ago
When `validator_config::Checker::createCustomizedChecker` v2::Checker::createCustomizedChecker is reading the config file "checker" section, it ignores the "sig-type": "sig-type":<br> https://github.com/named-data/ndn-cxx/blob/5dc7560d5dbcdf2588796f315f15c9704a2a314f/ndn-cxx/security/validator-config/checker.cpp#L170 https://github.com/named-data/ndn-cxx/blob/e5a19b8d8631c3b2b8a9bd28502d08cad61f743a/src/security/v2/validator-config/checker.cpp#L160 But the Validator Configuration File spec say that the packet is required to have a signature of the specified sig-type: sig-type:<bt> https://named-data.net/doc/ndn-cxx/current/tutorials/security-validator-config.html#customized-checker http://named-data.net/doc/ndn-cxx/current/tutorials/security-validator-config.html#customized-checker The task is either to implement this check in ndn-cxx. ndn-cxx, or to remove the requirement from the specification.