Syndace / python-omemo

An open python implementation of the OMEMO Multi-End Message and Object Encryption protocol.
MIT License
41 stars 6 forks source link

Think about support for sending multiple PreKeyMessages to the same recipient #23

Closed Syndace closed 4 years ago

Syndace commented 5 years ago

Due to X3DH's nature of not handling message loss, clients nowadays send PreKeyMessages using the same OTPK until they get a first response indicating that the key exchange was successful. The library already supports receiving multiple PreKeyMessages without deleting the OTPK, but it does not support sending more than one.

This would require

Before adding all of that complexity, think about whether this is really required.

Don't forget to add migration for the storage if this is added.