rxcomm / pyaxo

A python implementation of the Axolotl ratchet protocol.
GNU General Public License v3.0
72 stars 11 forks source link

Update to latest version of double ratchet spec #17

Open rxcomm opened 7 years ago

rxcomm commented 7 years ago

The protocol needs to be updated to the latest version of the spec at https://whispersystems.org/docs/specifications/doubleratchet/. Mostly this involves cleaning up the root key stuff and using hkdf instead of pbkdf2. Nothing in these changes affects the essential security of pyaxo.

rxcomm commented 7 years ago

Note that the AEAD requirement in the latest version of the spec is met by our recent switch to libsodium/pynacl.