mirror of
https://github.com/Twigpine/node.git
synced 2026-11-10 17:57:33 -10:00
coderabbit flagged that the size-limit test fed fetch_key a body of repeated x bytes, which is invalid JSON: even without a byte cap the parse would return None, so the test passed regardless of the limit. Pad jwks_body() with JSON whitespace past KEY_MAX_BODY_BYTES so an unbounded read would still parse successfully, making the assertion actually exercise the cap.