- Jun 20, 2019
-
-
Damir Jelić authored
-
- Jun 19, 2019
-
-
Damir Jelić authored
-
Damir Jelić authored
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.
-
Damir Jelić authored
-
- Jun 18, 2019
-
-
Damir Jelić authored
-
Damir Jelić authored
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.
-
Damir Jelić authored
-
- Apr 28, 2019
-
-
Hubert Chathi authored
cmake: Add the SAS functions to the CMake build. See merge request matrix-org/olm!1
-
Damir Jelić authored
Signed-off-by:
Damir Jelić <poljar@termina.org.uk>
-
- Apr 22, 2019
-
-
Hubert Chathi authored
to fix compilation errors in some compilers
-
Hubert Chathi authored
as some compilers don't handle that
-
Hubert Chathi authored
- Apr 19, 2019
-
-
Hubert Chathi authored
OLMKit: Make podspec point to new https://gitlab.matrix.org/matrix-org/olm
-
- Apr 18, 2019
-
-
Hubert Chathi authored
-
- Apr 17, 2019
-
-
Hubert Chathi authored
-
- Apr 12, 2019
-
-
Hubert Chathi authored
add python bindings for PK signing
-
Hubert Chathi authored
-
Hubert Chathi authored
OLMKit: add Short Authentication String verification
-
Hubert Chathi authored
-
manuroe authored
-
- Apr 10, 2019
-
-
manuroe authored
(cherry picked from commit add1bd6e4250012dcfa30a40d763dba82f53c254)
-
manuroe authored
(cherry picked from commit ff31d489c68d5d9e597bd55a6f6a64f3fe4c7ecc)
-
manuroe authored
(cherry picked from commit 934d516eb35c488ee197e1bab78a4c81e3c8241d)
-
manuroe authored
(cherry picked from commit 3e954ca2729d3333ea853c878602d1696f616573)
-
manuroe authored
(cherry picked from commit c0a53ebaeda420f636698b99c393868d2bf8f905)
-
Damir Jelić authored
-
Valere authored
Java binding for SAS
-
Valere authored
-
Valere authored
-
Valere authored
Fix / missing free() on some errors Added doc regarding string encoding for keys cleaning
-
- Apr 09, 2019
-
-
Damir Jelić authored
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.
-
Damir Jelić authored
-
Damir Jelić authored
-
- Apr 08, 2019
-
-
Hubert Chathi authored
-
Hubert Chathi authored
because older versions of emscripten don't support the length argument to UTF8ToString.
-
Damir Jelić authored
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.
-
Hubert Chathi authored
-
Damir Jelić authored
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>
-