Olm merge requestshttps://gitlab.matrix.org/matrix-org/olm/-/merge_requests2023-11-22T02:23:11Zhttps://gitlab.matrix.org/matrix-org/olm/-/merge_requests/67Fix breakage in setuptools-69.0.0 by cleaning up setup.py2023-11-22T02:23:11ZHubert ChathiFix breakage in setuptools-69.0.0 by cleaning up setup.pyPatch received via email:
> Hello,
>
> Setuptools 69.0.0 deprecated a bunch stuff leading to a nasty errors during install.
>
> File "/tmp/pip-build-env-w815o5v3/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyproje...Patch received via email:
> Hello,
>
> Setuptools 69.0.0 deprecated a bunch stuff leading to a nasty errors during install.
>
> File "/tmp/pip-build-env-w815o5v3/overlay/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py", line 183, in _license
> _set_config(dist, "license", val["text"])
> ~~~^^^^^^^^
> KeyError: 'text'
> [end of output]
>
> __version__.py wasn't used anywhere except setup.py so removing and setting it all pyproject.toml is safe.
>
> During this decided to move as much as I could out of setup.py, zip-safe has been obsolete for modern setuptools installation methods so dropped it.Hubert ChathiHubert Chathihttps://gitlab.matrix.org/matrix-org/olm/-/merge_requests/66Correct `message_index` type in return signature of `InboundGroupSession::dec...2023-03-29T17:48:04ZMichael TelatynskiCorrect `message_index` type in return signature of `InboundGroupSession::decrypt`Thanks to Bruno for spotting thisThanks to Bruno for spotting thishttps://gitlab.matrix.org/matrix-org/olm/-/merge_requests/65Improve Typescript typing2022-12-06T15:03:47ZMichael TelatynskiImprove Typescript typinghttps://gitlab.matrix.org/matrix-org/olm/-/merge_requests/64Simplify the ratchet2022-11-30T13:06:04ZRichard van der HoffSimplify the ratchetA proposal to replace the megolm ratchet with something much, much simpler.
The existing mechanism for ratcheting the key is baroque and effectively unused. It only offers performance benefits (i.e. being able to advance to any index in...A proposal to replace the megolm ratchet with something much, much simpler.
The existing mechanism for ratcheting the key is baroque and effectively unused. It only offers performance benefits (i.e. being able to advance to any index in at most 1020 steps) once you advance the ratchet more than 257 steps - and we never advance it more than 100, due to the desire to preserve backward secrecy.
The document would probably be clearer if we rearranged it to combine the "Megolm V2 ratchet algorithm" and "Advancing the ratchet" sections, but for now I've left them separate to make the differences to the previous document clearer.https://gitlab.matrix.org/matrix-org/olm/-/merge_requests/63Add missing void return types to the typescript d.ts2022-11-18T22:42:04ZMichael TelatynskiAdd missing void return types to the typescript d.tsFixes https://gitlab.matrix.org/matrix-org/olm/-/issues/13Fixes https://gitlab.matrix.org/matrix-org/olm/-/issues/13https://gitlab.matrix.org/matrix-org/olm/-/merge_requests/62Python bindings: add `py.typed` to wheels2022-10-06T17:59:12ZGhost UserPython bindings: add `py.typed` to wheelsOtherwise the file won't be included in built wheels.
CI failures don't seem related to this MR.Otherwise the file won't be included in built wheels.
CI failures don't seem related to this MR.https://gitlab.matrix.org/matrix-org/olm/-/merge_requests/61fix(megolm spec): Correct the version for the session export format.2022-09-01T13:52:53ZDenis Kasakfix(megolm spec): Correct the version for the session export format.It was mistakenly claimed to be 2 when it's supposed to be 1.It was mistakenly claimed to be 2 when it's supposed to be 1.Denis KasakDenis Kasakhttps://gitlab.matrix.org/matrix-org/olm/-/merge_requests/60Fix dead link to e2ee guide in the README2022-06-23T15:29:15ZDavid RobertsonFix dead link to e2ee guide in the READMEDrive-by, noticed here: https://matrix.to/#/!jxlRxnrZCsjpjDubDX:matrix.org/$JC8Oa1-nAmqnkBnbw9nJv1uMkM5V2Gebc5FnL4ub5Gw?via=matrix.org&via=libera.chat&via=privacytools.ioDrive-by, noticed here: https://matrix.to/#/!jxlRxnrZCsjpjDubDX:matrix.org/$JC8Oa1-nAmqnkBnbw9nJv1uMkM5V2Gebc5FnL4ub5Gw?via=matrix.org&via=libera.chat&via=privacytools.iohttps://gitlab.matrix.org/matrix-org/olm/-/merge_requests/59Describe the session export format.2022-05-27T10:20:10ZDenis KasakDescribe the session export format.This is the Megolm session format used for `m.forwarded_room_key`, the server-side room key backups and Megolm key file exports in the Matrix specification and implementations.This is the Megolm session format used for `m.forwarded_room_key`, the server-side room key backups and Megolm key file exports in the Matrix specification and implementations.https://gitlab.matrix.org/matrix-org/olm/-/merge_requests/58Fix type hints on the Python PkDecryption class2022-05-13T16:13:35ZGhost UserFix type hints on the Python PkDecryption classAlso add a `py.typed` marker to make tools like mypy pick up Olm's Python bindings' types when checking types of a project that uses them.Also add a `py.typed` marker to make tools like mypy pick up Olm's Python bindings' types when checking types of a project that uses them.https://gitlab.matrix.org/matrix-org/olm/-/merge_requests/57Add check to nix flake: compile C library with gcc and clang2022-05-13T01:29:10ZHubert ChathiAdd check to nix flake: compile C library with gcc and clanghttps://gitlab.matrix.org/matrix-org/olm/-/merge_requests/56Write a nix flake -- emscripten build2022-05-11T19:06:09ZHubert ChathiWrite a nix flake -- emscripten buildInitial nix flake work: builds the JavaScript/wasm files.Initial nix flake work: builds the JavaScript/wasm files.https://gitlab.matrix.org/matrix-org/olm/-/merge_requests/55Expose olm_sas_calculate_mac_fixed_base64 in the bindings2022-05-11T15:23:41ZHubert ChathiExpose olm_sas_calculate_mac_fixed_base64 in the bindingshttps://gitlab.matrix.org/matrix-org/olm/-/merge_requests/54Add public pickle/unpickle methods to java bindings2022-04-08T15:16:48ZFrançois GanardAdd public pickle/unpickle methods to java bindingsAdd public methods to pickle/unpickle olm objects in java bindings.Add public methods to pickle/unpickle olm objects in java bindings.François GanardFrançois Ganardhttps://gitlab.matrix.org/matrix-org/olm/-/merge_requests/48Unpublished fallback key bindings + forget2022-04-08T14:27:20ZValereUnpublished fallback key bindings + forgetAdded new bindings for unpublished fallback key methods + forgetFallbackKeyAdded new bindings for unpublished fallback key methods + forgetFallbackKeyValereValerehttps://gitlab.matrix.org/matrix-org/olm/-/merge_requests/53Add Java wrapper for olm_session_describe2022-03-08T14:49:24ZHubert ChathiAdd Java wrapper for olm_session_describeSigned-off-by: Alex Baker <alex@beeper.com>Signed-off-by: Alex Baker <alex@beeper.com>https://gitlab.matrix.org/matrix-org/olm/-/merge_requests/52release 3.2.102022-01-10T13:50:52ZBenoît Martyrelease 3.2.10Release 3.2.1O (no change)Release 3.2.1O (no change)https://gitlab.matrix.org/matrix-org/olm/-/merge_requests/51Release the library on MavenCentral2022-01-06T23:44:59ZBenoît MartyRelease the library on MavenCentralReplacement for the previous MavenCentral merge request.
Tested OK:
![image](/uploads/6b9cde06ca3ed3fc8dfc0e143ccde686/image.png)
But not released yet.
It will have to be done again for release 1.3.9 I guess.Replacement for the previous MavenCentral merge request.
Tested OK:
![image](/uploads/6b9cde06ca3ed3fc8dfc0e143ccde686/image.png)
But not released yet.
It will have to be done again for release 1.3.9 I guess.https://gitlab.matrix.org/matrix-org/olm/-/merge_requests/50Bma/cleanup2022-01-05T21:58:02ZBenoît MartyBma/cleanupSome upgrade and cleanup of the Android part.
Mainly coming from closed !42.Some upgrade and cleanup of the Android part.
Mainly coming from closed !42.https://gitlab.matrix.org/matrix-org/olm/-/merge_requests/42Release the Android Olm wrapper library to MavenCentral2022-01-05T15:29:19ZBenoît MartyRelease the Android Olm wrapper library to MavenCentralThe MR add stuff to be able to release the Android library to MavenCentral.
I've tested and it's working fine. But no release has been done so far, we should only do it from the main tagged branch.
The MR also include some upgrade of ot...The MR add stuff to be able to release the Android library to MavenCentral.
I've tested and it's working fine. But no release has been done so far, we should only do it from the main tagged branch.
The MR also include some upgrade of other dependencies and some cleanup.
See #5