Documentation
¶
Overview ¶
Package upgradeassembly authenticates public release evidence and durably publishes the exact offline bundle consumed by the mandatory runtime gate.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Assemble ¶
Assemble verifies all input evidence before atomically publishing a new runtime bundle. It never signs evidence, replaces output or changes trust state.
func ReadDocument ¶
ReadDocument reads a bounded, regular public document without following a final symlink. This is intended for independently pinned roots and trust floors.
Types ¶
type Options ¶
type Options struct {
Pinned releasetrust.PinnedTrust
Floor releaseidentity.SnapshotFloor
SnapshotDirectory string
KeysDirectory string
OutputDirectory string
Releases []string
Nightlies []string
Bridges []string
// NightlyPolicy is the currently published nightly policy when the caller
// obtained one online; its revocations then apply to every nightly input.
NightlyPolicy []byte
// NightlyPlatform selects native binary and metadata inputs for a v2 bundle.
// Empty preserves complete v1 offline release assembly.
NightlyPlatform string
}
Options identifies a closed set of public evidence directories. Pinned must come from an independently trusted source. Floor is the installation's durable trust floor; assembly never advances it. OutputDirectory must not exist and its parent must already exist. Inputs are read with bounded, no-follow semantics.