Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-10-19 | Fix a buffer bounds check when decoding group messages | Richard van der Hoff | |
Fixes a segfault when a group message had exactly the length of the mac + signature. Also tweak skipping of unknown tags to avoid an extra trip around the loop. | |||
2016-09-06 | Sign megolm messages | Richard van der Hoff | |
Add ed25519 keys to the inbound and outbound sessions, and use them to sign and verify megolm messages. We just stuff the ed25519 public key in alongside the megolm session key (and add a version byte), to save adding more boilerplate to the JS/python/etc layers. | |||
2016-05-25 | Remove session_id from group messages | Richard van der Hoff | |
Putting the session_id inside the packed message body makes it hard to extract so that we can decide which session to use. We don't think there is any advantage to having thes sesion_id protected by the HMACs, so we're going to move it to the JSON framing. | |||
2016-05-24 | Separate base64ing from the rest of msg encoding | Richard van der Hoff | |
Factor the actual message encoding/decoding and encrypting/decrypting out to separate functions from the top-level functions which do the base64-wrangling. This is particularly helpful in the 'outbound' code-path where the offsets required to allow room to base64-encode make the flow hard to see when it's all inline. | |||
2016-05-24 | Fix up some names, and protobuf tags | Richard van der Hoff | |
Make names (of session_key and message_index) more consistent. Use our own protobuf tags rather than trying to piggyback on the one-to-one structure. | |||
2016-05-24 | Implement decrypting inbound group messages | Richard van der Hoff | |
Includes creation of inbound sessions, etc | |||
2016-05-24 | Implementation of an outbound group session | Richard van der Hoff | |
2016-05-23 | Fix bug in bounds check when parsing | Mark Haines | |
2016-05-16 | Remove logging functionality | Richard van der Hoff | |
Concerns have been raised that including logging functionality makes it harder to audit the implementation to ensure that no secret information is leaked. We are therefore removing it from the master branch. | |||
2016-05-16 | translate logging.cpp to C | Richard van der Hoff | |
2016-04-26 | Fix a bunch of compiler warnings, and turn on warnings. | Richard van der Hoff | |
2016-04-26 | Add some logging to help understand what's going on | Richard van der Hoff | |
2015-08-18 | Make the internal functions static, remove some unused internal functions | Mark Haines | |
2015-08-07 | Fix crash where the message length was shorter than the length of the mac | Mark Haines | |
2015-08-07 | Initialise the length fields of the reader struct in decode_message, even if ↵ | Mark Haines | |
the message is invalid, fixes a crash where the message was too short | |||
2015-08-07 | Fix a crash when decoding messages that are too short | Mark Haines | |
2015-07-08 | Send the public part of the one time key rather than passing an identifier | Mark Haines | |
2015-06-27 | Rename axolotlpp as olm to avoid confusion with Axolotl-the-spec and ↵ | Matthew Hodgson | |
Axolotl-the-OWS-libraries at moxie's request | |||
2015-06-23 | Fix bug encoding integers larger than 128 | Mark Haines | |
2015-06-23 | Add missing include, fix bug in handling unknown message fields | Mark Haines | |
2015-06-23 | This field isn't being used anywhere so don't bother including it in the ↵ | Mark Haines | |
messages | |||
2015-06-12 | Implement the session key exchange | Mark Haines | |
2015-06-11 | Add encoder and decoder for PreKey messages | Mark Haines | |
2015-06-11 | Move AES specific details behind a cipher interface | Mark Haines | |
2015-02-26 | Copyright notices and a license | Mark Haines | |
2015-02-25 | Don't bother passing through the mac_length, the caller already knows it ↵ | Mark Haines | |
since they supplied it | |||
2015-02-25 | Add a message encoder/decoder | Mark Haines | |