client

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package client (in testing) allows tests to get a fake or real sev-guest device.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSevGuest

GetSevGuest is a cross-platform testing helper function that retrives the appropriate SEV-guest device from the flags passed into "go test".

If using a test guest device, this will also produce a fake AMD-SP that produces the signed versions of given attestation reports based on different nonce input. Its returned roots of trust are based on the fake's signing credentials.

func SkipUnmockableTestCase

func SkipUnmockableTestCase(tc *test.TestCase) bool

SkipUnmockableTestCase returns whether we have to skip a mocked failure test case on real hardware.

Types

This section is empty.

Jump to

Keyboard shortcuts

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