Skip to content

Commit

Permalink
add sub-chapters 7.1 and 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
bitfl0wer committed Dec 30, 2023
1 parent c2d0ba3 commit eb4d686
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion SPECIFICATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
- [6.2 User identity](#62-user-identity)
- [6.3 Multi-device support](#63-multi-device-support)
- [7. Account migration](#7-account-migration)
- [7.1 Migrating a user account](#71-migrating-a-user-account)
- [7.2 Resigning messages](#72-resigning-messages)


This document defines a set of protocols and APIs for a chat service primarily focused on communities. The document is intended to be used as a reference for developers who want to implement a client or server for the Polyphony chat service. Uses of this protocol, hereafter referred to as "polyproto", include Instant Messaging, Voice over IP, and Video over IP, where your identity is federated between multiple servers.
Expand Down Expand Up @@ -449,6 +451,8 @@ Migrating an account is done with the following steps:
messages to the new account. To have all messages from a server re-signed, a user must
prove that they are the owner of the private keys used to sign the messages.

### 7.1 Migrating a user account

```
Server_A Alice_A Server_B Alice_B
| | | |
Expand Down Expand Up @@ -536,4 +540,11 @@ Fig. 5: Sequence diagram depicting a successful migration of Alice_A's account t
home server with all information and data (like uploads) associated with the old account. It can
also forward requests regarding the old account to the new server, which makes the process
more seamless for other users. The "non-cooperative homeserver migration method" is only a last
resort.
resort.

### 7.2 Resigning messages

Resigning messages is the process of transferring ownership of messages from an old account to the
new, migrated account.

TODO

0 comments on commit eb4d686

Please sign in to comment.