Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-06-20 | tests: Simplify the input parameter for the Unicode decoding tests. | Damir Jelić | |
2019-06-20 | tests: Use Unicode literals in the Unicode decoding tests. | Damir Jelić | |
This is needed because the function returns Unicode strings and the comparison will fail under python2 unless Unicode literals are used. | |||
2019-06-20 | tests: Simplify the sha256 tests for python. | Damir Jelić | |
Hypothesis isn't used anymore and the strings are now constants, meaning that the hashes should never match. | |||
2019-06-20 | tests: Drop hypothesis from the tests. | Damir Jelić | |
Hypothesis recently had some problems with the typing module breaking the tox tests. Since Hypothesis isn't really used much in the test this patch removes it from them as well as from the test-requirements. | |||
2019-06-20 | _compat: Make the encoding argument explicit in to_unicode_str(). | Damir Jelić | |
2019-06-20 | olm: Rename the errors function argument in the decryption functions. | Damir Jelić | |
2019-06-19 | Merge branch 'matthew/define-secrecy' into 'master' | Matthew Hodgson | |
explicitly define backward & forward secrecy See merge request matrix-org/olm!3 | |||
2019-06-20 | fix typo & more wording from luca | Matthew Hodgson | |
2019-06-19 | _compat: Remove the now unused native_str. | Damir Jelić | |
2019-06-19 | _compat: Change the to_native_str into a to_unicode_str function. | Damir Jelić | |
The to_native_str function was supposed to produce Unicode decoded native strings for python2 and python3. Upon further consideration this doesn't make much sense since under python2 it would need to decode the bytes into a Unicode string and turn it back into a python2 str. The ability to use the replacement character requires us to use a Unicode string under python2 as well. | |||
2019-06-19 | _compat: Remove unused import. | Damir Jelić | |
2019-06-18 | incorporate review from vdh & luca | Matthew Hodgson | |
2019-06-18 | Makefile: Add an isort target. | Damir Jelić | |
2019-06-18 | olm: Allow decryption functions to define how to handle unicode decode errors. | Damir Jelić | |
This patch changes the decryption functions not to fail if there was an unicode decode error while converting the decrypted bytes plaintext into a native python string. Characters that cannot be decoded as unicode are now replaced with the unicode replacement character (U+FFFD). The old behaviour of raising an UnicodeDecodeError can be achieved by passing the "strict" error handling scheme to the decrypt function. | |||
2019-06-18 | explicitly define backward & forward secrecy | Matthew Hodgson | |
as it repeatedly trips people up, including me | |||
2019-06-18 | compat: Add a method to convert bytes to a string that handles unicode errors. | Damir Jelić | |
2019-06-12 | fix another incorrect comment | Hubert Chathi | |
2019-06-12 | use the right error in the comment | Hubert Chathi | |
2019-05-20 | remove megolm.rst | Matthew Hodgson | |
2019-05-20 | Merge branch 'markdown' into 'master' | Matthew Hodgson | |
Convert docs from RST to Markdown See merge request matrix-org/olm!2 | |||
2019-05-20 | merge | Matthew Hodgson | |
2019-05-20 | Merge branch 'master' into markdown | Matthew Hodgson | |
2019-05-20 | fix thinko in megolm spec | Matthew Hodgson | |
as per https://github.com/matrix-org/olm/issues/15. thanks to @dest | |||
2019-05-14 | add more consts and comments | Hubert Chathi | |
2019-05-14 | Convert CONTRIBUTING.rst to markdown | Aaron Raimist | |
Signed-off-by: Aaron Raimist <aaron@raim.ist> | |||
2019-05-14 | Convert README.rst to markdown | Aaron Raimist | |
Signed-off-by: Aaron Raimist <aaron@raim.ist> | |||
2019-05-14 | Convert signing.rst to markdown | Aaron Raimist | |
Signed-off-by: Aaron Raimist <aaron@raim.ist> | |||
2019-05-14 | Convert olm.rst to markdown | Aaron Raimist | |
Signed-off-by: Aaron Raimist <aaron@raim.ist> | |||
2019-05-14 | Convert megolm.rst to markdown | Aaron Raimist | |
Signed-off-by: Aaron Raimist <aaron@raim.ist> | |||
2019-05-14 | add comment about input buffers being overwritten | Hubert Chathi | |
also make some params const where possible | |||
2019-04-30 | release 3.1.23.1.2 | Hubert Chathi | |
2019-04-30 | update to newer Android SDK version | Benoit Marty | |
2019-04-30 | improve some comments | Benoit Marty | |
2019-04-29 | bump version number for 3.1.13.1.1 | Hubert Chathi | |
2019-04-29 | avoid variable length arrays in SAS test | Hubert Chathi | |
2019-04-29 | update changelog for 3.1.1 | Hubert Chathi | |
2019-04-29 | disable test_ratchet on dynamically-linked Windows builds | Hubert Chathi | |
2019-04-29 | export all symbols for Windows DLLs | Hubert Chathi | |
2019-04-29 | also add SAS to the tests cmake | Hubert Chathi | |
2019-04-28 | Merge branch 'poljar/cmake_sas' into 'master' | Hubert Chathi | |
cmake: Add the SAS functions to the CMake build. See merge request matrix-org/olm!1 | |||
2019-04-28 | cmake: Add the SAS functions to the CMake build. | Damir Jelić | |
Signed-off-by: Damir Jelić <poljar@termina.org.uk> | |||
2019-04-22 | update changelog3.1.0 | Hubert Chathi | |
2019-04-22 | include the C++ string library in unit tests | Hubert Chathi | |
to fix compilation errors in some compilers | |||
2019-04-22 | don't use variable length or zero-length arrays in test files | Hubert Chathi | |
as some compilers don't handle that | |||
2019-04-22 | remove some debugging output from tests | Hubert Chathi | |
2019-04-19 | Merge pull request #89 from matrix-org/manuroe/cocoapods_update | Hubert Chathi | |
OLMKit: Make podspec point to new https://gitlab.matrix.org/matrix-org/olm | |||
2019-04-19 | OLMKit: Make podspec point to new https://gitlab.matrix.org/matrix-org/olm | manuroe | |
2019-04-17 | update changelog links to point to new repo | Hubert Chathi | |
2019-04-17 | prepare for 3.1.0 release | Hubert Chathi | |
2019-04-12 | Merge pull request #86 from matrix-org/add_python_pk_signing | Hubert Chathi | |
add python bindings for PK signing |