- Jun 11, 2020
-
- May 19, 2020
-
-
Hubert Chathi authored
-
- Oct 09, 2019
-
- Jun 24, 2019
-
- Jun 20, 2019
-
-
Damir Jelić authored
-
Damir Jelić authored
This is needed because the function returns Unicode strings and the comparison will fail under python2 unless Unicode literals are used.
-
Damir Jelić authored
Hypothesis isn't used anymore and the strings are now constants, meaning that the hashes should never match.
-
Damir Jelić authored
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.
-
Damir Jelić authored
-
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 30, 2019
-
- Apr 29, 2019
-
- Apr 17, 2019
-
-
Hubert Chathi authored
-
- Apr 12, 2019
-
-
Hubert Chathi authored
-
Hubert Chathi authored
-
- 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
-
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>
-
Damir Jelić authored
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>
-
Damir Jelić authored
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>
-
Damir Jelić authored
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>
-
- Apr 02, 2019
-
-
Damir Jelić authored
Signed-off-by:
Damir Jelić <poljar@termina.org.uk>
-
Damir Jelić authored
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>
-
- Jan 23, 2019
-
-
Damir Jelić authored
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>
-
- Oct 23, 2018
-
-
Hubert Chathi authored
-
- Oct 16, 2018
-
-
Hubert Chathi authored
-
Hubert Chathi authored
also reduce the amount of memory copying that we do
-
Hubert Chathi authored
-
- Oct 15, 2018
-
-
Hubert Chathi authored
-
- Oct 13, 2018
-
-
Hubert Chathi authored
-
- Oct 12, 2018
-
-
Hubert Chathi authored
since they're not for the right repository any more
-
Hubert Chathi authored
- build both Python2 and Python3 libs by default, and add separate rules building Python2 and Python. - use the libraries as built by setuptools, rather than building again separately
-