Standards & ProtocolsIdentity & Authorization Web Bot Auth (spec repo) ·

Cloudflare Web Bot Auth Accepts RFC 9864 'Ed25519' Identifier in JWK Signer and Verifier

Open source ↗

Development

Cloudflare updated the Web Bot Auth reference library to accept JSON Web Keys (JWKs) using the alg identifier “Ed25519” in signerFromJWK and verifierFromJWK functions. Previously, the library rejected these keys, causing incompatibilities with Node.js crypto.subtle.exportKey output. In accordance with RFC 9864 Section 2.2, which registers “Ed25519” and deprecates “EdDSA”, the implementation now supports both identifiers.

Key facts

  • Cloudflare updated signerFromJWK and verifierFromJWK in the Web Bot Auth repository to accept Ed25519 JWKs with alg: “Ed25519”.
  • Node’s crypto.subtle.exportKey returns JWKs using alg: “Ed25519”, which previously caused rejection by Web Bot Auth JWK parsing functions.
  • RFC 9864 Section 2.2 registers “Ed25519” and deprecates “EdDSA”.
  • The Web Bot Auth reference implementation now accepts both the “Ed25519” and “EdDSA” algorithm identifiers.
  • The change resolves pull request #201 and relates to issue #168.

Why it matters

Cryptographic bot verification cannot succeed if legitimate crawlers are rejected at the edge due to mismatched JWK metadata specifications across different language runtimes and evolving IETF standards.

Trend impact

  • cryptographic crawler authentication
  • fail-closed edge security
  • standards convergence

Evidence