releases

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: MPL-2.0 Imports: 6 Imported by: 0

README

Release verification

verify.go exposes the same embedded minisign trust key and version-bound manifest validation used by automatic updates. A master verifies the official SHA256SUMS and signature before accepting a migration binary.

metadata.go reports the current executable's SHA-256 and operating-system / architecture. The agent includes this measurement in authenticated hello frames. This is a compatibility check for trusted enrolled agents, not hardware attestation.

Documentation

Overview

Package releases exposes the agent's pinned release trust policy to masters.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PublicKey

func PublicKey() ([]byte, error)

func Verify

func Verify(manifest, signature []byte, version string) (map[string]string, error)

Verify accepts only the project's trusted, version-bound minisign manifest.

Types

type BinaryMetadata

type BinaryMetadata struct {
	SHA256   string `json:"sha256"`
	Platform string `json:"platform"`
}

func ExecutableMetadata

func ExecutableMetadata() (BinaryMetadata, error)

ExecutableMetadata hashes the current binary using bounded streaming memory.

Jump to

Keyboard shortcuts

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