4 ms·
How is running a web server for a JSON file easier than creating a TXT record in your DNS?
by cmckn 3y ago
How is running a web server for a JSON file easier than creating a TXT record in your DNS?
- mg 3y agoThen 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"
- aaomidi 3y agoBut why
- blitzar 3y ago> 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).
- cmckn 3y agoNevertheless, 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>"}