diaspora / diaspora_federation

A library that provides functionalities needed for the diaspora* federation protocol.
GNU Affero General Public License v3.0
101 stars 29 forks source link

Extract singning of AccountMigration to a different module and introduce alternative form for account migration message #89

Closed cmrd-senya closed 6 years ago

cmrd-senya commented 7 years ago

As discussed at https://github.com/diaspora/diaspora/issues/908, if we want to make AccountMigration object fetchable from the new pod and at the same time we don't want to keep private key of the old person on the new pod, we need to save signature of the old person.

In order to do that, we need two things:

This PR introduces these changes.

In this branch I develop changes in diaspora which make use of these changes, but only of the first part: it saves signature for AccountMigration to the DB. Also in that branch I resend AccountDeletion/AccountMigration to the sender if we received a message for a closed account. I'll prepare that branch as a PR soon.

cmrd-senya commented 6 years ago

Updated

cmrd-senya commented 6 years ago

Updated

SuperTux88 commented 6 years ago

Thank you, merged 🍪 (I changed one little thing after merging it with the spec, that I didn't see yesterday, but didn't want to do another round for this)

SuperTux88 commented 6 years ago

Oh, pushed it to the wrong repo, now it's merged ...