Commit graph

72 commits

Author SHA1 Message Date
Nicolas Werner
7bc57f76f7 Request unknown message indices 2021-01-23 20:08:59 +01:00
Nicolas Werner
1a83a982fc Properly skip device, if it has no keys 2021-01-21 19:25:00 +01:00
Nicolas Werner
f31e2ffc7b Handle devices without keys 2021-01-21 13:21:34 +01:00
Nicolas Werner
cc9de7f3b0 Fix some nulls in relations 2021-01-08 12:48:39 +01:00
Nicolas Werner
fac28bac1a Another shadowed variable 2020-12-18 04:42:24 +01:00
Nicolas Werner
02163636a6 Fix some shadow warnings 2020-12-18 04:21:51 +01:00
Nicolas Werner
994c28ea95 Add download keys from secret storage 2020-12-18 03:04:18 +01:00
Nicolas Werner
9d2177afe2 Request secrets after verification 2020-12-17 03:16:06 +01:00
Nicolas Werner
7b46aa2a6e Store secrets in keychain 2020-12-16 22:10:09 +01:00
Nicolas Werner
559ed57565 Fix crash when we don't have device keys cached 2020-12-15 18:59:08 +01:00
Nicolas Werner
74f17bdc60 Clean up encrypted message handling 2020-12-15 16:09:47 +01:00
Nicolas Werner
9825f1bbd0 Send SSSS requests 2020-12-15 15:48:33 +01:00
Nicolas Werner
77002f17c8 lint 2020-12-08 21:10:27 +01:00
Nicolas Werner
622a9f709b Merge branch 'gitlab-ci' into 'master'
Update .gitlab-ci.yml

See merge request nheko-reborn/nheko!1
2020-12-08 13:40:44 -05:00
Nicolas Werner
c64887cfa8 Fix shadow variable 2020-11-30 01:54:53 +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
0cc4ab7f17 Add gitlab ci 2020-11-27 01:32:41 +01:00
trilene
ee543254e8 clang-format 2020-11-13 09:06:38 -05:00
Nicolas Werner
888d004764 Supress unused var warning for STUN_SERVER (used only if gstreamer supported) 2020-10-30 03:22:48 +01:00
Nicolas Werner
12fff7408e Optimize build 2020-10-27 17:45:28 +01:00
Nicolas Werner
e537ece88d Reload message on m.room_key 2020-10-23 16:09:56 +02:00
Nicolas Werner
66445c507c Trade CPU usage for 30MB of members in RAM 2020-10-22 20:49:15 +02:00
Nicolas Werner
911b461e5d Fix corrupt channel + add additional debugging 2020-10-20 21:35:49 +02:00
Nicolas Werner
cea7f4574f Clean up key requests + autoreload 2020-10-20 19:46:37 +02:00
Nicolas Werner
983690c94f Share code for sending encrypted olm messages 2020-10-20 18:10:09 +02:00
Nicolas Werner
aa9b453f81 Store timestamp with olm sessions 2020-10-20 13:46:05 +02:00
Nicolas Werner
1f68bc60b5 Actually forward keys using m.forwared_room_key 2020-10-18 02:02:14 +02:00
Nicolas Werner
c25fd947a8 Automatic key sharing with trusted users 2020-10-18 00:52:35 +02:00
Nicolas Werner
bc7494473b Answer key requests for all our sessions 2020-10-17 00:12:26 +02:00
Nicolas Werner
bca29a4227 Make steps in verification flow explicit 2020-10-05 22:12:10 +02:00
Nicolas Werner
c9de044e32 Handle forwarded room keys 2020-10-02 13:46:32 +02:00
Nicolas Werner
54db9c89ed Simplify outbound session setup
Don't send inbound session to self and claim and send all keys at once.
2020-09-20 23:07:02 +02:00
CH Chethan Reddy
5358854de3 Add support for Encrypted to-device verification messages 2020-09-03 09:37:16 +05:30
CH Chethan Reddy
b174bd9380 Merge remote-tracking branch 'upstream/master' into device-verification 2020-08-30 22:27:14 +05:30
CH Chethan Reddy
9a76db85d5 Change ReactionRealtesTo to RelatesTo 2020-08-30 16:32:28 +05:30
CH Chethan Reddy
8a4bd37fea [WIP] Room Verification Works! 2020-08-18 11:29:02 +05:30
Nicolas Werner
7eb0c4e09c Also request keys from own devices 2020-08-06 22:18:52 +02:00
Nicolas Werner
1f9215a5be Split error messages from event decryption 2020-08-06 21:46:16 +02:00
CH Chethan Reddy
1fcd768f88 Adding Room Key Verification Stuff 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
ce013e67a6 Add some more slots and mac 2020-07-30 22:10:27 +05:30
Chethan2k1
1eb162cb6f Handle Device Verification related to_device messages 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
f9c0f4dd54 Add C++ Model for DeviceList 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
64f204d984 Rewrite UserProfile in qml 2020-07-30 22:10:27 +05:30
Nicolas Werner
c973fd759b Fix m.relates_to being sent as 'null' when not set in encrypted messages.
Thank you Sorunome for reporting.
2020-06-20 19:26:54 +02:00
CH Chethan Reddy
e4a7e85935 Change the commit hash for mtxclient 2020-05-15 17:48:27 +05:30
CH Chethan Reddy
30d61e3114 minor fixes 2020-05-15 17:48:27 +05:30
Nicolas Werner
54013e4a00 Basic, broken reaction display 2020-05-04 13:14:54 +02:00
Joseph Donofry
b298f01d92
Add signal/slot for decryption changes in last patch 2020-04-22 19:52:30 -04:00