aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-04-10Merge pull request #83 from matrix-org/BillCarsonFr/java_sasValere
Java binding for SAS
2019-04-10Return string instead of byte array for b64 encoded dataValere
2019-04-10Added macLongKdf supportValere
2019-04-10E2E: SAS Verification (olm) Valere
Fix / missing free() on some errors Added doc regarding string encoding for keys cleaning
2019-04-08re-add null termination in javascriptHubert Chathi
because older versions of emscripten don't support the length argument to UTF8ToString.
2019-04-08javascript: Switch from deprecated Pointer_stringify() to UTF8toString().Damir Jelić
The Pointer_stringify() function is deprecated and has a couple of issues because it tries to guess the encoding of the buffer. In some cases it can ignore the length parameter which could end up in inconsistencies. Switch to UTF8toString() that takes a length parameter and respects, that way we don't need to allocate an additional byte for a NULL byte.
2019-04-08python: Build the build headers with setup.py.Damir Jelić
This allows downstream users to install this python module with pip as well as allowing people to declare it as a dependency in their setup.py. Signed-off-by: Damir Jelić <poljar@termina.org.uk>
2019-04-08python: Fix the MANIFEST file.Damir Jelić
This patch adds the Olm header files to the manifest, this results in the header files being added to source distributions of the python-olm module. The headers are required to build the module. Including them in the source distribution is the easiest way to make sure that builds from the source distribution will succeed provided that the Olm C library is already installed. Signed-off-by: Damir Jelić <poljar@termina.org.uk>
2019-04-08python: Add PK bindings.Damir Jelić
This patch adds bindings to the PK part of the Olm library contained in the pk.h header file. Encryption, decryption as well as pickling/unpickling of the decryption object is supported. Signed-off-by: Damir Jelić <poljar@termina.org.uk>
2019-04-08python: Make the typing module a requirement only for old python versions.Damir Jelić
Typing is part of standard library from python 3.5 and from python 3.7 onwards trying to install it results in an error. This patch disables typing installation on python versions that are newer than 3.5. Signed-off-by: Damir Jelić <poljar@termina.org.uk>
2019-04-04add missing OlmPkSigning classHubert Chathi
2019-04-02add support for an incorrect KDF that snuck into Riot 1.0Hubert Chathi
2019-03-28update unit test to match function name changeHubert Chathi
2019-03-20add Android bindings for PK signingHubert Chathi
2019-03-13rename functions to be more consistentHubert Chathi
2019-02-15I don't know what an "oml" isHubert Chathi
2019-02-01Merge pull request #81 from matrix-org/dbkr/pk_signHubert Chathi
Add signing class to the pk module
2019-02-01call the right function and remove unnecessary includeHubert Chathi
2019-01-30Yay for incorrect comments breaking the build...David Baker
2019-01-30Drop support for old emscriptenDavid Baker
because emscripted has dropped support for the old flag and us setting it is now breaking the build.
2019-01-29Add signing class to the pk moduleDavid Baker
2019-01-23python: Turn the signature buffer into a bytearray.Damir Jelić
This is a workaround for a bug where signature verification would overwrite the variable holding the signature. This only happens on python2. Signed-off-by: Damir Jelić <poljar@termina.org.uk>
2019-01-21initial implementation of short authentication string generationHubert Chathi
2018-10-24bump OLMKit version too3.0.0Hubert Chathi
2018-10-23prepare release 3.0.0Hubert Chathi
2018-10-23expose the private key length in the Android sdkHubert Chathi
2018-10-23document how to build with cmake, and how to build the Python bindingsHubert Chathi
2018-10-23fix capitalization and update Python binding version on releaseHubert Chathi
2018-10-23include the non-wasm version in the packageHubert Chathi
2018-10-23default to building as a shared libraryHubert Chathi
2018-10-23Merge pull request #75 from matrix-org/manuroe/objc_pk_private_key_lengthHubert Chathi
OLMKit: Expose PK private key length
2018-10-23OLMKit: Fix typo in license headermanuroe
2018-10-23OLMKit: Fix file name casemanuroe
2018-10-23OLMKit: Maintenance: Update Podfile.lockmanuroe
2018-10-23OLMKit: Expose PK private key lengthmanuroe
2018-10-22Merge pull request #67 from matrix-org/cmakeHubert Chathi
CMake support
2018-10-22Merge pull request #70 from matrix-org/manuroe/objc_pkmanuroe
OLMKit: Add objc wrappers for pk encryption/decryption
2018-10-19add functions for dealing with private keys directlyHubert Chathi
2018-10-19more and improved buffer sanitising for Android bindingsHubert Chathi
2018-10-19Merge pull request #71 from matrix-org/js_sanitisingHubert Chathi
zero buffers in the JavaScript bindings
2018-10-19Merge pull request #68 from matrix-org/poljar-pythonHubert Chathi
Poljar's improved python bindings
2018-10-17fix c+p error: don't clobber the decryption object on errorHubert Chathi
2018-10-17OLMKit: Zero buffers out in all pickle & unpickle methodsmanuroe
2018-10-17OLMKit: Zero only critical buffers outmanuroe
2018-10-16zero buffers in the JavaScript bindingsHubert Chathi
2018-10-16document a couple more places where olm clobbers thingsHubert Chathi
2018-10-16also ignore the non-wasm JS fileHubert Chathi
2018-10-16add more buffer clearingHubert Chathi
2018-10-16Fix compilation warning for olm_pk_private_key_length(void);manuroe
2018-10-16Remove .DS_Store for gitmanuroe