apikey CLI: stop accepting the pepper as a command-line argument (R21-O17 / SEC-16) #194

Open
opened 2026-11-06 15:25:04 -05:00 by dohertj2 · 0 comments
Owner

apikey --pepper is accepted on the command line (ApiKeyAdminCommandLineParser), so it lands in shell history and the process list.

Source: archreview/2026-10-21/remediation/00-tracking.md row R21-O17 (cycle-1 SEC-16)

Next step (from the tracker): Prefer an env var or stdin prompt; keep the flag only with a warning.

Current-state evidence: the row is still Open/Deferred in the latest (2026-10-21) tracker, and a code check on local main @ 8c0a51d (2026-11-06) found it still present unless noted below.

`apikey --pepper` is accepted on the command line (`ApiKeyAdminCommandLineParser`), so it lands in shell history and the process list. Source: `archreview/2026-10-21/remediation/00-tracking.md` row R21-O17 (cycle-1 SEC-16) Next step (from the tracker): Prefer an env var or stdin prompt; keep the flag only with a warning. Current-state evidence: the row is still `Open`/`Deferred` in the latest (2026-10-21) tracker, and a code check on local `main` @ `8c0a51d` (2026-11-06) found it still present unless noted below.
dohertj2 added the area:authtype:review-findingpriority:p3migrated labels 2026-11-06 15:25:04 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/mxaccessgw#194