-
Notifications
You must be signed in to change notification settings - Fork 26
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
Question on attestation.. #30
Comments
Good catch, looks like |
This mistake basically means that |
Another question: Line 81 in 32315ce
In this line the attestationCert is marked as CA and added as an Intermediate, would this stop the 'chain' validation since the CARoot is also added as a root? I am thinking for a proper chain validation this line should not be here? or am I miss understanding something? |
No, the reason it’s explicitly set here is because some (all?) Yubikey’s don’t set the isCA attribute on the attestation cert, so chain verification would fail. I believe all intermediate CA certs need the isCA attribute set to true. |
The method VerifyAttestation takes two certs as input but I don't see where 'attestedCert' is used, should it be here?:
go-ykpiv/attestation.go
Line 83 in 32315ce
or here?:
go-ykpiv/attestation.go
Line 85 in 32315ce
The text was updated successfully, but these errors were encountered: