gpu

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultVendor         = "nvidia"
	DefaultEvidenceFormat = "nvat-json"
)
View Source
const (
	DefaultVerifierBinary = "nvidia-attestation-helper"
)

Variables

This section is empty.

Functions

func NewVerifier

func NewVerifier(binaryPath string, timeout time.Duration) (attestation.Verifier, error)

Types

type Collector

type Collector interface {
	Collect(ctx context.Context, nonce []byte) (*Evidence, error)
}

Collector retrieves GPU evidence for the current attestation session.

func NewCommandCollector

func NewCommandCollector(binaryPath string, timeout time.Duration) (Collector, error)

NewCommandCollector creates a collector that shells out to a helper binary. The helper is expected to read a JSON request on stdin and emit a JSON response on stdout. See tools/nvidia-attestation-helper for the contract.

type Evidence

type Evidence struct {
	Vendor         string
	EvidenceFormat string
	Nonce          []byte
	RawEvidence    []byte
}

Evidence contains low-level GPU evidence collected out-of-process.

Jump to

Keyboard shortcuts

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