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 optional validation of attestation root certs #164

Conversation

AdamUCF
Copy link
Contributor

@AdamUCF AdamUCF commented May 20, 2020

As discussed in #159 and #158, this adds a configurable flag to validate that the root certificate matches a known root. This applies to TPM, Packed and U2F attestation formats.

To be honest, I think this should always be on, particularly for Packed and U2F. The code really seems to imply that the validation has occurred as this is implemented within the metadata verification. TPM is more tricky since the attestation root situation sucks for TPM. I'll submit a separate PR to hopefully improve that.

@aseigler aseigler merged commit fe1c30b into passwordless-lib:master May 21, 2020
@abergs abergs added the feature New feature label May 28, 2020
@abergs abergs mentioned this pull request May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants