Commit graph

22 commits

Author SHA1 Message Date
Tulir Asokan
315d2ab17d all: fix staticcheck issues
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-12-08 00:07:25 +02:00
Toni Spets
94664f1c8a Secret sharing implementation 2024-01-24 12:56:46 +02:00
Tulir Asokan
e45bdbb8b0 Add better messages when trying to decrypt with withheld session 2023-05-09 14:15:18 +03:00
Tulir Asokan
6879d6b693 Delete megolm sessions when receiving new one and when session is fully used 2023-04-11 11:42:13 +03:00
Tulir Asokan
20df20d25a Ratchet inbound sessions on decrypt and delete outbound on ack 2023-04-10 16:27:05 +03:00
Tulir Asokan
5a66a33d4a Add structs for MSC3952 2023-03-01 17:40:54 +02:00
Tulir Asokan
2527377f69 Fix withheld unauthorized error code 2022-09-14 22:23:34 +03:00
Tulir Asokan
6d5a9d184c Make required trust level in e2be configurable 2022-06-22 20:05:22 +03:00
Tulir Asokan
0eee489b64 Switch to /v3 paths everywhere 2022-04-17 12:59:34 +03:00
Tulir Asokan
087644889b Stop using non-existent device_id field when handling olm messages 2021-12-03 17:47:41 +02:00
Tulir Asokan
835194fa2d Automatically create new Olm sessions if decryption fails 2021-12-03 16:23:24 +02:00
Tulir Asokan
72fc4c1643 Stop using github.com/pkg/errors 2020-09-24 14:41:29 +03:00
Tulir Asokan
c3c4f6afe0 Fix Go 1.13 requirement and make compiling SAS optional 2020-08-02 13:52:13 +03:00
Nikos Filippakis
ed446d64a1 Forward keys when asked for room keys from the same user ID
Signed-off-by: Nikos Filippakis <me@nfil.dev>
2020-07-17 16:17:44 +02:00
Tulir Asokan
ea5cf3ee5e Add some comments and other changes to crypto stuff 2020-06-23 21:42:33 +03:00
Tulir Asokan
cb16e2bfa8 Fix EncryptionEventContent field 2020-06-18 00:26:23 +03:00
Tulir Asokan
61b3fde37b Fix m.relates_to handling in encrypted events 2020-05-05 19:36:40 +03:00
Tulir Asokan
fe82e2b914 Add initial outbound encryption 2020-04-28 00:57:04 +03:00
Tulir Asokan
2adedba476 More decryption stuff 2020-04-26 22:48:35 +03:00
Tulir Asokan
946714d720 Move canonicaljson and go-olm inside crypto/ 2020-04-21 03:31:42 +03:00
Tulir Asokan
3d4ddf7161 Add support for olm events in EncryptedEventContent struct 2020-04-21 02:56:09 +03:00
Tulir Asokan
f4fc99cddb Overhaul event content representation 2020-04-19 03:23:27 +03:00