Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-04-08 | add python bindings for PK signing | Hubert Chathi | |
2019-04-08 | re-add null termination in javascript | Hubert Chathi | |
because older versions of emscripten don't support the length argument to UTF8ToString. | |||
2019-04-08 | javascript: 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-08 | python: 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-08 | python: 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-08 | python: 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-08 | python: 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-04 | add missing OlmPkSigning class | Hubert Chathi | |
2019-04-02 | add support for an incorrect KDF that snuck into Riot 1.0 | Hubert Chathi | |
2019-03-28 | update unit test to match function name change | Hubert Chathi | |
2019-03-20 | add Android bindings for PK signing | Hubert Chathi | |
2019-03-13 | rename functions to be more consistent | Hubert Chathi | |
2019-02-15 | I don't know what an "oml" is | Hubert Chathi | |
2019-02-01 | Merge pull request #81 from matrix-org/dbkr/pk_sign | Hubert Chathi | |
Add signing class to the pk module | |||
2019-02-01 | call the right function and remove unnecessary include | Hubert Chathi | |
2019-01-30 | Yay for incorrect comments breaking the build... | David Baker | |
2019-01-30 | Drop support for old emscripten | David Baker | |
because emscripted has dropped support for the old flag and us setting it is now breaking the build. | |||
2019-01-29 | Add signing class to the pk module | David Baker | |
2019-01-23 | python: 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-21 | initial implementation of short authentication string generation | Hubert Chathi | |
2018-10-24 | bump OLMKit version too3.0.0 | Hubert Chathi | |
2018-10-23 | prepare release 3.0.0 | Hubert Chathi | |
2018-10-23 | expose the private key length in the Android sdk | Hubert Chathi | |
2018-10-23 | document how to build with cmake, and how to build the Python bindings | Hubert Chathi | |
2018-10-23 | fix capitalization and update Python binding version on release | Hubert Chathi | |
2018-10-23 | include the non-wasm version in the package | Hubert Chathi | |
2018-10-23 | default to building as a shared library | Hubert Chathi | |
2018-10-23 | Merge pull request #75 from matrix-org/manuroe/objc_pk_private_key_length | Hubert Chathi | |
OLMKit: Expose PK private key length | |||
2018-10-23 | OLMKit: Fix typo in license header | manuroe | |
2018-10-23 | OLMKit: Fix file name case | manuroe | |
2018-10-23 | OLMKit: Maintenance: Update Podfile.lock | manuroe | |
2018-10-23 | OLMKit: Expose PK private key length | manuroe | |
2018-10-22 | Merge pull request #67 from matrix-org/cmake | Hubert Chathi | |
CMake support | |||
2018-10-22 | Merge pull request #70 from matrix-org/manuroe/objc_pk | manuroe | |
OLMKit: Add objc wrappers for pk encryption/decryption | |||
2018-10-19 | add functions for dealing with private keys directly | Hubert Chathi | |
2018-10-19 | more and improved buffer sanitising for Android bindings | Hubert Chathi | |
2018-10-19 | Merge pull request #71 from matrix-org/js_sanitising | Hubert Chathi | |
zero buffers in the JavaScript bindings | |||
2018-10-19 | Merge pull request #68 from matrix-org/poljar-python | Hubert Chathi | |
Poljar's improved python bindings | |||
2018-10-17 | fix c+p error: don't clobber the decryption object on error | Hubert Chathi | |
2018-10-17 | OLMKit: Zero buffers out in all pickle & unpickle methods | manuroe | |
2018-10-17 | OLMKit: Zero only critical buffers out | manuroe | |
2018-10-16 | zero buffers in the JavaScript bindings | Hubert Chathi | |
2018-10-16 | document a couple more places where olm clobbers things | Hubert Chathi | |
2018-10-16 | also ignore the non-wasm JS file | Hubert Chathi | |
2018-10-16 | add more buffer clearing | Hubert Chathi | |
2018-10-16 | Fix compilation warning for olm_pk_private_key_length(void); | manuroe | |
2018-10-16 | Remove .DS_Store for git | manuroe | |
2018-10-16 | OLMKit: Add objc wrappers for pk encryption/decryption | manuroe | |
2018-10-16 | overwrite buffers that may contain sensitive data | Hubert Chathi | |
also reduce the amount of memory copying that we do | |||
2018-10-16 | remove unnecessary comments about not enough random | Hubert Chathi | |