Skip to content

fix: add websocket capability token hash support#17871

Merged
viyatb-oai merged 7 commits intomainfrom
codex/viyatb/app-server-ws-token-sha256
Apr 15, 2026
Merged

fix: add websocket capability token hash support#17871
viyatb-oai merged 7 commits intomainfrom
codex/viyatb/app-server-ws-token-sha256

Conversation

@viyatb-oai
Copy link
Copy Markdown
Collaborator

@viyatb-oai viyatb-oai commented Apr 15, 2026

Summary

  • Allow app-server websocket capability auth to accept a precomputed SHA-256 digest via --ws-token-sha256.
  • Keep token-file support and enforce exactly one capability token source.
  • Document the new auth flag.

Testing

  • just fmt
  • cargo test -p codex-app-server transport::auth::tests
  • cargo test -p codex-app-server websocket_capability_token_sha256_args_parse
  • cargo test -p codex-cli app_server_capability_token_flags_parse
  • cargo clippy -p codex-app-server --all-targets -- -D warnings
  • just fix -p codex-cli

Co-authored-by: Codex noreply@openai.com
@viyatb-oai viyatb-oai changed the title Add websocket capability token hash support fix: add websocket capability token hash support Apr 15, 2026
Co-authored-by: Codex noreply@openai.com
Co-authored-by: Codex noreply@openai.com
Co-authored-by: Codex <noreply@openai.com>
@viyatb-oai viyatb-oai merged commit e4a3612 into main Apr 15, 2026
34 of 36 checks passed
@viyatb-oai viyatb-oai deleted the codex/viyatb/app-server-ws-token-sha256 branch April 15, 2026 05:06
@github-actions github-actions bot locked and limited conversation to collaborators Apr 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants