fix: support hidden S3 prompts without bypassing the output guard #1550

Merged
PlasticDigits merged 1 commit from fix/s3-guarded-terminal-1544 into main 2026-10-18 12:09:43 +00:00
Owner

The installed OpenBao guard rejects terminal-connected streams before starting a child, so the previous interactive S3 retry command never launched the staging helper. Adds a reviewed local terminal launcher that handles getpass prompts locally and calls bao-exec with guarded mode and all child streams piped. A new bounded stdin JSON mode carries entered credentials to the staging child without argv/environment/files; only exact validated result schemas reach the terminal. Existing pending candidates resume automatically without prompts. The guard remains unchanged and raw mode is never used.

Validation: nine synthetic real-PTY/boundary controls use the installed OpenBao guard and prove disabled input echo, legacy prelaunch rejection, private stdin transfer, nonterminal child streams and withholding of unexpected downstream output. Eighteen staging controls and the full focused verifier pass; each process stays below 60 seconds. Real read-only preflight through the launcher boundary passes with no candidate present. Independent privacy review passed; parent core dumps are disabled. No actual S3 replacement or runtime credential changed.

Updates operator instructions, invariants and evidence. Tracks #1544 and integrates the guarded-output contract from PlasticDigits/openbao-tools#41. This is an operator-CLI deployment; no DEX or logging container restart is required.

The installed OpenBao guard rejects terminal-connected streams before starting a child, so the previous interactive S3 retry command never launched the staging helper. Adds a reviewed local terminal launcher that handles getpass prompts locally and calls bao-exec with guarded mode and all child streams piped. A new bounded stdin JSON mode carries entered credentials to the staging child without argv/environment/files; only exact validated result schemas reach the terminal. Existing pending candidates resume automatically without prompts. The guard remains unchanged and raw mode is never used. Validation: nine synthetic real-PTY/boundary controls use the installed OpenBao guard and prove disabled input echo, legacy prelaunch rejection, private stdin transfer, nonterminal child streams and withholding of unexpected downstream output. Eighteen staging controls and the full focused verifier pass; each process stays below 60 seconds. Real read-only preflight through the launcher boundary passes with no candidate present. Independent privacy review passed; parent core dumps are disabled. No actual S3 replacement or runtime credential changed. Updates operator instructions, invariants and evidence. Tracks #1544 and integrates the guarded-output contract from PlasticDigits/openbao-tools#41. This is an operator-CLI deployment; no DEX or logging container restart is required.
fix: stage private S3 input through a guarded noninteractive child
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
bb3017ba2e
Sign in to join this conversation.
No reviewers
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
code/cl8y-dex-terraclassic!1550
No description provided.