aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-01-03There is more GetStringUTFChars call.ylecollen
2017-01-03encryptMessage : the UTF8 conversion is done on JAVA side.ylecollen
2017-01-03Comments updateylecollen
2017-01-03Add exception checksylecollen
2017-01-03-> simplify OlmSession.DecryptMessageylecollen
-> Always use javaCStringToUtf8 to convert byte array to String
2017-01-03->Replace 2 spaces tabs by 4 spaces.ylecollen
->fix the NULL and 0 pointer comparisons mixes
2017-01-02Update the tab size to 4 spacesylecollen
2017-01-02Rename getUnreleasedCount to isReleased.ylecollen
2017-01-02Use a 4 spaces tabulationylecollen
2017-01-02Fix tabulations mix and split block of variables when it is possible.ylecollen
2017-01-02getOlmAccountId is aonly public in the OLM SDK packageylecollen
2017-01-02Simplify signMessageJniylecollen
2017-01-02remove useless "new string"ylecollen
2017-01-02identityKeys / oneTimeKeys : remove useless try/catch blocksylecollen
2017-01-02Update the README files.ylecollen
2017-01-02setRandomInBuffer : clear tempByteArray contentylecollen
2016-12-23Fix jenkins failureRichard van der Hoff
do npm install before running the js tests
2016-12-22Bump version numbers throughout2.1.0Richard van der Hoff
2016-12-22Update release process instructionsRichard van der Hoff
2016-12-22Update CHANGELOGRichard van der Hoff
2016-12-22Merge pull request #36 from matrix-org/manuroe/olmkitRichard van der Hoff
OLMKit
2016-12-22Update the copyrightsylecollen
2016-12-21signMessage : the utf8 conversion is done on Java side.ylecollen
2016-12-21create a dedicated file for olm_manager.ylecollen
2016-12-21move getOlmLibVersionJni to the bottomylecollen
2016-12-21move getOlmLibVersionJniylecollen
2016-12-21Fix a potential memory leak.ylecollen
2016-12-21setRandomInBuffer uses java.lang.SecureRandom.ylecollen
2016-12-21Add an encoding type while converting byte[] to stringylecollen
2016-12-21remove the RTL support by default.ylecollen
2016-12-21identityKeys and oneTimeKeys return Map instead of JSON.ylecollen
2016-12-20Merge pull request #41 from matrix-org/rav/js_testsRichard van der Hoff
Add some tests for the Javascript wrappers
2016-12-20OLMKit: More zeroingmanuroe
2016-12-20Update the readme files.ylecollen
2016-12-20Update the execution modeylecollen
2016-12-19OLMKit: Reset intermediate buffers to zeroesmanuroe
2016-12-19Add some tests for the Javascript wrappersRichard van der Hoff
These would have helped avoid the recent FRV.
2016-12-16Merge pull request #40 from matrix-org/rav/fix_encryptionRichard van der Hoff
Avoid buffer overrun on encryption
2016-12-16Avoid buffer overrun on encryptionRichard van der Hoff
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.
2016-12-15Merge pull request #39 from matrix-org/rav/messages_on_heapRichard van der Hoff
Allocate memory for message blobs on the heap
2016-12-15typoRichard van der Hoff
2016-12-15zero out plaintext buffersRichard van der Hoff
Avoid leaving copies of the plaintext sitting around in the emscripten heap.
2016-12-14Merge pull request #38 from matrix-org/rav/handle_load_exceptionsRichard van der Hoff
Better handling of exceptions during loading, and import OLM_OPTIONS
2016-12-14Allocate memory for message blobs on the heapRichard van der Hoff
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.
2016-12-14Let apps override emscripten settingsRichard van der Hoff
Read settings from OLM_OPTIONS to allow apps to configure some options. In particular, this is useful for setting the heap size.
2016-12-12Better handling of exceptions during loadingRichard van der Hoff
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.
2016-11-28Update decryptMessage() API with the error message as an output parameterpedroGitt
2016-11-28Remove un used codepedroGitt
2016-11-24OLMKit: Make returned NSError provide the raw olm error string ↵manuroe
(ex:"UNKNOWN_MESSAGE_INDEX") in their NSLocalizedDescriptionKey. NSLocalizedFailureReasonErrorKey can contain more contextual information.
2016-11-24Add missing gradle folderpedroGitt