Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-24 | Use _olm_unset instead of memset | Richard van der Hoff | |
memset is at risk of being optimised away, so use _olm_unset instead. | |||
2016-05-24 | Avoid relying on uint -> int casting behaviour | Richard van der Hoff | |
The behaviour when casting from a uint32_t which has overflowed (so has the top bit set) to int32_t is implementation-defined, so let's avoid relying on it. | |||
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 functions to get the state of outbound session | Richard van der Hoff | |
We need to be able to inspect an outbound session so that we can tell our peer how to set up an inbound session. | |||
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 | Factor out pickle_encoding from olm.cpp | Richard van der Hoff | |
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). | |||
2016-05-24 | Factor out olm_error_to_string to a separate file | Richard van der Hoff | |
I want to be able to use this functionality from elsewhere, so factor it out to its own file. | |||
2016-05-24 | Merge branch 'rav/c_bindings' | 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-24 | Remove 'destruct' from cipher_ops | Richard van der Hoff | |
We never delete a cipher, and the destruct op is empty, so it's a bit pointless | |||
2016-05-23 | Fix bug in bounds check when parsing | Mark Haines | |
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 | C binding for olm::unset | Richard van der Hoff | |
2016-05-23 | C bindings for pickle functions | Richard van der Hoff | |
2016-05-23 | Convert cipher.hh to plain C | Richard van der Hoff | |
2016-05-23 | Convert error.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 | Complete fixes for olm_*_last_error | Richard van der Hoff | |
Should have been in the previous commit :/ | |||
2016-05-23 | fix range check in olm_*_last_errror | Richard van der Hoff | |
2016-05-20 | crypto.cpp: Fix comments | Richard van der Hoff | |
These seem to be the wrong way around. | |||
2016-05-20 | Remove functions which return strings | Richard van der Hoff | |
We don't want anything which does dynamic memory allocation in the library. | |||
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-05-16 | Add olm::log_enabled_for | 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 | |
2016-04-26 | Add a basic logging implementation | Richard van der Hoff | |
2015-12-03 | Use header files where possible | Richard van der Hoff | |
This fixes an incorrect re-declaration of ed25519_sign. Implement header files for some of the other library bits so that we don't need to declare functions in crypto.cpp. | |||
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-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-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-16 | Add versions of olm_session_create_inbound and olm_session_matches_inbound ↵ | Mark Haines | |
which take the curve25519 identity key of the remote device we think the message is from as an additional argument | |||
2015-07-15 | olm_account_last_error and olm_clear_account should take an Account not a ↵ | Mark Haines | |
Session | |||
2015-07-14 | Add a test for pickling and unpickling sessions, fix off by one error when ↵ | Mark Haines | |
unpickling sessions | |||
2015-07-10 | Clear the random buffers once they've been used. Add methods for clearing ↵ | Mark Haines | |
the account and session object once they've been used | |||
2015-07-10 | Version the pickled objects and check for errors when unpickling them | Mark Haines | |
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-09 | Add methods for generating new one time keys and for tracking which one time ↵ | Mark Haines | |
keys have been published | |||
2015-07-08 | Don't pass a key id when creating a new outbound session | Mark Haines | |