- Jul 05, 2016
-
-
Emmanuel Gil Peyrot authored
This makes the user able to use the familiar `make install` syntax, and allows overriding of the default directories using the DESTDIR and PREFIX variables, for example: make DESTDIR=packaging PREFIX=/usr install
-
Emmanuel Gil Peyrot authored
This provides users of this library the guarantee that the ABI will stay stable when MAJOR will reach 1, and will stay backwards compatible for the entire duration of the 1.x.y branch. It does require the maintainers to always update the version in the Makefile at every ABI change.
-
- Jun 30, 2016
-
-
Richard van der Hoff authored
* write V1 pickles on the master branch * the logging branch is going to write v0x80000001
-
Richard van der Hoff authored
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.
-
Richard van der Hoff authored
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.
-
- May 26, 2016
-
-
Richard van der Hoff authored
It's important that group messages be signed by the sender, rather than by a secret derived from the shared secret.
-
Richard van der Hoff authored
To make sure that we don't sneakily use methods which we wouldn't be able to for remote users, expose an interface object which contains the remote interface.
-
Richard van der Hoff authored
-
Richard van der Hoff authored
message.length counts codepoints; we need bytes.
-
Mark Haines authored
-
Mark Haines authored
-
- May 25, 2016
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
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.
-
Richard van der Hoff authored
sha256.c and aes.c contain conflicting declarations, so we need to compile them as separate units. This requires a bit more Makefile-shuffling; the build directory now includes 'src' or 'lib' as appropriate, and we just mkdir -p before each compilation.
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Mark Haines authored
-
Mark Haines authored
-
- May 24, 2016
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
There was some slightly overcomplex logic designed to save a couple of hash operations when R(0) and R(1) were advanced, but the extra code was hard to understand and didn't save much.
-
Richard van der Hoff authored
We no longer need to keep track of intermediate values of the counter, which means we can update it much more easily.
-
Richard van der Hoff authored
These were left over from when rehash_part did a bunch of logging.
-
Richard van der Hoff authored
I want to use test_olm.sh on jenkins, which lacks jq. Hence, add support to olm.main to get id and one-time keys individually.
-
Richard van der Hoff authored
-
Richard van der Hoff authored
think this got lost when mark added separate release/debug builds
-
Richard van der Hoff authored
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.
-
Richard van der Hoff authored
Initialise megolm_cipher via the preprocessor macro, instead of with a function.
-
Richard van der Hoff authored
-
Richard van der Hoff authored
Some of the crypto libs rely on UINT64_C, which in glibc 2.17 and earlier was not defined for C++ code (see https://sourceware.org/bugzilla/show_bug.cgi?id=15366).
-
Richard van der Hoff authored
memset is at risk of being optimised away, so use _olm_unset instead.
-
Richard van der Hoff authored
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.
-
Richard van der Hoff authored
-
Richard van der Hoff authored
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.
-
Richard van der Hoff authored
-
Richard van der Hoff authored
Includes creation of inbound sessions, etc
-
Richard van der Hoff authored
We need to be able to inspect an outbound session so that we can tell our peer how to set up an inbound session.
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-