You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CertType has no X509-DV-CLIENT, so client verification fails on every GoDaddy production TL payload #116
BLUF: The Java SDK rejects every valid caller it checks against GoDaddy's production transparency log, because CertType (the enum the SDK reads each certificate's type into) has no X509-DV-CLIENT, the type every production registration carries. Separately, the version filter in the same method never matches, so the SDK checks every _ans-badge record for a host instead of the one for the caller's version.
Call BadgeVerificationService.verifyClient with that agent's Identity Certificate (URI SAN ans://v1.0.9.seo.webmesh.ai).
Result: FINGERPRINT_MISMATCH, expected=null. The SDK fails to deserialize the registration record, so no registration ever matches.
Cause:ans-sdk-transparency/src/main/java/com/godaddy/ans/sdk/transparency/model/CertType.java lists X509_DV_SERVER, X509_EV_CLIENT, X509_EV_SERVER, X509_OV_CLIENT and X509_OV_SERVER, but no X509_DV_CLIENT. Adding X509_DV_CLIENT("X509-DV-CLIENT") makes the same call match v1.0.9.
Version filter: with the enum patched, filterBadgesByVersion (BadgeVerificationService.java:656-661) compared 1.0.9 from the certificate with v1.0.9 from the _ans-badge record, found no match, and fell back to all records (:234-243). ANS-6 §6.2 says to select the record whose version equals the certificate's version. Because of the fallback, verifyClient rejects a caller whose version the zone no longer publishes only when the fingerprint fails to match, not because it picked the record by version.
Found while testing ANS verifiers against the webmesh.ai agents.
Add X509_DV_CLIENT("X509-DV-CLIENT") to CertType so production registration records deserialize.
Fix filterBadgesByVersion so the certificate version (1.0.9) matches the _ans-badge record version (v1.0.9), normalizing the v prefix on compare.
Per ANS-6 §6.2, when the caller's version has no matching record, return a not-found result instead of falling back to all valid badges. I'll keep an unversioned record as an accepted fallback for parity with the Go SDK.
Tests: deserialization of a real X509-DV-CLIENT payload shape, version filter with and without the v prefix, and the no-matching-version case producing not-found rather than FINGERPRINT_MISMATCH.
Will open the PR with DCO sign-off and the AI-assistance disclosure per CONTRIBUTING.md.
Activity
jcrisp-godaddy commentedon Oct 30, 2026
I'd like to take this one.
Plan:
X509_DV_CLIENT("X509-DV-CLIENT")toCertTypeso production registration records deserialize.filterBadgesByVersionso the certificate version (1.0.9) matches the_ans-badgerecord version (v1.0.9), normalizing thevprefix on compare.X509-DV-CLIENTpayload shape, version filter with and without thevprefix, and the no-matching-version case producing not-found rather than FINGERPRINT_MISMATCH.Will open the PR with DCO sign-off and the AI-assistance disclosure per CONTRIBUTING.md.