aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-04-12Merge pull request #86 from matrix-org/add_python_pk_signingHubert Chathi
add python bindings for PK signing
2019-04-12more isortHubert Chathi
2019-04-12Merge pull request #88 from matrix-org/manuroe/sas_pksigningHubert Chathi
OLMKit: add Short Authentication String verification
2019-04-12isort python/olm/pk.pyHubert Chathi
2019-04-12OLMKit: OMLPkSigning: Zero mutableSeedmanuroe
2019-04-10OLMKit: OlmPkEncryption: Fix typos in sanity checksmanuroe
(cherry picked from commit add1bd6e4250012dcfa30a40d763dba82f53c254)
2019-04-10OLMKit: SAS: Add PK signingmanuroe
(cherry picked from commit ff31d489c68d5d9e597bd55a6f6a64f3fe4c7ecc)
2019-04-10OLMKit: SAS: Added macLongKdf supportmanuroe
(cherry picked from commit 934d516eb35c488ee197e1bab78a4c81e3c8241d)
2019-04-10OLMKit: add Short Authentication String verificationmanuroe
(cherry picked from commit 3e954ca2729d3333ea853c878602d1696f616573)
2019-04-10Fix arg name in commentsmanuroe
(cherry picked from commit c0a53ebaeda420f636698b99c393868d2bf8f905)
2019-04-10Merge branch 'python-sas'Damir Jelić
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-09python: Add the SAS header to the manifest.Damir Jelić
The SAS header is required to build the package therefore it needs to be shipped with the source distribution of the package. Adding it to the manifest achieves this.
2019-04-09python: Add support for the long KDF MAC calculation.Damir Jelić
2019-04-09python: Remove an unneeded and old copyright header.Damir Jelić
2019-04-08add python bindings for PK signingHubert Chathi
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-08Merge branch 'master' into poljar/python-sasHubert Chathi
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-04-02python: Expose the sha256() function in the utilities.Damir Jelić
Signed-off-by: Damir Jelić <poljar@termina.org.uk>
2019-04-02python: Add Short Authentication String bindings.Damir Jelić
This patch adds bindings to the SAS part of the Olm library contained in the sas.h header file. Signed-off-by: Damir Jelić <poljar@termina.org.uk>
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