extractsev

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

Package extractsev provides utilities for extracting SEV-SNP endorsements.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNotInExtras is returned when the GCE endorsement is not in the certificate chain extras.
	ErrNotInExtras = errors.New("GCE endorsement not in certificate chain extras")
)

Functions

func FromAttestation

func FromAttestation(at *spb.Attestation) ([]byte, error)

FromAttestation returns the contents of the SEV-SNP auxblob entry for the GCE UEFI endorsement.

func FromCertTable

func FromCertTable(table []byte) ([]byte, error)

FromCertTable returns the contents of the certificate table entry for the GCE UEFI endorsement.

func GCETcbObjectName

func GCETcbObjectName(familyID string, measurement []byte) string

GCETcbObjectName returns the expected object name within a GCS bucket for a firmware measured for SEV-SNP.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL