Skip to content

m3/caddy: bsky did#417

Open
mcint wants to merge 1 commit into
masterfrom
mcint/bsky-did
Open

m3/caddy: bsky did#417
mcint wants to merge 1 commit into
masterfrom
mcint/bsky-did

Conversation

@mcint

@mcint mcint commented Sep 28, 2025

Copy link
Copy Markdown
Contributor

Noisebridge has social media presence on many services. On BlueSky, in the atproto-verse, we can use noisebridge.net domain as a handle, we need merely setup a DNS record or HTTP-served response, of a did.


We may prefer to use DNS.

https://bsky.social/about/blog/4-28-2023-domain-handle-tutorial
https://docs.bsky.app/docs/advanced-guides/resolving-identities

https://bsky.app/profile/noisebridge.net

At https://noisebridge.net/.well-known/atproto-did

did:plc:4fn5ffs6txnxxozezxio3v7o

or, in dns

_atproto IN TXT did=did:plc:4fn5ffs6txnxxozezxio3v7o

@SuperQ SuperQ left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you give a little more "why" in the PR description?

@mcint

mcint commented Mar 30, 2026

Copy link
Copy Markdown
Contributor Author

We could theoretically do separate noisebridge.net, noisebridge.io, and noisebridge.org accounts. Or even, [guild].noisebridge.net in sewing. laser./lasers. games./gaming./gamedev.

mcint added a commit that referenced this pull request Jun 20, 2026
Replace the m3/caddy /.well-known/atproto-did HTTP handler (#417) with a
TXT record in the noisebridge.net zone:

  _atproto  IN  TXT  "did=did:plc:4fn5ffs6txnxxozezxio3v7o"

Why: the bare `redir https://www.noisebridge.net{uri}` in the noisebridge.net
Caddy site shadows the `handle /.well-known/atproto-did` block (Caddy directive
ordering), so the HTTP method was silently 302-redirecting that path to the wiki
and never served the DID. Verified against production:

  $ curl -sI https://noisebridge.net/.well-known/atproto-did
  HTTP/2 302
  location: https://www.noisebridge.net/.well-known/atproto-did

The DNS TXT method is the atproto-preferred mechanism, avoids the Caddy ordering
pitfall, and keeps the (non-secret) DID in the public zone file. Drop the now
-unused noisebridge_atproto_did var and its vault entry; the DID lives in the
zone file in plaintext, not the vault. SOA serial bumped.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TSravewciWduRs8E8n8KyZ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants