- Dec 16, 2016
-
-
Richard van der Hoff authored
Make sure we null-terminate encrypted strings before passing them to UTF8ToString. This used to work when we allocated the buffer on the stack, because it turns out that allocate() zeroinits the returned memory. malloc(), of course, does not.
-
- Dec 15, 2016
-
-
Richard van der Hoff authored
Allocate memory for message blobs on the heap
-
Richard van der Hoff authored
-
Richard van der Hoff authored
Avoid leaving copies of the plaintext sitting around in the emscripten heap.
-
- Dec 14, 2016
-
-
Richard van der Hoff authored
Better handling of exceptions during loading, and import OLM_OPTIONS
-
Richard van der Hoff authored
Messages can be very large, so we don't really want to allocate them on the stack. Switch to using the heap for them, and try to clean up some of the string handling while we're at it.
-
Richard van der Hoff authored
Read settings from OLM_OPTIONS to allow apps to configure some options. In particular, this is useful for setting the heap size.
-
- Dec 12, 2016
-
-
Richard van der Hoff authored
If we get an exception during load, don't define half of window.Olm (which confuses apps). This is a partial fix to https://github.com/vector-im/riot-web/issues/2726.
-
- Oct 27, 2016
-
-
Richard van der Hoff authored
-
- Oct 25, 2016
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Mark Haines authored
-
- Oct 24, 2016
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
fuzz_group_decrypt.cpp got broken by 653790ea; fix it up
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
Return the base64-encoded length of pickles
-
Mark Haines authored
Document the potential for message replays and possible mitigations
-
Richard van der Hoff authored
make olm_pickle_* return the lengths of the base64-encoded pickles, rather than the raw pickle. (From the application's POV, the format of the pickle is opaque: it doesn't even know that it is base64-encoded. So returning the length of the raw pickle is particularly unhelpful.)
-
- Oct 21, 2016
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
All the other methods clear their random inputs. This one needs to do the same, to reduce the risk of the randomness being used elsewhere and leaking key info.
-
Mark Haines authored
-
Mark Haines authored
-
Mark Haines authored
-
Mark Haines authored
-
Mark Haines authored
Return the message index when decrypting group messages.
-
- Oct 20, 2016
-
-
Mark Haines authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
Add notes on limitations to megolm spec
-
Mark Haines authored
-
Mark Haines authored
Applications can use the index to detect replays of the same message.
-
- Oct 19, 2016
-
-
Richard van der Hoff authored
We're standardising on 'one-time keys' as a term for the thing that Bob uploads for prekey messages.
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
Fix a buffer bounds check when decoding group messages
-
Richard van der Hoff authored
Add a README for the fuzzers
-
Richard van der Hoff authored
Fixes a segfault when a group message had exactly the length of the mac + signature. Also tweak skipping of unknown tags to avoid an extra trip around the loop.
-