Cloudflare Web Bot Auth Accepts RFC 9864 'Ed25519' Identifier in JWK Signer and Verifier
Summary
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.
Insight
Cryptographic authentication across modern runtimes requires verifier libraries to tolerate both legacy JOSE registrations and newer RFC algorithm identifiers to prevent ecosystem fragmentation between standard Node.js crypto outputs and verification gateways.
Implication
Developers building bot signing and verification services in Node.js can use standard WebCrypto exports directly without manual JSON Web Key parameter workarounds or runtime validation failures.
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.
Evidence
- Primary source
- Evidence ID:
web-bot-auth-repo--a5b3da832249fc8b