Skip to content

Consider exposing the Generation of an AttestationReport #389

Open

Description

@frankdavid

The crate already has the logic to derive a Generation enum from an attestation report (e.g. in the impl Encoder<()> for AttestationReport implementation).

The generation is necessary in order to e.g. encode/decode the TcbVersion. However, the generation is not exposed, so users must duplicate the generation detection logic from the crate.

Would be nice to have a field or a method on AttestationReport that clients could use to retrieve the generation of the plaform.

Activity

  1. hyperfinitism commented on Apr 8, 2026

    @hyperfinitism
    Contributor

    I agree. For attestation reports where generation detection does not work (e.g. reports retrieved from AWS EC2 instances with SEV-SNP), generation info must be specified explicitly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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