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

Adding Turin support and updating ASK CN #78

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

DGonzalezVillal
Copy link
Member

Adding Turin support for certificate fetching.

A recent update to the CA certificates changed the name of the ASK common name to SEV-, we added that option to our parser so that certificate verification still works.

Adding Turin support for certificate fetching.

A recent update to the CA certificates changed the name of the ASK common name to SEV-<processor name>,
we added that option to our parser so that certificate verfication still works.

Signed-off-by: DGonzalezVillal <[email protected]>
Copy link
Contributor

@larrydewey larrydewey left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks!

@@ -277,7 +277,7 @@ mod attestation {
{
match val.to_lowercase() {
x if x.contains("ark") => Ok(CertType::ARK),
x if x.contains("ask") => Ok(CertType::ASK),
x if x.contains("ask") | x.contains("sev") => Ok(CertType::ASK),
Copy link
Member

Choose a reason for hiding this comment

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

What's the point of this?

Copy link
Contributor

Choose a reason for hiding this comment

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

@tylerfanelli This was an addition due to a change introduced to the KDS. Formerly the Common name of the ASK contained "ASK", now it contains "SEV-", so we adjusted it to be backward-compatible.

Copy link
Member

Choose a reason for hiding this comment

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

Understood, thanks for clearing that up.

@tylerfanelli tylerfanelli merged commit 0ba1ab5 into virtee:main Nov 7, 2024
10 checks passed
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.

3 participants