decode

Decode and display an attestation report in human-readable format.

vhsm nitride attestation decode <path-or-json>

Examples

Decode from file:

vhsm nitride attestation decode @attestation.json

Decode raw JSON string:

vhsm nitride attestation decode '{"Version":1,"Provider":"sev-snp-raw","Attestation":{...}}'

Input format

The command expects an attestation wrapper JSON with the following structure:

{
  "Version": 1,
  "Provider": "sev-snp-raw",
  "Attestation": {
    "Report": "<base64-encoded-snp-report>",
    ...
  }
}

Supported providers

Provider
Description

sev-snp-raw

Raw SEV-SNP attestation (VMPL 0)

sev-snp-vtpm

SVSM-based SEV-SNP attestation (VMPL 1)

aws-sev-snp-raw

AWS Nitro SEV-SNP attestation

gcp-sev-snp-raw

Google Cloud SEV-SNP attestation

azure-sev-snp-vtpm

Azure SEV-SNP with vTPM

Output

The command outputs a human-readable representation of the SNP report:

Last updated

Was this helpful?