You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
AuthArea: what it touches
ImprovementsKind: in v2.1.333,
ImprovementsSection of the release
What
Claude 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.
An older function for importing ES256 keys in JWK format (a JSON way of writing a key) has been removed.
Why
Short 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.