Repository navigation
tui-router v0.5.0
tui-router 0.5.0
- Restore requires a verified signature (#26). An unsigned artifact is refused unless
--allow-unsignedis given, which prints what is being trusted before the confirmation; the cockpit asks for "trust unsigned" typed on a danger screen.--dry-runstill previews any artifact. Independently of the signature, a content gate refuses any line that would make root run a command or load files from elsewhere (roles.conf keys outside an allowlist, WireGuard hooks other than the ones tui-wireguard writes, dnsmasq script options, sysctl keys outside net.*, nft include, among others), listing file:line in the preview. - Exports are signed by default with a machine-local Ed25519 key (#27), created under /etc/tui-router on the first export after a typed yes (
--create-keyfor scripts);--sign KEYnames another key and--no-signskips signing. The public key is written beside the artifact with its fingerprint. Without--verify, restore tries the machine's own key and /etc/tui-router/trusted-keys/*.pub, so a same-machine restore needs no flags. - Behavior changes from these security fixes: the cockpit's restore key prompt starts empty, and the
.pubthat travels with an artifact is only mentioned as untrusted, never offered or suggested; an export that cannot read a location that exists (for example /etc/wireguard without root) fails, names the locations and writes nothing, instead of writing an incomplete backup. A restore of an unsigned backup made with 0.4.x needs--allow-unsignedor the typed confirmation. - Built with tui-kit v0.5.0, the kit's security release, and Go 1.27.4, which fixes GO-2026-6859 in the standard library. As root, the repository key is accepted only when it is the pinned key alone; privileged commands are resolved only from trusted root-owned system paths and start from a minimal environment; config files must be owned and writable by root alone, and TUI_ROUTER_* variables carried over from sudo, doas, pkexec or su are refused (the error points at /etc/tui-router/config.toml). Running without root is unchanged.
- The manual apt, dnf and pacman setup in the README checks the downloaded key against the pinned fingerprint before any step trusts it.
- CI actions on their latest versions. Nothing else changes.
Built by this repository's CI on the tag itself. Each archive ships a
CycloneDX SBOM, checksums.txt carries a keyless cosign signature, and
every file has SLSA build provenance — see the README's "Verify a
download" for the two commands that check them.
The commits in this release:
Changelog
- e3c1589 0.5.0: tui-kit v0.5.0 (security release) (#29)
- 8b14772 Bump github.com/tui-tools/tui-kit (#24)
- 6b50b22 Bump the github-actions group across 1 directory with 5 updates (#25)
- c579068 Packages are available from pkgs.tui.tools (#22)
- 497c085 Require a verified signature and gate root-run directives on restore (#26)
- 08074a2 Sign exports by default with a machine-local key (#27)
- f955004 Take tui-kit v0.5.0 and Go 1.27.4 (#28)