mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-07 16:03:21 +00:00
decoding_key_from_pem decoded an unbounded PEM: a well-formed key with an oversized modulus passes the structural check, is stored in the unbounded TEXT column, and is reparsed on every guest-JWT request. Refuse one longer than MAX_GUEST_PEM_LEN (8 KiB) at the same choke point the save path validates through, the way the JWKS URL is bounded. Also tighten two cap tests to assert their specific error rather than a substring another cap shares. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VF3v6LA9399gNphmZaHYG3