Re:How to set your domain as your handle
by cmckn on Saturday April 29, 2023 @01:07AM
(#35750212)
How is running a web server for a JSON file easier than creating a TXT record in your DNS?
[ Parent
| on HN ]
Then when you want to use the AT protocol without a webserver, you would have to set a DNS entry (CNAME) that points to a service like Bluesky. So for users without a web server, it would stay the same amount of work.
And for others it would be just
echo 'my metadata' | ssh myhost "cat > /my/web/dir/at_identity.json"
But why
> And for others it would be just
+ hosting the server + admin the server + securing the server + keeping the server up all the time
For trivially small amounts of data it seems a massive waste of time and effort.
If however, you are storing and verifying identity of 100's+++ of users within said domain then hosting that makes sense (pgp for email should probably work this way).
Nevertheless, they’ve added this a couple days ago. Someone has already created an S3 bucket called “xrpc” and is using s3.amazonaws.com as their handle. :)
—— From @emily.bsky.team:
you can also use a non-DNS option — serve some JSON at a well-known endpoint (similar to webfinger)
GET https://<users-handle>/xrpc/com.atproto.identity.resolveHandle
{"did":"<users-did>"}