This is why mastodon , webfinger and ACME uss .well-known uri prefix. .well-known is reserved and you can't e.g. make a bucket named .well-known It's funny the bluesky devs say they implemented "something like webfinger" but left out the only important part of webfinger that protects against these attacks in the first place. Weird oversight and something something don't come up with your own standards
What about serving the challenge file from the root or a near-root of the fully qualified url? Like www.domain.com/mastodon.txt or abc.freehost.com/mastodon.txt? Maybe I'm old but what are some popular use cases for webfinger? (I'm just learning about it now)
So this guy is now S3. All of S3
141–150 of 522 posts
Re: So this guy is now S3. All of S3
#142Earlier quoted context omitted.
I don't get http-based verification in general. If you want to really prove someone owns a domain, make them change an authoritative DNS record. Everything else feels like it is begging for edge cases to crop up. Why should my social media or SSL certificate vendor care about my web servers?
I think people don't want to put DNS admin credentials in places where they might get leaked. Would be cool if a DNS server or provider offered credentials that could only do ACME challenges and not change any other records.
Re: So this guy is now S3. All of S3
#143Does anyone have a screenshot? I'm getting a 429.
Re: So this guy is now S3. All of S3
#144This is a terrible implementation of domain verification. dns-01 and http-01 are more or less standardized at this point. Use them, and don't roll your own. Reference: https://letsencrypt.org/docs/challenge-types/ .
They definitely should have used HTTP-01 if they’re doing verification on the web, but since this is about using a domain as identity this really belongs in DNS. The issue with DNS-01 (and HTTP-01 to a lesser extent) as someone else mentioned is that the user friction is really high. I’ve been working on a solution to this that I’ve been meaning to post to HN and this seems like as good an opportunity as any so here…
And the primary way of identifying yourself is in fact DNS.
> I’ve been working on a solution to this
Your solution is almost identical to the BlueSky one: put a TXT record at _atproto. that resolves to a DID. The difference is that they mandate the DID spec and you do not. Which is totally fine! Just figured I'd let you know :)
Re: So this guy is now S3. All of S3
#145Mastadon has no chance if every time something becomes a little bit viral it's instance dies over the traffic.
Mastodon is a bunch of individual instances of varying power but maybe they should build in something that detects load and archived itself and redirects to the archive.
Re: So this guy is now S3. All of S3
#146Earlier quoted context omitted.
Aren’t federated services grand?
[flagged]
Re: So this guy is now S3. All of S3
#147Re: So this guy is now S3. All of S3
#148Any domain on the public suffix list should just be ignored I suppose. https://publicsuffix.org/list/
Re: So this guy is now S3. All of S3
#149If you want to prove domain ownership, you have to do it at the domain level. The ability to serve a file “www.example.com” in no way demonstrates ownership of “example.com”; it demonstrates that you control www.example.com. If you want to prove ownership of a second level domain you must do it through a record in DNS, or through demonstrating control of something that is publicly known to control the domain such as…
Re: So this guy is now S3. All of S3
#150> 429 Too Many Requests Aight, level with me: Is every mastodon server running on a Raspberry Pi?