mirror of
https://github.com/openai/codex.git
synced 2026-10-18 17:18:52 +00:00
## What changed Move WebSocket authentication arguments, settings, credential loading, and upgrade authorization into a shared crate using `http` types. Update the app server, transport, and CLI to consume it directly, and remove the `AppServer` prefix from the shared types. Hide token digests and JWT verification secrets from authentication policy `Debug` output. ## Testing Move the existing argument validation, capability-token authorization, and signed bearer-token verification tests into the new crate. GitOrigin-RevId: 1dd20043a3f8efbca55af7eda338b62a62e8fd68
29 lines
675 B
TOML
29 lines
675 B
TOML
[package]
|
|
name = "codex-websocket-auth"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
clap = { workspace = true, features = ["derive"] }
|
|
codex-utils-absolute-path = { workspace = true }
|
|
constant_time_eq = { workspace = true }
|
|
http = { workspace = true }
|
|
jsonwebtoken = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
sha2 = { workspace = true }
|
|
time = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
base64 = { workspace = true }
|
|
hmac = { workspace = true }
|
|
pretty_assertions = { workspace = true }
|
|
serde_json = { workspace = true }
|