Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-09-05 | Convert Ed25519 and Curve25519 functions to plain C | Richard van der Hoff | |
2016-09-02 | Create new constants for key lengths, etc | Richard van der Hoff | |
We were using olm::KEY_LENGTH for everything under the sun which happened to be 32 bytes long, and making a bunch of assumptions in the process. Create a bunch of new constants (as C #defines rather than C++ consts so that I can use them in another forthcoming refactor). | |||
2016-09-01 | Fix Ed25519 keypair generation | Richard van der Hoff | |
Ed25519 private keys, it turns out, have 64 bytes, not 32. We were previously generating only 32 bytes (which is all that is required to generate the public key), and then using the public key as the upper 32 bytes when generating the per-message session key. This meant that everything appeared to work, but the security of the private key was severely compromised. By way of fixes: * Use the correct algorithm for generating the Ed25519 private key, and store all 512 bits of it. * Update the account pickle format and refuse to load the old format (since we should consider it compromised). * Bump the library version, and add a function to retrieve the library version, so that applications can verify that they are linked against a fixed version of the library. * Remove the curve25519_{sign, verify} functions which were unused and of dubious quality. | |||
2016-06-30 | PR feedback | Richard van der Hoff | |
* write V1 pickles on the master branch * the logging branch is going to write v0x80000001 | |||
2016-06-30 | Make space in the session pickle for chain index | Richard van der Hoff | |
Keeping track of the chain index is a useful thing to do, but is only required if we've enabled diagnostics. Extend the session pickle format to make a space for it, so that pickles can be transferred between the logging_enabled branch and the master branch without loss of information. Also add some tests for session pickling which explicitly check that we can unpickle both formats of pickle. | |||
2016-06-30 | Remove unused 'chain_index' from Ratchet | Richard van der Hoff | |
This was introduced when I was experimenting with support for logging progress in Olm. That is now relegated to the logging_enabled branch, so this should probably be removed. This also fixes the incompatibility of session pickles from the current master branch with those from olm 0.1.0. | |||
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-25 | Fix an integer wrap around bug and add a couple more tests | Mark Haines | |
2016-05-24 | Fix handling of integer wraparound in megolm.c | Richard van der Hoff | |
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 | Support for pickling inbound group sessions | Richard van der Hoff | |
2016-05-24 | Implement decrypting inbound group messages | Richard van der Hoff | |
Includes creation of inbound sessions, etc | |||
2016-05-24 | Implement pickling/unpickling for outbound group sessions | Richard van der Hoff | |
2016-05-24 | Implementation of an outbound group session | Richard van der Hoff | |
2016-05-24 | Implementation of the megolm ratchet | Richard van der Hoff | |
2016-05-24 | Rewrite _olm_cipher_aes_sha_256 initialisation | Richard van der Hoff | |
Replace the init-static-var dance with some preprocessor macros | |||
2016-05-23 | Prefix for internal symbols | Richard van der Hoff | |
Give a load of internal symbols "_olm_" prefixes. This better delineates the public and private interfaces in the module, and helps avoid internal symbols leaking out and possibly being abused. | |||
2016-05-23 | C bindings for base64 functions | Richard van der Hoff | |
2016-05-23 | Convert cipher.hh to plain C | Richard van der Hoff | |
2016-05-23 | Give SHA256 functions C bindings | Richard van der Hoff | |
2016-05-23 | Rename olm.hh to olm.h | Richard van der Hoff | |
2016-05-23 | Fix warnings and set -Werror | Richard van der Hoff | |
2015-08-19 | Replace hard coded references to the 32-byte key length with a constant, add ↵ | Mark Haines | |
utilities for copying data to and from fixed sized arrays | |||
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-24 | Add methods for computing sha256 hashes and validating ed25519 signatures | Mark Haines | |
2015-07-16 | Add method getting a session id. Update the python and javascript bindings | Mark Haines | |
2015-07-15 | Add a test of olm which uses malloc to create it's buffers so that it is ↵ | Mark Haines | |
possible to check of out of bounds reads and writes using valgrind | |||
2015-07-15 | Fix bug in list where the wrong value was copied if an item was inserted at ↵ | Mark Haines | |
the beinging of the list | |||
2015-07-14 | Add a test for pickling and unpickling sessions, fix off by one error when ↵ | Mark Haines | |
unpickling sessions | |||
2015-07-10 | Output simpler JSON for the account keys, don't sign the JSON but instead ↵ | Mark Haines | |
provide a olm_account_sign method so that the user of the library can sign the JSON themselves | |||
2015-07-09 | Add c bindings for the methods for managing one time keys | Mark Haines | |
2015-07-08 | Change the JSON format for one time keys to include what algorithm they are for | Mark Haines | |
2015-07-08 | Send the public part of the one time key rather than passing an identifier | Mark Haines | |
2015-07-07 | Encode the account keys as a signed JSON object | Mark Haines | |
2015-07-07 | Add functions for creating and verifying ed25519 signatures | Mark Haines | |
2015-07-07 | Rename generate_key to curve25519_generate_key | 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-26 | Add some tests which advance the ratchet on both sides a few times | Mark Haines | |
2015-06-21 | Make the 'random' numbers different for each key in the tests | Mark Haines | |
2015-06-20 | Fix a few valgrind warnings in the tests | Mark Haines | |
2015-06-16 | Add a test for the axolotl API | Mark Haines | |
2015-06-15 | Add base64 encoders and decoders | Mark Haines | |
2015-06-12 | Pass the message body to decrypt_max_plaintext_length so we can get a more ↵ | Mark Haines | |
accurate estimate, rename encrypt_max_output_length to encrypt_output_length and change the api to return the exact number of bytes needed to hold the message | |||
2015-06-11 | rename Session to Ratchet | 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-03-03 | Rename the ratchet source and include files from axolotl to ratchet | Mark Haines | |
2015-03-03 | Add functions for signing and verifying messages using curve25519 keys | Mark Haines | |