- Sep 04, 2016
-
-
Richard van der Hoff authored
I find myself wanting to know if an OlmSession is in the pre-key state or not, to help debugging at the application level.
-
- Sep 02, 2016
-
-
Richard van der Hoff authored
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).
-
- Sep 01, 2016
-
-
Richard van der Hoff authored
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.
-
- May 24, 2016
-
-
Richard van der Hoff authored
We don't need to have all of the top-level pickling functions in olm.cpp; factor out the utilities to support it to pickle_encoding.cpp (and make sure that they have plain-C bindings).
-
Richard van der Hoff authored
I want to be able to use this functionality from elsewhere, so factor it out to its own file.
-
Richard van der Hoff authored
Replace the init-static-var dance with some preprocessor macros
-
- May 23, 2016
-
-
Richard van der Hoff authored
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.
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
Should have been in the previous commit :/
-
Richard van der Hoff authored
-
- May 16, 2016
-
-
Richard van der Hoff authored
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.
-
Richard van der Hoff authored
-
- Apr 26, 2016
-
-
Richard van der Hoff authored
-
- Aug 19, 2015
-
-
Mark Haines authored
Replace hard coded references to the 32-byte key length with a constant, add utilities for copying data to and from fixed sized arrays
-
- Jul 24, 2015
-
-
Mark Haines authored
-
- Jul 16, 2015
-
-
Mark Haines authored
-
Mark Haines authored
Add versions of olm_session_create_inbound and olm_session_matches_inbound which take the curve25519 identity key of the remote device we think the message is from as an additional argument
-
- Jul 15, 2015
-
-
Mark Haines authored
-
- Jul 14, 2015
-
-
Mark Haines authored
-
- Jul 10, 2015
-
-
Mark Haines authored
Clear the random buffers once they've been used. Add methods for clearing the account and session object once they've been used
-
Mark Haines authored
-
Mark Haines authored
Output simpler JSON for the account keys, don't sign the JSON but instead provide a olm_account_sign method so that the user of the library can sign the JSON themselves
-
- Jul 09, 2015
-
-
Mark Haines authored
-
- Jul 08, 2015
-
-
Mark Haines authored
-
Mark Haines authored
-
Mark Haines authored
-
Mark Haines authored
-
- Jul 07, 2015
-
-
Mark Haines authored
-
Mark Haines authored
-
- Jun 26, 2015
-
-
Matthew Hodgson authored
Rename axolotlpp as olm to avoid confusion with Axolotl-the-spec and Axolotl-the-OWS-libraries at moxie's request
-
- Jun 22, 2015
-
-
Mark Haines authored
-
Mark Haines authored
-
Mark Haines authored
-
- Jun 16, 2015
-
-
Mark Haines authored
-
- Jun 15, 2015
-
-
Mark Haines authored
-
- Mar 03, 2015
-
-
Mark Haines authored
-
- Feb 27, 2015
-
-
Mark Haines authored
-
- Feb 26, 2015
-
-
Mark Haines authored
-