Repository navigation
Releases
[email protected]
-
Passkey approvals for protected secrets. When a read needs a human approval,
run,secrets getandsecrets downloadprint the approval URL. In a terminal they open the browser, wait until you approve, then retry. In agent shells and scripts they exit at once, so the agent can show the URL:$ sigillo run -c prod -- pnpm deploy error: approval required https://sigillo.dev/approve/01KX8Q2M0V7T9C4J6N3R5W1Z8B Tell the user to open this URL and approve with their passkey. Then wait for them in the background with: sigillo access wait 01KX8Q2M0V7T9C4J6N3R5W1Z8B It exits 0 when they approve. Then run your command again.
-
New
sigillo access requestasks for everything up front. Running it again adds to the same request and prints the same URL:sigillo access request -c dev -c prod --label 'Deploy website' sigillo access request -c prod --secret STRIPE_KEY -
New
sigillo access waitblocks until the request is approved or denied, so an agent does not poll. It exits 0 when approved. Against a server without approvals,access requestandaccess waitsay the server must be redeployed. -
Environment descriptions.
sigillo environments,environments get,projects get, thesigillo setupenv picker and the "available envs" hint show each environment's description. -
Safer login and install.
sigillo loginopens the browser only for plainhttp(s)verification URLs with no shell metacharacters. On Windows a malicious--api-urlserver could run commands by putting&in the URL. Thecurl | bashinstaller now extracts into a privatemktemp -ddirectory. -
Self-hosted dashboard updates, shipped with the next
npx sigillo self-hostdeploy: passkey approvals with an Approvals tab and Settings cards, project rename and delete in project Settings, environment descriptions, and Better Auth 1.7.28. See app/CHANGELOG.md for details.
[email protected]
-
sigillo environments get,renameanddeleteaccept-p, --project. Before, they only worked from a directory linked withsigillo setup, even when you passed a full env ID.sigillo environments delete dev -p <PROJECT_ID> sigillo environments rename dev -p <PROJECT_ID> --name Development
-
Linux x64 binary runs on every x86_64 CPU. It was built for the CPU of the build machine, so on older or different CPUs it could crash at start with
Illegal instruction. -
sigillo run --helpand the agent skill explain that redaction also applies to pipes. Pipingsigillo runoutput into another tool can send literal*characters instead of the secret. Pipe the value directly instead:sigillo secrets get ICLOUD_PASS -c dev --raw | some-tool --stdinFor tools that read secrets from environment variables, use
sigillo run -- tool. -
Self-hosted dashboard updates, shipped with the next
self-hostdeploy:- Rename a project by clicking its name at the top of any project tab. Enter saves, Escape cancels.
- The secrets page marks an input as changed only when its value differs from the saved one. Key and value inputs are marked separately.
[email protected]
-
self-hostchecks the keys before recreating a worker. When it creates a new worker for a database that already stores secrets, it first decrypts a stored value with the keys it has. Before, a lostBETTER_AUTH_SECRETor a hand-addedENCRYPTION_KEYmissing from~/.sigillo/selfhost.jsonmade every stored secret unreadable. If you set your own key, pass it again to recover:SIGILLO_ENCRYPTION_KEY='<original key>' npx sigillo self-host -
sigillo loginsigns in again when a token is already saved. It used to re-save the saved token and stop, so a login that had stopped working could only be replaced aftersigillo logout.--tokenandSIGILLO_TOKENare still saved as given. -
sigillo runexits with128 + Nwhen its command is killed by signal N. Before, Docker, turbo and make saw exit1for a command stopped bySIGTERMor Ctrl+C. Now it exits143forSIGTERMand130for Ctrl+C:sigillo run -- node server.js # Ctrl+C now exits 130 -
Self-hosted dashboard fixes, shipped with the next
self-hostdeploy:- The Manage access dialog could open with Full access checked for a restricted member, so saving without changes removed the restriction.
- The device login page returns to code entry when Approve or Deny fails, so you can enter the new code.
-
Linux x64 binary runs on every x86_64 CPU. It was built for the CPU of the build machine, so on older or different CPUs it could crash at start with
Illegal instruction.
[email protected]
-
Git worktrees pick up the right project and env, including in monorepo subfolders.
- A worktree inherits the main checkout's setup at the same relative path. Before,
sigillo runin<worktree>/appused the repo root setup and ignored the one saved for<main>/app. - A setup saved inside a worktree always overrides the main checkout. Before, it could lose when the worktree path was shorter than the main checkout path.
- Interactive
sigillo setupinside a worktree asks whether to save for the main checkout and all worktrees, or for this worktree only. - When a worktree has no setup, the error shows the command to fix it and lists subfolders configured in the main checkout.
sigillo meshows which checkout a worktree belongs to.
- A worktree inherits the main checkout's setup at the same relative path. Before,
-
New
sigillo setup --scope <dir>saves the setup for another directory. From a worktree, pass the main checkout path so every worktree gets it:sigillo setup --scope ~/Documents/GitHub/repo --project proj_abc --env dev -
self-hostcan bind a separate encryption key withSIGILLO_ENCRYPTION_KEYon the first deploy. The default (key derived fromBETTER_AUTH_SECRET) is unchanged:SIGILLO_ENCRYPTION_KEY="$(openssl rand -base64 32)" npx sigillo self-host -
self-hostnever adopts a database it cannot decrypt. If a deploy would generate a newBETTER_AUTH_SECRETfor a D1 database that already stores secrets (worker gone, no saved secret in~/.sigillo/selfhost.json), it now stops. Before, it deployed anyway and every stored secret became unreadable. -
The saved token is never sent to another server.
- If
SIGILLO_API_URLor--api-urlpoints to a server other than the one the token was saved for, the token is withheld with a warning.--tokenandSIGILLO_TOKENstill work as given. - Authenticated requests no longer follow redirects. Point
--api-urlat the final URL, for examplehttps://.
- If
-
run --mountis safer. The file is created owner-only (0600), never overwrites an existing file or follows a symlink, and is deleted even when sigillo getsSIGTERMorSIGHUP. These signals are now forwarded to the child instead of killing sigillo. -
sigillo environments renameworks with only--nameor only--slug. Before, the missing field was sent asnulland the rename failed with(422): unknown error.
Fixes #18
[email protected]
New npx sigillo self-host. Deploy Sigillo to your own Cloudflare account with one command. No git clone, no build step, no wrangler config:
npx sigillo self-hostThe command provisions a Worker and a D1 database from a prebuilt release bundle, applies migrations, enables the workers.dev URL, and can attach a custom domain. Auth just works: the instance registers with auth.sigillo.dev on first load, so there are no OAuth keys to configure.
Cloudflare login tries, in order: CLOUDFLARE_API_TOKEN, your existing wrangler login, a previous self-host login, then an interactive choice between a browser OAuth flow and a pre-filled API-token link that works over SSH.
Re-runs are idempotent. Only new migrations are applied, unchanged assets are skipped, and BETTER_AUTH_SECRET is never rotated. An unrelated worker with the same name is left alone; pass --name to pick a different one.
# non-interactive (CI/agents)
CLOUDFLARE_API_TOKEN=xxx npx sigillo self-host --yes
# custom worker name and domain
npx sigillo self-host --name sigillo --domain secrets.acme.comThis command ships in the npm package only. The standalone binary prints a pointer to npx sigillo self-host.
sig_ API tokens can now run setup. A project-scoped token used to work on secrets routes but fail with 401 on GET /api/v0/projects/:id, so this was broken:
sigillo login --api-url https://secrets.example.com --token sig_xxxxx
sigillo setup --project <project-id> --env devToken login can now call the read routes that setup, me, orgs, and environments get need. Create, rename, and delete of orgs, projects, and envs still require a user session. Env-scoped tokens only see that environment. Deleting a scoped environment now revokes the token instead of widening it to the whole project.
Hosted sigillo.dev gets this on the website deploy that follows this release. Existing self-hosted instances pick it up by re-running npx sigillo self-host (applies migration 0006).
Install or update:
npm i -g sigillo@latestFixes #4
[email protected]
Pipe-friendly output across all commands. When stdout is piped (not a TTY), commands now output minimal machine-readable text instead of verbose YAML. This makes scripting and piping natural without any extra flags:
# list secret names for grep/xargs
sigillo secrets | grep DATABASE
# capture new project ID in a variable
PROJECT_ID=$(sigillo projects create --org org_123 --name backend)
# capture new env ID
ENV_ID=$(sigillo environments create -p $PROJECT_ID --name staging --slug staging)
# set a secret and capture its ID
SECRET_ID=$(sigillo secrets set API_KEY my-value -c dev)Affected commands and their piped output:
sigillo secrets— one secret name per linesigillo secrets set— secret ID per environmentsigillo orgs create— new org IDsigillo projects create— new project IDsigillo environments create— new environment ID
TTY output is unchanged (same verbose YAML format as before).
--raw flag for secrets get. Force raw value output even when stdout is a TTY. When piped, raw mode is enabled automatically so values flow between commands without YAML wrapping:
# copy a secret between environments (piped stdout auto-enables raw mode)
sigillo secrets get DATABASE_URL -c dev | sigillo secrets set DATABASE_URL -c preview
# force raw output in a terminal
sigillo secrets get DATABASE_URL --rawPreviously, piping secrets get would store the full YAML output (with environment_id, name, value fields) as the secret value, corrupting it.
Install or update:
npm i -g sigillo@latest[email protected]
-
TTY-aware secret redaction with PTY passthrough —
sigillo runnow uses pseudo-terminals instead of pipes when stdout/stderr are TTYs. Child processes seeisatty()=true, so tools likenext dev,cargo, andpytestkeep colored output, progress bars, and interactive prompts while secrets are still redacted:sigillo run -- next dev sigillo run -- cargo build --color=always
Falls back to pipes automatically when parent streams are not TTYs or on Windows.
-
Git worktree config inheritance — running sigillo inside a git worktree now inherits the project, environment, token, and API URL from the main repo if no worktree-specific config exists:
cd my-project && sigillo setup cd ../my-project-feature-branch sigillo secrets # works without re-running setup
-
Empty and missing secrets in
sigillo secrets— the secrets list highlights empty values (empty: truein yellow) and shows amissing:section for secrets present in other environments but not the current one. Non-TTY output stays valid YAML. -
Empty values allowed in interactive prompt —
sigillo secrets setaccepts empty values when prompted interactively. Useful for creating placeholder secrets you fill in later via the dashboard. -
Fixed deadlock on exec failure —
sigillo runno longer hangs when the child command does not exist. The errdefer now kills the child before joining reader threads, preventing zombie processes. -
Fixed PTY fd leaks causing child hangs — PTY file descriptors are now opened with CLOEXEC so backgrounded child subprocesses don't hold the slave fd open, which previously caused the redaction reader to hang forever.
-
Fixed use-after-free in PTY redaction — corrected defer/errdefer ordering so redaction plan memory stays alive while reader threads are running. Fixed double-close of PTY fds by tracking ownership with nullable variables.
[email protected]
-
Set or delete a secret across many environments at once. The
-c/--config(and--env) flags are now repeatable onsecrets setandsecrets delete, so a single command fans out to every environment you list:# write the same value to dev, prod, and staging in one shot sigillo secrets set DATABASE_URL postgres://... -c dev -c prod -c staging # delete a stale key from multiple environments sigillo secrets delete OLD_KEY -c dev -c prod
Fan-out is continue-on-error: if one environment fails (for example an unknown env slug), it prints
failed to set/delete secret in <env> ...and keeps going through the rest, then exits non-zero if any failed. The env-not-found hint still lists the available environments. With no-c/--envflag the behavior is unchanged: it uses the single environment fromsigillo setup. -
Masked prompt when you omit the secret value on a terminal. Leave the value off and Sigillo asks for it interactively, masking each character so the secret never appears on screen:
sigillo secrets set STRIPE_SECRET_KEY -c prod ? Value for STRIPE_SECRET_KEY: *****************
The value is read once before any network call, so a multi-environment write only prompts a single time. Backspace works and ctrl-c/ctrl-d cancels. Piped stdin (non-TTY) is unchanged: it still reads the value from stdin and strips a single trailing newline for scripts and CI.
[email protected]
-
Configured subfolders shown in error messages — when you run
sigillo runfrom a directory without a project configured, the error now lists subfolders that are set up with their project names and environments. This helps agents and users discover they need tocdinto the right directory:error: project not configured for /Users/me/monorepo sigillo setup --project <PROJECT_ID> --env <SLUG> subfolders configured with sigillo: ./app → my-website (dev) ./api → my-api (dev) run sigillo from one of these directories instead, or run: sigillo setupThe same hint appears in
secrets,secrets get/set/delete,secrets download, andenvironmentscommands. -
sigillo meshows configured subfolders — themecommand now lists all subfolders under the current directory that have sigillo set up, so you can quickly see the status of a monorepo:sigillo me
Configured subfolders: ./app → my-website (dev) ./api → my-api (prod)
[email protected]
-
Configured subfolders shown in error messages — when you run
sigillo runfrom a directory without a project configured, the error now lists subfolders that are set up with their project names and environments. This helps agents and users discover they need tocdinto the right directory:error: project not configured for /Users/me/monorepo sigillo setup --project <PROJECT_ID> --env <SLUG> subfolders configured with sigillo: ./app → my-website (dev) ./api → my-api (dev) run sigillo from one of these directories instead, or run: sigillo setupThe same hint appears in
secrets,secrets get/set/delete,secrets download, andenvironmentscommands. -
sigillo meshows configured subfolders — themecommand now lists all subfolders under the current directory that have sigillo set up, so you can quickly see the status of a monorepo:sigillo me
Configured subfolders: ./app → my-website (dev) ./api → my-api (prod)