release

command
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: Apache-2.0 Imports: 39 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command release is the release builder: it turns a release description, the built image digests, the cosign signatures and the previous release into the documents the box verifies (release-manifest.json, index.json), signs them with the pinned minisign tool, and verifies the result with the box-side verifier (internal/release) before anything is published. It runs on the maintainer's machine, offline except push and publish; it creates no tag and holds no key.

go run ./scripts/release cosign-plan -in release.in.json -images dist/release/images.json -sbom dist/sbom -key ~/keys/cosign.key -out dist/release/cosign   (prints the sign lines, then a cosign attest --type cyclonedx line per platform SBOM)
go run ./scripts/release manifest    -in release.in.json -cosign-dir dist/release/cosign -out dist/release [-gates dist/release/gates.json] [-prev-index DIR -ref v0.2.0 -baseline-ref v0.1.0 -keys-dir DIR]
go run ./scripts/release container-assets -in release.in.json -out dist/release [-ref v0.2.0 -compose-dir deploy/compose/container-only]   (the compose files and the filled vedette.env, read from git at the tag; sign signs them, verify checks them)
go run ./scripts/release index       -out dist/release -manifest dist/release/release-manifest.json [-prev-index DIR -keys-dir DIR]
go run ./scripts/release index       -out dist/refresh -prev-index DIR        (the weekly refresh: no manifest; then sign and verify the same directory)
go run ./scripts/release index       ... -revoke-key <key id> -revoke-reason TEXT   (a key revocation; it counts only in an index the backup key signs)
go run ./scripts/release index       ... -advisory advisory.json   (a new advisory every box shows on its Updates page; repeatable)
go run ./scripts/release index       -out dist/withdraw -prev-index DIR -revoke-release 0.2.0 -revoked-manifest FILE -revoke-reason TEXT [-revoke-digest sha256:...] [-channel-manifest FILE | -hold-channel stable] [-revoke-action block_install]   (withdraw a published release or image; docs/RUNBOOK.md §9.1)
go run ./scripts/release min-sequence -prev-index DIR [-keys-dir DIR]   (prints the sequence of the published index: the MIN_SEQUENCE of vedette-host; index -min-sequence N refuses a sequence not above it)
go run ./scripts/release check-binaries BINARY...   (preflight: refuses a binary built with -tags releasetestkeys, the throwaway release keys)
go run ./scripts/release check-image -image localhost/vedette-scan-base:check -kind scan-base [-container podman|docker] [-repo .]   (the files the gates check inside core and scan-base, on one local image; make images-check)
go run ./scripts/release sign        -dir dist/release -key ~/keys/minisign.key -minisign /abs/minisign [-slot backup | -slot rescue -prev-index DIR -keys-dir DIR] [-passphrase-stdin]
go run ./scripts/release verify      -dir dist/release [-prev-index DIR] [-keys-dir DIR]
go run ./scripts/release packs       -dir content/mitigation/packs -version 2026.12.2.1 -key ~/keys/minisign.key -minisign /abs/minisign [-keys-dir DIR] [-passphrase-stdin]
go run ./scripts/release push        -version 0.2.0 [-registry ghcr.io/knt048] [-platforms linux/amd64,linux/arm64] -out dist/release [-gates dist/release/gates.json]   (the lists of make images the gates checked, by digest; writes images.json)
go run ./scripts/release in          -images dist/release/images.json -channel stable -rollback-safe false [-rollback-min-version V] [-min-upgrade-from V] [-deb-dir dist] [-gates dist/release/gates.json] -out release.in.json
go run ./scripts/release gates       -version 0.2.0 -min-sequence N [-platforms ...] [-deb-dir dist] [-out dist/release] [-preflight]   (check-binaries -release inside each .deb, image labels, the files inside core and scan-base, the .deb rebuilt with the floor; writes gates.json when all passed)
go run ./scripts/release publish     -dir dist/release -in release.in.json [-prev-index DIR | -first-release] [-keys-dir DIR] [-run]   (prints, or runs, the gh release commands; the index last)
go run ./scripts/release deb-name    -version 1.0.0-beta.1 [-dir dist]   (part A: nfpm's vedette-host_1.0.0~beta.1_<arch>.deb to the SemVer name, before in)
go run ./scripts/release signal-seed -prev content/signals/seed.json -out content/signals/seed.json [-csaf-cisco FILE.jsonl.gz] [-csaf-fortinet FILE.jsonl.gz]   (the seed of exploitation claims the release ships: the previous seed plus what Vedette's decoders read now from Chrome Releases, the Rapid7 and Google Threat Intelligence blogs and Android's bulletins; online, public feeds only)
go run ./scripts/release bake-install -dir dist/release -in release.in.json -key ~/keys/minisign.key -minisign /abs/minisign [-ref v<version>] [-keys-dir DIR] [-passphrase-stdin]   (part A: install.sh at the tag with its three lines baked from the manifest, signed "file:install.sh version:<v>")

push and publish talk to the registry and GitHub (podman's login, gh's token), signal-seed reads public feeds; every other command is offline.

See `make help` (release-*) for the make targets and docs/specs/update-manifest.md for the documents.

Jump to

Keyboard shortcuts

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