Files
CLIProxyAPI/internal/runtime/executor/helps
sususu a8582fbaca fix(signature): pin Vertex bare-Tink recognition to observed key ids
Without a protobuf wrapper, the ciphertext after the Tink prefix byte is
indistinguishable from uniform random bytes. Matching only the 0x01
prefix byte claimed about 1/256 of unenveloped payloads as Gemini: xAI
encrypted_content starting with 0x01 was then rejected by the Grok
validator and dropped from replay, and Kimi signatures were misclassified.

- require the observed Vertex key id (8f3d6b5f) in addition to the
  prefix byte; a rotated key falls back to the bypass sentinel, which is
  the behavior before bare-Tink recognition
- expose IsGeminiVertexBareTinkSignature and scope the Gemini
  Interactions sanitizer: the public endpoint drops bare-Tink thought
  steps, the Vertex Interactions endpoint keeps them
- restore the xAI seed and Kimi ordering tests that had been adjusted
  around the false positive, and add regressions for a 0x01-leading Grok
  payload and an unknown key id
2026-10-27 09:39:35 +08:00
..