{"version":"2.1.333","anchor":"jwtjose-key-handling-changed","canonical_anchor":"jwtjose-key-handling-changed","heading":"Signed-token checks now reject RSA keys shorter than 2048 bits","tier":"notice","area":"Auth","scope":"org","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/jwtjose-key-handling-changed","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Signed-token checks now reject RSA keys shorter than 2048 bits\n\nThe signed-token code inside Claude Code now refuses RS* and PS* RSA keys under 2048 bits, and an old ES256 key-import function is gone\n\n**What**\n\nClaude Code includes code for handling JWTs, which are signed tokens used to prove who someone is. That code now refuses RSA keys shorter than 2048 bits when they are used with the RS* or PS* signing methods. It fails with the error `requires key modulusLength to be 2048 bits or larger`. Before, there was no minimum length.\n\nAn older function for importing ES256 keys in JWK format (a JSON way of writing a key) has been removed.\n\n**Why**\n\nShort RSA keys are easier to break, so refusing them makes token checks safer. Anything that relied on a key under 2048 bits will now get this error.\n\n- Area: Auth\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: org\n- Heads-up: yes"}