helpers

package
v0.1.28 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package helpers defines encryption handlers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SaltGetter

type SaltGetter func(context.Context) ([]byte, error)

SaltGetter defines the closure which can be used in key handlers to get the encryption salt.

type SystemInformationGetter

type SystemInformationGetter func(context.Context) (*hardware.SystemInformation, error)

SystemInformationGetter defines the closure which can be used in key handlers to get the node UUID.

type TPMLockFunc

type TPMLockFunc func(context.Context, func() error) error

TPMLockFunc is a function that ensures that the TPM is locked and PCR state is as expected.

Jump to

Keyboard shortcuts

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