Skip to content

Complete Domain Alias Validation feature #416

@toderash

Description

@toderash

Feature is incomplete, misrepresenting an authenticity check.

Connect is reporting "Validated" for DID->Domain Aliases but is not actually validating them. Two examples:
Image
Image

If the domain for wp-crontrol.com were validated, we'd expect to see it in a txt record or at wp-crontrol.com/.well-known directory/atproto-did, which is 404, and the TXT record does not exist. Two ns lookup results for comparison:

brent@aragorn:~$ nslookup -type=txt _atproto.wp-crontrol.com
Server:		127.0.0.53
Address:	127.0.0.53#53

** server can't find _atproto.wp-crontrol.com: NXDOMAIN

brent@aragorn:~$ nslookup -type=txt _atproto.toderash.net
Server:		127.0.0.53
Address:	127.0.0.53#53

Non-authoritative answer:
_atproto.toderash.net	text = "did=did:plc:aeun74r34thcit5ixvmwaqza"

What Connect is doing is taking the publisher's attestation of the domain alias and reporting it as verified without actually doing any verification steps.

The PLC server reports the domain alias (aka) for wp-crontrol, but not for git-updater, which isn't set.
https://web.plc.directory/did/did:plc:kjnlj6j6hvasaxc6rchd3pnu
https://web.plc.directory/did/did:plc:afjf7gsjzsqmgc7dlhb553mv

To verify that the domain is associated with the DID, this check should be performed on both sides, not just the from the DID document.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionNeeds discussion and decision before moving forward.

    Type

    No type

    Projects

    Status

    Icebox

    Status

    Icebox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions