- 04 Oct, 2019 1 commit
-
-
David Baker authored
instead of having a static one, as that could end up taking up a lot of memory if your app keeps olm sessions hanging about.
-
- 01 Oct, 2019 1 commit
-
-
David Baker authored
As a way to dump the state of an olm session, ie. the chain indicies, so we can debug why olm sessions break and get out of sync.
-
- 27 Jun, 2018 1 commit
-
-
- 05 Sep, 2016 1 commit
-
-
Richard van der Hoff authored
-
- 04 Sep, 2016 1 commit
-
-
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.
-
- 02 Sep, 2016 1 commit
-
-
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).
-
- 01 Sep, 2016 1 commit
-
-
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.
-
- 24 May, 2016 3 commits
-
-
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
-
- 23 May, 2016 6 commits
-
-
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
-
- 16 May, 2016 2 commits
-
-
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
-
- 26 Apr, 2016 1 commit
-
-
Richard van der Hoff authored
-
- 19 Aug, 2015 1 commit
-
-
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
-
- 24 Jul, 2015 1 commit
-
-
Mark Haines authored
-
- 16 Jul, 2015 2 commits
-
-
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
-
- 15 Jul, 2015 1 commit
-
-
Mark Haines authored
-
- 14 Jul, 2015 1 commit
-
-
Mark Haines authored
-
- 10 Jul, 2015 3 commits
-
-
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
-
- 09 Jul, 2015 1 commit
-
-
Mark Haines authored
-
- 08 Jul, 2015 4 commits
-
-
Mark Haines authored
-
Mark Haines authored
-
Mark Haines authored
-
Mark Haines authored
-
- 07 Jul, 2015 2 commits
-
-
Mark Haines authored
-
Mark Haines authored
-
- 26 Jun, 2015 1 commit
-
-
Matthew Hodgson authored
Rename axolotlpp as olm to avoid confusion with Axolotl-the-spec and Axolotl-the-OWS-libraries at moxie's request
-
- 22 Jun, 2015 3 commits
-
-
Mark Haines authored
-
Mark Haines authored
-
Mark Haines authored
-
- 16 Jun, 2015 1 commit
-
-
Mark Haines authored
-