Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Prevent the homeserver from inserting malicious secrets | Nicolas Werner | 2022-09-28 | 1 | -15/+25 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Correctly verify that the reply to a secrets request is actually coming from a verified device. While we did verify that it was us who replied, we didn't properly cancel storing the secret if the sending device was one of ours but was maliciously inserted by the homeserver and unverified. We only send secret requests to verified devices in the first place, so only the homeserver could abuse this issue. Additionally we protected against malicious secret poisoning by verifying that the secret is actually the reply to a request. This means the server only has 2 places where it can poison the secrets: - After a verification when we automatically request the secrets - When the user manually hits the request button It also needs to prevent other secret answers to reach the client first since we ignore all replies after that one. The impact of this might be quite severe. It could allow the server to replace the cross-signing keys silently and while we might not trust that key, we possibly could trust it in the future if we rely on the stored secret. Similarly this could potentially be abused to make the client trust a malicious online key backup. If your deployment is not patched yet and you don't control your homeserver, you can protect against this by simply not doing any verifications of your own devices and not pressing the request button in the settings menu. | ||||
* | Fix too many fmt parameters | Nicolas Werner | 2022-07-30 | 1 | -1/+1 |
| | |||||
* | Make code compile with hidden friends | Nicolas Werner | 2022-07-29 | 1 | -1/+1 |
| | |||||
* | Request full online keybackup when turning it on | Nicolas Werner | 2022-06-19 | 1 | -0/+67 |
| | |||||
* | Get rid of 'using json = nlohmann::json' | Nicolas Werner | 2022-06-17 | 1 | -11/+11 |
| | |||||
* | Fix compilation without implicit nlohmann conversions | Nicolas Werner | 2022-06-17 | 1 | -10/+11 |
| | |||||
* | Remove sender key from megolm session index | Nicolas Werner | 2022-04-08 | 1 | -24/+24 |
| | | | | | | implements MSC3700 see https://github.com/matrix-org/matrix-spec-proposals/pull/3700 | ||||
* | Allow properly editing pending encrypted messages | Nicolas Werner | 2022-02-27 | 1 | -13/+25 |
| | |||||
* | Update year in copyright notice to shut up lint job | Nicolas Werner | 2022-01-01 | 1 | -0/+1 |
| | |||||
* | Reserve size of some containers we are filling | Nicolas Werner | 2021-12-29 | 1 | -0/+1 |
| | |||||
* | Fix more warnings and remove dead code | Nicolas Werner | 2021-12-28 | 1 | -3/+3 |
| | |||||
* | Fix a few shadowing warnings | Nicolas Werner | 2021-12-11 | 1 | -2/+2 |
| | | | | fixes #824 | ||||
* | Fix no replies being rendered for edits sent from Element in encrypted rooms | Nicolas Werner | 2021-11-11 | 1 | -5/+4 |
| | |||||
* | Add self verification after login | Nicolas Werner | 2021-10-30 | 1 | -26/+43 |
| | |||||
* | Move voip and encryption stuff into their own directories | Nicolas Werner | 2021-10-17 | 1 | -0/+1612 |