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 a field for the CSR signature to the MBM data. #218

Merged
merged 2 commits into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 13 additions & 9 deletions certz/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,15 +199,19 @@ Call `Certz.GetIntegrityManifest`. The `Certz.GetIntegrityManifestResponse`'s
PCRs to be included and all allowable digest values.

Send a `Certz.GenerateCSRRequest` to the `Certz.Rotate` endpoint, containing a
`Certz.ReferenceIntegritySpec`. Using the returned `Certz.GenerateCSRResponse`,
do the following. Verify the EK certificate chain, and verify the
AK by nonce and certification by EK. Validate PCR digest as signed by the
validated AK. Verify the digest matches with one of the allowed ones. Lastly,
validate the CSR by its AK signature, and then process and extract the public
key.

Get a new certificate issued by a trusted CA using the public key. Then
`Certz.Rotate` as normal.
`Certz.ReferenceIntegritySpec`. Using the returned `Certz.GenerateCSRResponse`
and the `MBMData` within, do the following:

* Verify the `ek_leaf_cert` using the `ek_cert_chain` and your trust anchor.
* Validate the `ak_signature` over the `ak_attestation` struct which was
certified by the EK, and validate its contents. This verifies the AK.
* Validate the `signature` over `quoted` by the AK. Then validate that the PCRs
match one of the allowed ones.
* Validate the `csr_signature` over the `certificate_signing_request` by the AK.
This verifies the CSR.

Get a new certificate issued by a trusted CA using the CSR. Then `Certz.Rotate`
as normal.

### Open Questions/Considerations

Expand Down
Loading
Loading