Nicolas Werner
ff82452816
Upgrade trust of megolm sessions when receiving RoomKey
...
Before we only did that, when we basically didn't have the key yet. But
since we usually get sent a RoomKey when a new message is sent after we
sign in, we were discarding, that those messages should usually now be
trusted.
2023-11-19 20:11:21 +01:00
Nicolas Werner
ce1a64bc19
Move to automatic type registration
2023-06-19 01:38:40 +02:00
Nicolas Werner
96f791daf1
Get rid of year in license headers
...
See also:
https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
https://hynek.me/til/copyright-years/
2023-02-21 23:48:49 +01:00
Nicolas Werner
3a6a905429
A whole new year full of excitement and possibilities!
2023-01-02 04:25:33 +01:00
Nicolas Werner
b28fa86e6a
Enable -Wconversion
2022-10-26 01:10:35 +02:00
Nicolas Werner
851333a50d
Switch to clang-format14
2022-09-25 20:05:08 +02:00
Nicolas Werner
90da39313f
Use right linter
2022-05-10 03:53:35 +02:00
Nicolas Werner
a6b2be112b
More image dialog fixes
2022-05-10 03:20:09 +02:00
Nicolas Werner
66b7ff639c
Remove sender key from megolm session index
...
implements MSC3700
see https://github.com/matrix-org/matrix-spec-proposals/pull/3700
2022-04-08 01:53:00 +02:00
Nicolas Werner
61404641d9
Update year in copyright notice to shut up lint job
2022-01-01 04:57:53 +01:00
Nicolas Werner
5ca1fb18bb
Move away from using an event loop to access secrets
...
Fixes messages in room flickering and being stuck
fixes #760
relates to #770
relates to #789
2021-11-07 03:52:57 +01:00
Nicolas Werner
cfca7157b9
Change indentation to 4 spaces
2021-09-18 00:45:50 +02:00
Nicolas Werner
56db0dbc7d
Allow downloading keys from key backup
2021-08-17 03:24:12 +02:00
Nicolas Werner
110fef5c68
Request keys when opening a room for the first time
2021-08-14 02:41:34 +02:00
Nicolas Werner
18ea01e198
Show if there are unverified devices in a room
...
Also fixes some issues where nested transactions will poison the
verification cache.
2021-08-13 23:19:54 +02:00
Nicolas Werner
b73bd2859c
Protect against replay attacks
2021-08-07 23:54:35 +02:00
Nicolas Werner
9fadd14871
Store megolm session data in separate database
2021-07-17 01:27:37 +02:00
Nicolas Werner
2df4c532ed
Add TOFU (Trust On First Use) mode to encryption
2021-05-07 17:01:57 +02:00
Nicolas Werner
0d0709ccd3
Show verification status next to messages
2021-05-07 17:01:57 +02:00
Nicolas Werner
569ea5b5f4
Rotate session keys properly
2021-03-15 16:24:01 +01:00
Nicolas Werner
a6f0d2ea7d
Update license headers
2021-03-05 01:04:07 +01:00
Nicolas Werner
2ce129e6b6
Properly share and rotate sessions on member and device changes
2020-11-30 01:54:53 +01:00
Nicolas Werner
2290ebcf78
Remove outbound session storage
2020-11-30 01:54:53 +01:00
Nicolas Werner
c24f9a22a5
Load sessions lazily from db
2020-11-30 01:54:53 +01:00
Nicolas Werner
12fff7408e
Optimize build
2020-10-27 17:45:28 +01:00
Nicolas Werner
aa9b453f81
Store timestamp with olm sessions
2020-10-20 13:46:05 +02:00
Nicolas Werner
7b6fab3373
Calculate verification status from cross-signing sigs and update dynamically
2020-10-08 00:20:12 +02:00
Nicolas Werner
94690ebd4c
Clean up verification and key cache a bit
2020-10-02 01:14:42 +02:00
CH Chethan Reddy
1d299951b6
Cache Fix
2020-08-24 13:58:00 +05:30
CH Chethan Reddy
a2979c2df1
Updating keys of outdated encrypted users
2020-07-30 22:10:27 +05:30
CH Chethan Reddy
ac1fbbb69f
Some issue with UserProfile
2020-07-30 22:10:27 +05:30
CH Chethan Reddy
6fae36abc4
[WIP] Add Caching for users
2020-07-30 22:10:27 +05:30
Nicolas Werner
13df852479
Reduce some include of Cache.h since it needs 11s on average
2019-12-14 23:40:32 +01:00