8000 Onboarding: define public key format + introduce aliases by jflevesque-genetec · Pull Request #523 · onvif/specs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Onboarding: define public key format + introduce aliases #523

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

Merged
merged 2 commits into from
Feb 6, 2025

Conversation

jflevesque-genetec
Copy link
Contributor

So while prototyping the Onboarding spec, we found 2 things that could be improved upon. The first is that the public key in the deviceCompleted request had an undefined format. Using the PKCS10 CSR made sense, so we added that to the specification.

The other is the handling of the trust anchors. While trying to setup the camera for webrtc, we realized that knowing the alias of the certificate path validation policy would really be helpful to easily reuse it instead of trying to find a policy that matches all trust anchors one by one. For this, we extracted the trust anchors from each model and instead made a certPathValidationPolicy object which contains an alias and the trustAnchors. We can then reference this policy in the authorization server config and uplink configuration using the alias as the key. This should also make the whole payload a bit smaller, since we don't need to repeat the trust anchors in each configurations.

You can easily preview the changes in https://editor-next.swagger.io/

@ocampana-videotec ocampana-videotec self-requested a review February 6, 2025 12:45
Copy link
Contributor
@ocampana-videotec ocampana-videotec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good for me

@ocampana-videotec ocampana-videotec merged commit 515acf1 into video/onboarding Feb 6, 2025
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

Successfully merging this pull request may close these issues.

2 participants
0