{"version":"2.1.333","anchor":"jwks-decode-token-checks-curve","canonical_anchor":"jwks-decode-token-checks-curve","heading":"Token checks now match the signing curve and can verify ES384 and ES512","tier":"internal","area":"Auth","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/jwks-decode-token-checks-curve","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Token checks now match the signing curve and can verify ES384 and ES512\n\nToken verification now takes its curve and digest from the token's algorithm, and fails when the curve does not match the published key\n\n**What**\n\nWhen Claude Code verifies a signed token against a published set of public keys, it now reads the key type, the curve and the digest (the hashing method) from the algorithm the token names. If the token's curve does not match the curve of the key it is checked against, verification fails with an error.\n\nBefore this change, the check always used a fixed SHA-256 digest and compared only the key type. ES256 is the only algorithm issued today.\n\n**Why**\n\nTokens signed with ES384 or ES512 can now be verified, and a token whose algorithm does not fit its key is rejected.\n\n- Area: Auth\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}