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

Add info whether the native cert is builtin or user/admin installed #14

Open
est31 opened this issue Dec 3, 2020 · 0 comments
Open

Comments

@est31
Copy link
Member

est31 commented Dec 3, 2020

It would be helpful to know if a certificate has been shipped by the OS, or was installed by the user or the administrator. This unlocks two use cases:

  • ignore the certificates from the first category and use a different root store as the basis, like the ones from the webpki-roots crate.
  • impose special requirements on the OS builtin certificates. Chrome does this for example, e.g. by limiting how long a certificate can be valid. Another requirement might be a check for an SCT.

In Chromium, this check is implemented via a is_known_root field on the verification result. The value is populated from the respective OS backends.

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