mirror of
https://github.com/openai/codex.git
synced 2026-11-24 23:20:47 +00:00
## Why The archive verifier counted keys returned in `eval_keys` but ignored them during key lookup, so it could not verify archives signed with those keys. ## What changed Accept eval signing keys from `eval_keys` and release signing keys from `keys`. Enforce each list's signing purpose and reject duplicate key IDs across both lists. Reuse the existing cache scoped by endpoint and authentication headers. ## Testing Cover rejection of legacy eval keys in `keys`, successful verification with a scoped eval key, and cache isolation across endpoints, accounts, and tokens. Add an app-server test that checks local installation precedes the remote install request for a valid eval archive and that tampering prevents both operations. GitOrigin-RevId: e8b6132f204c7e4e5f30d1dcb30357bac4c136ab