Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-09-26 | Wrap error reporting into facility macros | Alexey Rusakov | |
Facility macros to report Olm errors: QOLM_INTERNAL_ERROR[_X], QOLM_FAIL_OR_LOG[_X] | |||
2022-08-25 | KeyVerificationSession: cleanup | Alexey Rusakov | |
- Use std::chrono for the timeout (it's more readable and less ambiguous) and make it a local variable - Only pass a Connection object once to constructors - Ensure buildability even without E2EE (key verification is disabled in that case) - Reorder #includes - Other cleanup following clang-tidy warnings | |||
2022-08-24 | Merge branch 'dev' into device-verification | Alexey Rusakov | |
# Conflicts: # autotests/testfilecrypto.cpp # lib/connection.cpp # lib/connection.h # lib/database.cpp # lib/database.h # lib/e2ee/qolmoutboundsession.cpp # lib/e2ee/qolmoutboundsession.h # lib/eventitem.h # lib/events/encryptedevent.cpp # lib/events/encryptedevent.h # lib/events/encryptedfile.cpp # lib/events/encryptedfile.h # lib/events/keyverificationevent.cpp # lib/events/keyverificationevent.h # lib/events/roomkeyevent.h # lib/room.cpp # lib/room.h | |||
2022-06-21 | Fix a few clang-tidy/GCC warnings | Alexey Rusakov | |
2022-05-29 | Refactor creation of Megolm sessions in Room | Alexey Rusakov | |
Notably, replace a multi-level hash map with QMultiHash and factor out Room::P::createOlmSession(). | |||
2022-05-19 | Use list of 3-tuple instead of map | Tobias Fella | |
2022-05-18 | Make database independent of {Room, User, Connection} | Tobias Fella | |
2022-05-18 | Apply suggestions from code review | Tobias Fella | |
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net> | |||
2022-05-16 | Fix build failures | Tobias Fella | |
2022-05-16 | Add database migration | Tobias Fella | |
2022-05-16 | More work; Update olm pickle & timestamps in database; Remove TODOs | Tobias Fella | |
2022-05-16 | Keep log of where we send keys and send keys to new devices and users | Tobias Fella | |
2022-05-16 | Save and load outgoing megolm session | Tobias Fella | |
2022-05-16 | QOlmExpected and associated refactoring | Alexey Rusakov | |
As mentioned in the commit introducing `Expected`, `QOlmExpected` is simply an alias for `Expected<T, QOlmError>`. This simplifies quite a few function signatures in `QOlm*` classes and collapses unwieldy `std::holds_alternative<>`/`std::get<>` constructs into a neat contextual bool cast and an invocation of `operator*` or `value()`/`error()` accessors that don't need to specify the type. While refactoring the code, I found a couple of cases of mismatching `uint32_t` and `qint32_t` in return values; a couple of cases where `decrypt()` returns `QString` which is in fact `QByteArray` (e.g., in `QOlmSession::decrypt()`); there's a repetitive algorithm in `Connection::Private::sessionDecryptPrekey()` and `sessionDecryptGeneral()` | |||
2022-05-02 | Implement key verification | Tobias Fella | |
2022-04-16 | Merge branch 'dev' into sendmessages | Tobias Fella | |
2022-04-09 | Prepare for MSC 3700 | Tobias Fella | |
2022-04-09 | Check edKey when receiving an olm message | Tobias Fella | |
2022-03-23 | Add database migration | Tobias Fella | |
2022-03-10 | More work; Update olm pickle & timestamps in database; Remove TODOs | Tobias Fella | |
2022-03-10 | Keep log of where we send keys and send keys to new devices and users | Tobias Fella | |
2022-03-10 | Save and load outgoing megolm session | Tobias Fella | |
2022-03-09 | Update lib/database.cpp | Tobias Fella | |
Co-authored-by: Carl Schwan <carl@carlschwan.eu> | |||
2022-03-08 | Store time of last decrypted message for each olm session | Tobias Fella | |
Is required to correctly choose a session to use for sending messages | |||
2022-03-07 | Add datbase migration | Tobias Fella | |
2022-03-07 | Store the device's ed25519 in the database | Tobias Fella | |
2022-02-24 | Fix all tests | Tobias Fella | |
2022-02-12 | Replace QPair with std::pair | Tobias Fella | |
2022-01-30 | Port devices list to database | Tobias Fella | |
2021-12-22 | Another improvement | Tobias Fella | |
2021-12-22 | Apply suggestions from code review | Tobias Fella | |
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net> | |||
2021-12-10 | Remove data from database when leaving room | Tobias Fella | |
2021-12-10 | Use individual databases for each connection | Tobias Fella | |
2021-12-09 | Rename database | Tobias Fella | |
2021-12-08 | Update logging categories | Tobias Fella | |
2021-12-07 | snake_case table names | Tobias Fella | |
2021-12-07 | Fixes | Tobias Fella | |
2021-12-07 | id -> matrixId | Tobias Fella | |
2021-12-07 | Rename "crypto" -> "e2ee" | Tobias Fella | |
2021-12-07 | Port E2EE to database instead of JSON files | Tobias Fella | |