-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ActivityPub => ATProto: handle usernames with _ and ~ chars #982
Comments
_
, ~
chars
_
, ~
chars
Got another one: https://mastodon.social/users/_dmh, |
Thanks! Looking forward to seeing it resolved :) |
And:
|
Implemented and deployed. Next, fixing these users ^ manually. |
Woo, first profile I've seen this work on! https://wetdry.world/@mary_ext => https://bsky.app/profile/mary-ext.wetdry.world.ap.brid.gy |
What happens now if there's a collision? Is the second user not bridged or do they just not get a friendly handle? |
They're not bridged. I honestly couldn't predict if we hit that collision in a week, or a quarter, or five years, or never. I suspect closer to five years. We'll cross that bridge when we come to it. |
Need to do a bit more here: ATProto handles can't begin or end with |
Is my underscore-initial username bridged to ATP now? |
@dmhowcroft sadly no, sorry, and honestly I don't yet have a plan for how to support usernames that begin or end with underscores or dashes. |
OK, I think we're set here. |
This is a fun one. First user with an underscore in their username signed up just now, https://me.dm/@punkscience_ns , @punkscience. (Hi Darryl! Sorry for the trouble!)
We translated the fediverse address
@[email protected]
to the bridged Bluesky handlepunkscience_ns.me.dm.ap.brid.gy
and created the DNS TXT record_atproto.punkscience_ns.me.dm.ap.brid.gy
, which is serving fine. PLC directory has it in https://web.plc.directory/did/did:plc:di27vbfe6wutukod4g36kovz.However, ATProto handles don't allow the underscore character. 🤦 (Also see swicg/activitypub-webfinger#9) So, I guess we need to translate underscores to maybe dashes, and hope we don't hit a collision between eg
x_y
andx-y
on the same instance.The text was updated successfully, but these errors were encountered: