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

How to implement "relocation" message? #322

Open
annando opened this issue Oct 6, 2018 · 3 comments

Comments

@annando
Copy link

commented Oct 6, 2018

I'm currently implementing AP for Friendica. Some things are unclear.

DFRN - or own protocol - does support a so called "relocation" message. This message is sent out when a user moves his/her account to another server. The message is sent from the new account. We keep the private/public keypair upon moving, so that our receivers can check that we are who we pretend to be. We don't send the old profile url. We only send the new profile data.

How could this be done with AP?

@trwnh

This comment has been minimized.

Copy link

commented Oct 6, 2018

In theory: there is a Move activity https://www.w3.org/TR/activitystreams-vocabulary/#dfn-move
In practice: Mastodon uses a movedTo field extension https://github.com/tootsuite/mastodon/blob/78ed4ab75ff77d7cba60d478aa1f45d1c104785d/app/lib/activitypub/adapter.rb#L12 described here https://gist.github.com/nightpool/21fb737babb2f8714d911236e21b05e7

I'm not sure if there's a formal ActivityPub way of doing things yet that's different from what Mastodon does, but it's worth noting that movedTo has the expectation that you should NOT take any automatic actions, since the two Actors are still considered separate entities.

@annando

This comment has been minimized.

Copy link
Author

commented Oct 6, 2018

At Friendica the behaviour is different. The old account isn't valid after this action.

@jaywink

This comment has been minimized.

Copy link

commented Oct 7, 2018

Related: swicg/general#1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.