Skip to content

Alternative VCEK-certificate fetching API #267

@jordithijsman

Description

@jordithijsman

Not sure if this is the right place to ask but I think there might be some AMD people here that could provide some insight.

When fetching the VCEK-certificate, the documentation specifies the following API-endpoint: vcek/v1/{product_name}/{hwID}?{parameters}. It also specifies how to translate the binary return value into a product_name that can be used in the API.

This does not seem like a maintainable way to fetch the certificate. Every code base doing attestation verification needs to have a translation from the version value to the version string (Milan, Genoa,...), which needs to be updated every time a new generation is released. It seems to me that the API should have an (alternative) endpoint that uses a version number that can de derived directly from the CPUID return value, foregoing the need for this translation logic and making SEV-SNP capable software much easier to maintain.

Does this make sense or am I missing something here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions