Web Bot Auth Verifier Disallows Shared HMAC Signatures
Summary
The Web Bot Auth specification reference implementation has been updated to strictly reject shared HMAC signatures during verification. Although HMAC is not supported in keyrings, it was previously retained in the shared HTTP message signatures library. The project chose to enforce the ban at the verifier layer rather than removing HMAC from the underlying algorithm definitions, preserving generic RFC 9421 compatibility.
Key facts
- Per the Web Bot Auth protocol, shared HMAC is no longer considered acceptable for bot authentication.
- Shared HMAC is currently not supported in keyrings but retains utility for generic HTTP message signatures under RFC 9421.
- Maintainers implemented the restriction by making the Web Bot Auth verifier stricter rather than removing the algorithm from the underlying Algorithm enum.
- Removing HMAC from the Algorithm enum was avoided because it would constitute a low-level breaking change for generic HTTP message signature use cases.
- The change maintains full RFC 9421 coverage while strictly enforcing new Web Bot Auth verification contracts.
Insight
Crawler authentication protocols are hardening against symmetric cryptography, where shared secrets create untenable key-distribution and trust vulnerabilities across decentralized web hosts. By enforcing protocol restrictions in the verification layer rather than the cryptographic primitive library, maintainers retain broader RFC 9421 compliance while enforcing strict public-key guarantees for bot verification.
Implication
Automated crawlers and bot operators cannot use symmetric HMAC keys to sign HTTP requests under Web Bot Auth; they must use asymmetric public-key cryptography. Verifier implementations using this reference code will fail-closed on any incoming HMAC-signed requests.
Why it matters
Cryptographic crawler verification relies on public verifiability without distributing private signing secrets to edge verifiers. Deprecating shared HMAC prevents insecure authentication setups from undermining the emerging cryptographic bot identification ecosystem.
Evidence
- Primary source
- Evidence ID:
web-bot-auth-repo--2f675ebb40cb7d9e