named-data / python-ndn

An NDN client library with AsyncIO support in Python 3
https://python-ndn.readthedocs.io/en/latest
Apache License 2.0
24 stars 17 forks source link

Include certificate name in KeyLocator #13

Closed yoursunny closed 2 years ago

yoursunny commented 4 years ago

Currently, KeyLocator in Interest/Data signature carries the key name only. When there are multiple certificates issued to the same key, including when the certificate has been renewed on the same key, the validator may be retrieving an unexpected certificate.

This issue is to put the certificate name into KeyLocator during signing, so that the validator can retrieve the certificate without additional configuration.

yoursunny commented 4 years ago

Cross-project links: https://redmine.named-data.net/issues/5112 https://github.com/named-data-iot/ndn-lite/issues/72