0.13.0: the quality-control round's security fixes #7

Merged
oliver.maklott merged 1 commit from qc into main 2026-11-30 08:33:54 +01:00

Fixes from the quality-control round:

  • backup restore requires --snapshot (an ID or latest, said explicitly) and the source's name typed, or --confirm SOURCE. The incident flow passes it when restoring onto the server it just rebuilt.
  • Steps that destroy something (Step.destructive, used by the incident rebuild) want the name typed even with --yes, re-runs too.
  • In a context the ceremony's root-token commands (bao rekey, rotate, revoke-prefix) no longer take the operator's login token for a root token (marked by INFRACTL_BAO_LOGIN); a token handed down by bao root -- ... still counts.
  • A context drops another infrastructure's *_ADDRESS, IDP_SSH_JUMP, SECRETS_MOUNT, INFRA_MOUNT and RESTIC_*.

Tests for each; 234 pass locally.

🤖 Generated with Claude Code

https://claude.ai/code/session_01PVUe4g65L7UnUVqHmQp7kG

Fixes from the quality-control round: * `backup restore` requires `--snapshot` (an ID or `latest`, said explicitly) and the source's name typed, or `--confirm SOURCE`. The incident flow passes it when restoring onto the server it just rebuilt. * Steps that destroy something (`Step.destructive`, used by the incident rebuild) want the name typed even with `--yes`, re-runs too. * In a context the ceremony's root-token commands (`bao rekey`, `rotate`, `revoke-prefix`) no longer take the operator's login token for a root token (marked by `INFRACTL_BAO_LOGIN`); a token handed down by `bao root -- ...` still counts. * A context drops another infrastructure's `*_ADDRESS`, `IDP_SSH_JUMP`, `SECRETS_MOUNT`, `INFRA_MOUNT` and `RESTIC_*`. Tests for each; 234 pass locally. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01PVUe4g65L7UnUVqHmQp7kG
Release 0.13.0: the quality-control round's security fixes
All checks were successful
ci / test (pull_request) Successful in 3m11s
release / release (push) Successful in 3m2s
ci / test (push) Successful in 3m6s
eac05743da
backup restore wants --snapshot and the source's name typed; destructive
flow steps (the incident rebuild) want the name typed even with --yes;
the ceremony no longer takes the context's login for a root token; a
context drops another infrastructure's address, mount and restic
settings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PVUe4g65L7UnUVqHmQp7kG
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
belowtoxic-ansible/infractl!7
No description provided.