Skip to content

Rustybin 0.5.2: an operator's sign-in next to anonymous visitors

Choose a tag to compare

@oliwynn oliwynn released this 07 Nov 13:33
· 83 commits to main since this release

Check this before upgrading: an instance with RUSTYBIN_MOCKS_SELF_SERVICE=true, public mode and password control auth used to ignore that variable and stay locked. It now takes visitors. Remove the variable to keep the instance locked. token and jwt still ignore it.

New:

  • An operator's sign-in next to anonymous visitors. Self-service now works with the password sign-in: visitors create and call their own mocks without an account, and only the operator signs in. A caller without a credential reaches exactly what it reaches on an open control plane, and a test walks every control route to keep it so. See An operator who signs in.
  • rustybin password hash makes the argon2id hash for RUSTYBIN_CONSOLE_PASSWORD_HASH on your own machine.

Fixed:

  • A harness cluster's failover could pass over the standby. Nodes took their turn to stand for election in slots narrower than the gap between their heartbeats, so a later node could stand first and RUSTYBIN_HARNESS_LEADER=prefer meant little. The first in line stands as before, after the election timeout.

The full list is in the changelog.

Install

Release binaries for Linux and macOS (x86_64 and arm64) are attached below, each with a .sha256. Or cargo install --locked --git https://github.com/coldbathcode/rustybin --tag v0.5.2.

The image

ghcr.io/coldbathcode/rustybin:0.5.2
ghcr.io/coldbathcode/rustybin@sha256:391f066e845ee0eb9030cc705b19fe2a068077533c0a1a88afbb0abc262ad2dd

The image is multi-arch (linux/amd64, linux/arm64) and signed with cosign (keyless, using the publishing workflow's GitHub identity). Verify it before you run or deploy it, and pin deployments to the digest:

cosign verify ghcr.io/coldbathcode/rustybin@sha256:391f066e845ee0eb9030cc705b19fe2a068077533c0a1a88afbb0abc262ad2dd \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  --certificate-identity-regexp '^https://github.com/coldbathcode/rustybin/'