Skip to content
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

ATProto: backfill new DID doc changes into old DID docs #1014

Open
2 tasks
mackuba opened this issue May 5, 2024 · 4 comments
Open
2 tasks

ATProto: backfill new DID doc changes into old DID docs #1014

mackuba opened this issue May 5, 2024 · 4 comments

Comments

@mackuba
Copy link

mackuba commented May 5, 2024

"serviceEndpoint": "https://atproto.brid.gy/"

Just when you have time :)


@snarfed
Copy link
Owner

snarfed commented May 5, 2024

hah yes top priority 😎

@snarfed
Copy link
Owner

snarfed commented Oct 2, 2024

Generalizing this issue to include everything we want to backfill into existing DID docs. I'll add a checklist to the original description.

@snarfed snarfed changed the title Update PDS endpoint of old DIDs which had a trailing slash ;) ATProto: backfill new DID doc changes into old DID docs Oct 3, 2024
@snarfed
Copy link
Owner

snarfed commented Oct 30, 2024

Also huffduff-video.snarfed.org / did:plc:lgzdqdbziasi7l3amczptkjt , it has PDS fed.brid.gy. https://bsky.app/profile/suboptimal.technology/post/3l7pwumsr6x2n

@snarfed
Copy link
Owner

snarfed commented Nov 1, 2024

Here's repl code I used to update huffduff-video.snarfed.org just now:

from arroba import did
handle = 'huffduff-video.snarfed.org'
d = 'did:plc:lgzdqdbziasi7l3amczptkjt'
repo = arroba.server.storage.load_repo(d)
os.environ['PDS_HOST'] = 'atproto.brid.gy'
did.update_plc(did=d, signing_key=repo.signing_key, rotation_key=repo.rotation_key,
               get_fn=util.requests_get, post_fn=util.requests_post)

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

No branches or pull requests

2 participants