Skip to content

stile v0.1.1 — deployment-first distribution

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Oct 07:21
ea50dc6

stile v0.1.1 — deployment-first distribution

stile is a capability-oriented secret broker for Linux: an
unprivileged stile CLI, a privileged stile-brokerd service, and a
root-owned registry that defines every action the broker may take.
Untrusted callers (AI coding agents, CI jobs, helper scripts) request
narrow lifecycle operations — rotate, verify, reconcile, status, list,
provider-assisted import — and receive structured reports. Secret
values never cross back to the caller; the wire protocol cannot even
express a value-returning operation.

v0.1.1 is a distribution release: no broker behaviour has changed
since v0.1.0 — the ways you deploy it have.

What's new

NixOS: first-class module

services.stile.enable = true;   # + accessGroup, registryFile, ageKeyFile,
                                #   socketPath, stateDir, extraReadWritePaths

Manages the hardened service, the stile-access group, runtime/state
directories and a generated non-secret broker config. Registry and
age-identity paths are asserted against /nix/store/ values so
secret-bearing files can never be copied into the world-readable store.
A NixOS VM test runs in CI and asserts the live boundary: socket
0660 root:stile-access, an access-group member can list secrets, a
non-member is denied.

Debian/Ubuntu: a real system package

sudo apt install ./stile_0.1.1_amd64.deb

Now installs /usr/bin binaries, the hardened systemd unit, the
stile-access group (systemd-sysusers) and state directories
(systemd-tmpfiles), plus a conffile /etc/stile/brokerd.toml with
working defaults. The service is deliberately not enabled: it
cannot function until you provision the registry and the SOPS age
identity, and the package says so instead of pretending. remove
preserves all administrator data; only purge deletes it. Both amd64
and arm64 are built and package-tested in a clean Debian container on
every release.

GitHub Releases stay canonical

Static musl tarballs (x86_64/aarch64), .debs, and SHASUMS256.txt
from one tag. The README's manual path now documents the complete
systemd deployment (group, age identity, registry, unit, socket
verification) — copying two binaries alone is explicitly not a stile
deployment.

crates.io & Linuxbrew

The four crates remain published (cargo install stile --locked
installs the client binary only — no systemd, no /etc/stile, no
group, no service lifecycle; it is a development/custom-deployment
channel, and the README now says exactly that). The Homebrew tap is
Linux-only (depends_on :linux) and labelled a developer convenience;
macOS is not supported.

Security posture (unchanged, restated)

Early-stage, security-sensitive, not independently audited. stile
is designed to keep secret values behind the broker boundary; it does
not prove anything, and a caller granted a rotation capability holds
real authority over that secret. Read
THREAT_MODEL.md
before trusting it with real credentials.

Reporting vulnerabilities

Use
private vulnerability reporting —
not public issues. See
SECURITY.md.