joebandenburg / libaxolotl-javascript

A JavaScript implementation of axolotl. Axolotl is a ratcheting forward secrecy protocol.
GNU Lesser General Public License v3.0
75 stars 13 forks source link

Handle simultaneous session initiation #1

Closed joebandenburg closed 9 years ago

joebandenburg commented 9 years ago

Other clients handle the case where both parties attempt to initiate sessions simultaneously.

This will require good test coverage. See SimultaneousInitiateTests.java from libaxolotl-android for ideas.

To support this we may need to store previous sessions and try using them to decrypt messages. It also probably means the API needs to be changed to make it more convenient for the user.

joebandenburg commented 9 years ago

API prototypes: https://gist.github.com/joebandenburg/da3cf490309374120aa4

joebandenburg commented 9 years ago

Resolved by 57c642d506914e2f883ca83cb86e429b397396ca