Skip to content

switchboard v0.9.2

Choose a tag to compare

@github-actions github-actions released this 01 Nov 19:31
· 13 commits to main since this release
v0.9.2
0d41f8a
go install github.com/go-steer/switchboard/cmd/switchboard@v0.9.2
docker pull ghcr.io/go-steer/switchboard:0.9.2

The module version keeps its v and the image tag does not.

The image is multi-arch (amd64 + arm64), distroless
(gcr.io/distroless/static-debian12:nonroot, no shell, no package manager)
and signed with Sigstore keyless:

cosign verify ghcr.io/go-steer/switchboard:0.9.2 \
  --certificate-identity-regexp '^https://github.com/go-steer/switchboard' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

A follow-up to v0.9.1's asserted-caller fix, this time for mast daemons.
mast's attach surface refuses X-Asserted-Caller, in an ax task or running
as a daemon, so v0.9.1's default of asserting to a kind: "mast" daemon
agent failed every request. mast agents now default assert_caller to false,
as ax agents already did; every other kind still asserts.

Upgrading changes nothing that works today: a mast agent that works already
sets assert_caller: false, which still applies, and an explicit value always
wins. Set true on a mast agent only if your mast build accepts proxy
assertions, which none does yet; switchboard warns if you do, now for agents
added through the admin API as well as the config file.

Changed

  • kind: "mast" daemon agents now default assert_caller to false
    (#186). mast's attach surface refuses X-Asserted-Caller (it has no
    proxy-capable authenticator),
    so the old default, true, failed every request to a mast daemon with
    "caller is not permitted to proxy". Defaults are now: ax false, mast
    false, every other kind true. An explicit value still wins.
    • Migrating: nothing to do for a mast agent that works today, since it
      must already set assert_caller: false, which still applies. Set
      "assert_caller": true explicitly only if your mast build accepts proxy
      assertions; none does today.
    • An explicit true on a mast agent is warned about at startup, and now
      also when the admin API adds one and when a stored runtime agent is
      restored at startup. The warning about
      a mast agent asserting by default is gone, since it no longer can.

Full diff: v0.9.1...v0.9.2