Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Override certificate name parts in KeyLocator #73

Open
yoursunny opened this issue May 29, 2020 · 1 comment
Open

Override certificate name parts in KeyLocator #73

yoursunny opened this issue May 29, 2020 · 1 comment

Comments

@yoursunny
Copy link
Contributor

yoursunny commented May 29, 2020

Since #72, KeyLocator can contain either a key name or a certificate name.
When the validator operates in a network environment that uses a distinct certificate chain than what appears the KeyLocator, it may be necessary to override parts of the certificate name before fetching certificate.

This feature is to introduce an "issuer id override" option in ndn_sig_verifier_verify_*.
After specifying this option to <issuer-id>:

  • For KeyLocator name that is a key name /<subject>/KEY/<key-id>, certificate retrieval Interest should be /<subject>/KEY/<key-id>/<issuer-id> CanBePrefix=true.
  • For KeyLocator name that is a certificate name with a different issuer id /<subject>/KEY/<key-id>/<issuer-other>, certificate retrieval Interest should be /<subject>/KEY/<key-id>/<issuer-id> CanBePrefix=true.
  • For KeyLocator name that is a certificate name with the same issuer id /<subject>/KEY/<key-id>/<issuer-id>/<version>, certificate retrieval Interest should be /<subject>/KEY/<key-id>/<issuer-id>/<version> CanBePrefix=false.
@yoursunny
Copy link
Contributor Author

Cross-project links:
https://redmine.named-data.net/issues/5113

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant