Documentation
¶
Overview ¶
Package passthrough provides a TEE attestation validator that accepts any attestation without verification, recording each use via a metric so the insecure path stays observable. INSECURE; intended only for local and test environments where fake (non-Nitro) enclaves are trusted.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
Validator accepts any attestation without verification. It implements the same validate methods as the Nitro validator so it can be swapped in wherever a validator is expected, and counts every call so the insecure passthrough path can be alerted on if ever enabled outside test environments.
func (*Validator) ValidateAttestation ¶
ValidateAttestation accepts any attestation, recording the use.