Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-10-16 | also ignore the non-wasm JS file | Hubert Chathi | |
2018-10-15 | use new function names in Android bindings | Hubert Chathi | |
2018-10-15 | use the correct error code | Hubert Chathi | |
2018-10-12 | clear out plaintext buffers in Android SDK where possible | Hubert Chathi | |
2018-10-12 | Merge pull request #61 from matrix-org/dbkr/pk_private_export_import | David Baker | |
Work with PkDecryption keys by their private keys | |||
2018-10-12 | Merge remote-tracking branch 'origin/master' into dbkr/pk_private_export_import | David Baker | |
2018-10-12 | Merge pull request #62 from matrix-org/dbkr/ci2 | David Baker | |
CircleCI Build Support | |||
2018-10-11 | Add aliases for deprecated functions | David Baker | |
2018-10-10 | Merge remote-tracking branch 'origin/master' into dbkr/pk_private_export_import | David Baker | |
2018-10-10 | Merge remote-tracking branch 'origin/master' into dbkr/ci2 | David Baker | |
2018-10-10 | Merge pull request #57 from matrix-org/dbkr/wasm | David Baker | |
WebAssembly support | |||
2018-10-10 | Add note about passing through env var with docker | David Baker | |
2018-10-09 | Merge branch 'master' into dbkr/wasm | Hubert Chathi | |
2018-10-05 | Build on mac | David Baker | |
2018-10-05 | Merge branch 'master' into dbkr/ci2 | Hubert Chathi | |
2018-10-05 | Merge branch 'master' into dbkr/pk_private_export_import | Hubert Chathi | |
2018-10-05 | Merge branch 'master' into dbkr/wasm | Hubert Chathi | |
2018-10-05 | add more comments describing the pk encrypt/decrypt functions | Hubert Chathi | |
2018-10-05 | remove unneeded polyfill | Hubert Chathi | |
2018-10-05 | fix some code style issues and typos | Hubert Chathi | |
2018-10-04 | Dual-build wasm and asm.js olm | David Baker | |
2018-10-03 | ...in the right dir | David Baker | |
2018-10-03 | run npm install | David Baker | |
2018-10-03 | Merge branch 'dbkr/wasm' into dbkr/ci2 | David Baker | |
2018-10-03 | Replace the impenetrable line of perl with python | David Baker | |
Mostly because the standard emscripten docker image does not have libjson-perl, but python always comes with json. But also because it was impenetrable. | |||
2018-10-03 | CircleCI config file | David Baker | |
2018-10-02 | Add an export for the length of a private key | David Baker | |
2018-10-02 | Merge pull request #58 from matrix-org/dbkr/method_consistency | David Baker | |
Call appropriate wrapper function | |||
2018-10-02 | Add other breaking change | David Baker | |
2018-10-02 | Work with PkDecryption keys by their private keys | David Baker | |
Change interface to allow the app to get the private part of the key and instantiate a decryption object from just the private part of the key. Changes the function generating a key from random bytes to be initialising a key with a private key (because it's exactly the same thing). Exports & imports private key parts as ArrayBuffer at JS level rather than base64 assuming we are moving that way in general. | |||
2018-10-02 | Merge remote-tracking branch 'origin/master' into dbkr/wasm | David Baker | |
2018-10-02 | Merge pull request #59 from matrix-org/dbkr/fix_trailing_newlines | David Baker | |
Remove trailing letter 'K's from the test pubkeys | |||
2018-10-01 | Remove trailing letter 'K's from the test pubkeys | David Baker | |
base64 encoded newlines somehow? | |||
2018-10-01 | Merge remote-tracking branch 'origin/master' into dbkr/wasm | David Baker | |
2018-10-01 | Call appropriate wrapper function | David Baker | |
Don't think this matters since there's no PkEncryption / PkDecryption object being passed, but for the sake of consistency | |||
2018-09-27 | oops, fix typo - thanks to @dest4 | Matthew Hodgson | |
2018-09-26 | Support passing olm options into init() | David Baker | |
2018-09-25 | Breking change | David Baker | |
2018-09-25 | Return same promise if init() called many times | David Baker | |
So we only init the library once. | |||
2018-09-25 | Another day, another interface | David Baker | |
Change the interface again, hopefully this time a bit more normal. Now we wrap the emscripten module completely and just expose the high level objects. The olm library export is now imported as normal (ie. returns a module rather than a function returning a module) but has an `init` method which *must* be called. This returns a promise which resolves when the module is ready. It also rejects if the module failed to set up, unlike before (and unlike the promise-not-a-promise that emscripten returns). Generally catch failures to init the module. | |||
2018-09-21 | Also ship the wasm file | David Baker | |
2018-09-21 | Make OLM_OPTIONS work again | David Baker | |
The closure compiler was just renaming the variable so it never would have picked them up. Make it an extern so it knows what to do. | |||
2018-09-21 | WebAssembly support! | David Baker | |
Quite a lot going on in this PR: * Updates to support recent emscripten, switching to WASM which is now the default * Use emscripten's MODULARIZE option rather than wrapping it ourself, since doing so in pre-post js doesn't work anymore. * Most changes are moving the emscripten runtime functions to top-level calls rather than in the Module object. * Get rid of duplicated NULL_BYTE_PADDING_LENGTH * Fix ciphertext_length used without being declared * Fix things that caused the closure compiler to error, eg. using OLM_OPTIONS without a declaration. * Wait until module is inited to do OLM_ERROR = olm_error() The main BREAKING CHANGE here is that the module now needs to initialise asyncronously (because it has to load the wasm file). require()ing olm now gives a function which needs to be called to create an instance. The resulting object has a promise-like then() method that can be used to detect when the module is ready. (We could use MODULARIZE_INSTANCE to return the module directly as before, rather than the function, but then we don't get the .then() method). | |||
2018-09-20 | Merge pull request #55 from matrix-org/dbkr/pk_key_length | David Baker | |
Fix output buffer length check | |||
2018-09-19 | Fix output buffer length check | David Baker | |
...when generating a key in PkDecryption. The pubkey is base64ed on the output, so will be longer. | |||
2018-08-15 | update address for sending feedback for olm | Hubert Chathi | |
2018-07-09 | Request patches to olm@matrix.org | Richard van der Hoff | |
2018-07-04 | prepare 2.3.02.3.0 | Hubert Chathi | |
2018-06-28 | use void in type signatures for functions with no arguments | Hubert Chathi | |
2018-06-28 | add functions for pickling/unpickling a decryption object | Hubert Chathi | |