- Oct 12, 2018
-
-
Konstantinos Sideris authored
The library can now be installed using CMake v3.0+. Below is an example configuration. 1. Generate configuation cmake -H. -Bbuild -GNinja -DCMAKE_BUILD_TYPE=Release // The default profile. -DCMAKE_INSTALL_PREFIX=/usr/local/ -DBUILD_SHARED_LIBS=ON -DOLM_TESTS=1 -DOLM_FUZZERS=1 2. Build & install the targets cmake --build build --config Release --target install 3. Run the tests cd build/test && ctest . The library can also be used as a dependency with CMake using find_package(Olm::Olm REQUIRED) target_link_libraries(my_exe Olm::Olm) Signed-off-by:
Konstantinos Sideris <sideris.konstantin@gmail.com>
-
Hubert Chathi authored
-
David Baker authored
Work with PkDecryption keys by their private keys
-
David Baker authored
-
David Baker authored
CircleCI Build Support
-
- Oct 11, 2018
-
-
David Baker authored
-
- Oct 10, 2018
-
-
David Baker authored
-
David Baker authored
-
David Baker authored
WebAssembly support
-
David Baker authored
-
- Oct 09, 2018
-
-
Hubert Chathi authored
-
- Oct 05, 2018
-
-
David Baker authored
-
Hubert Chathi authored
-
Hubert Chathi authored
-
Hubert Chathi authored
-
Hubert Chathi authored
-
Hubert Chathi authored
-
Hubert Chathi authored
-
- Oct 04, 2018
-
-
David Baker authored
-
- Oct 03, 2018
-
-
David Baker authored
-
David Baker authored
-
David Baker authored
-
David Baker authored
Mostly because the standard emscripten docker image does not have libjson-perl, but python always comes with json. But also because it was impenetrable.
-
David Baker authored
-
- Oct 02, 2018
-
-
David Baker authored
-
David Baker authored
Call appropriate wrapper function
-
David Baker authored
-
David Baker authored
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.
-
David Baker authored
-
David Baker authored
Remove trailing letter 'K's from the test pubkeys
-
- Oct 01, 2018
-
-
David Baker authored
base64 encoded newlines somehow?
-
David Baker authored
-
David Baker authored
Don't think this matters since there's no PkEncryption / PkDecryption object being passed, but for the sake of consistency
-
- Sep 27, 2018
-
-
Matthew Hodgson authored
-
- Sep 26, 2018
-
-
David Baker authored
-
- Sep 25, 2018
-
-
David Baker authored
-
David Baker authored
So we only init the library once.
-
David Baker authored
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.
-
- Sep 21, 2018
-
-
David Baker authored
-
David Baker authored
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.
-