proofemit

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChainPath

func ChainPath(statePath string) string

func EmitIdentityTransition

func EmitIdentityTransition(statePath string, transition lifecycle.Transition, eventType string) error

func HasEnvSigningKey

func HasEnvSigningKey() bool

func LoadChain

func LoadChain(path string) (*proof.Chain, error)

func LoadSigningMaterial

func LoadSigningMaterial(statePath string) (proof.SigningKey, error)

func LoadVerifierKey

func LoadVerifierKey(statePath string) (proof.PublicKey, error)

func SaveChain

func SaveChain(path string, chain *proof.Chain) error

func SigningKeyPath

func SigningKeyPath(statePath string) string

Types

type Summary

type Summary struct {
	Findings    int
	Risk        int
	Transitions int
	Total       int
	ChainPath   string
}

func EmitScan

func EmitScan(statePath string, now time.Time, findings []model.Finding, report risk.Report, profile profileeval.Result, posture score.Result, transitions []lifecycle.Transition) (Summary, error)

Jump to

Keyboard shortcuts

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