Skip to content

Releases

stile v0.1.1 — deployment-first distribution

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.

stile v0.1.0 — capabilities, not credentials

Choose a tag to compare

@github-actions github-actions released this 30 Sep 15:18
6ff0e25

stile v0.1.0 — capabilities, not credentials

stile is a capability-oriented secret broker for Linux. It lets an
untrusted process — an AI coding agent, a CI job, a helper script —
perform narrowly defined lifecycle operations on secrets (rotate,
verify, reconcile, status, list, provider-assisted import) while the
secret values stay behind a privilege boundary the caller cannot cross.

BAD:    agent → "give me the deploy token" → agent makes arbitrary requests
BETTER: agent → stile rotate example-app/session-key
              → broker rotates, deploys, reloads, verifies
              → agent receives a structured report, never the token

What this is

  • A privileged Linux daemon (stile-brokerd, systemd unit included)
    that owns every stage of a secret's life, backed by
    SOPS-encrypted stores (age).
  • An unprivileged CLI (stile) that speaks only logical operations
    over a Unix socket (SO_PEERCRED-authenticated) and can print only
    structured reports. There is deliberately no get/show/reveal
    /exec command, and the wire protocol's types cannot express a
    value-returning operation.
  • Everything the broker may do — commands, URLs, paths, users, modes —
    is declared in a root-owned registry; the caller controls only a
    logical secret id. No arbitrary URLs, no command execution with
    injected credentials, no environment injection, no generic
    authenticated HTTP proxying.
  • Every operation is audited (caller uid/gid/pid, stages, duration)
    without ever recording values.

Security posture

  • Reducing credential exposure does not make a capability harmless:
    a caller who can rotate a secret holds real authority over it. Grant
    access only to callers you trust with that much.
  • stile is early-stage, security-sensitive, and not independently
    audited
    . It is designed to keep secret values behind the broker
    boundary; it does not prove anything. Read
    THREAT_MODEL.md
    for the real boundary, attacker model, per-operation capability
    inventory and known limitations before trusting it with real
    credentials.

Installing

  • Download stile-v0.1.0-<target>.tar.gz and verify against
    SHASUMS256.txt (static musl binaries: x86_64, aarch64).
  • Or build from source: cargo build --release --locked (Rust 1.85+).
  • Setup guide, example registry/config and hardened systemd unit:
    README.md.

Reporting vulnerabilities

Please use
private vulnerability reporting —
do not open public issues for undisclosed vulnerabilities. See
SECURITY.md.