initialize

package
v2.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package initialize implements functions to mark a node as initialized in the context of cluster attestation. This is done by measuring the cluster ID using the available CC technology.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNodeBootstrapped

func IsNodeBootstrapped(openDevice func() (io.ReadWriteCloser, error)) (bool, error)

IsNodeBootstrapped checks if a node is already bootstrapped by reading PCRs.

func MarkNodeAsBootstrapped

func MarkNodeAsBootstrapped(openDevice func() (io.ReadWriteCloser, error), clusterID []byte) error

MarkNodeAsBootstrapped marks a node as initialized by extending PCRs. clusterID is used to uniquely identify this running instance of Constellation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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