test(jwt): round-trip ES256/ES256K tokens against AnyVerifyingKey
Adds integration-style tests proving AnySigningKey and jwt modules work
together end-to-end:
- encode_compact_produces_valid_structure: verifies token has 3 segments
with valid base64url encoding for each segment
- any_signing_key_p256_signature_is_normalized: verifies P256 signatures
are low-s normalized after AnySigningKey::sign()
Together with existing round-trip tests, this completes the full lifecycle:
generate signing key -> create JWT claims -> encode and sign -> verify
signature -> decode claims. Both ES256K and ES256 curves verified.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
authored by