Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-04-09 | Prepare for MSC 3700 | Tobias Fella | |
2022-04-09 | Don't crash when decrypting existing messages | Tobias Fella | |
2022-04-09 | Make sure devices are known before decrypting olm messages | Tobias Fella | |
2022-04-09 | Check edKey when receiving an olm message | Tobias Fella | |
2022-04-09 | Correctly load EncryptedEvents | Tobias Fella | |
2022-03-23 | Add database migration | Tobias Fella | |
2022-03-11 | Fix loading images when E2EE is disabled | Tobias Fella | |
2022-03-10 | Minor fix | Tobias Fella | |
2022-03-10 | Update lib/room.cpp | Tobias Fella | |
2022-03-10 | Update lib/events/encryptedfile.h | Tobias Fella | |
2022-03-10 | More work; Update olm pickle & timestamps in database; Remove TODOs | Tobias Fella | |
2022-03-10 | Properly create encrypted edits | Tobias Fella | |
2022-03-10 | Implement sending encrypted files | 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-10 | Implement sending encrypted messages | Tobias Fella | |
2022-03-10 | Add constructor for creating roomkeyevents | Tobias Fella | |
2022-03-10 | Merge pull request #541 from TobiasFella/storesessionedkey | Alexey Rusakov | |
Store some more things in the database | |||
2022-03-09 | Check for empty ed25519 key. | 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 | Guard against device reuse attacks | Tobias Fella | |
2022-03-07 | Store the device's ed25519 in the database | Tobias Fella | |
2022-02-27 | Merge #538: Verification should return false instead of error for failed ↵ | Alexey Rusakov | |
signature checks | |||
2022-02-27 | Merge #535: Convenience functions for querying user devices and keys from cache | Alexey Rusakov | |
2022-02-27 | Update lib/e2ee/qolmutility.cpp | Tobias Fella | |
Co-authored-by: Carl Schwan <carl@carlschwan.eu> | |||
2022-02-27 | Return false instead of error for failed signature checks | Tobias Fella | |
2022-02-27 | Merge pull request #537 from TobiasFella/decryptcheckroom | Alexey Rusakov | |
2022-02-27 | Apply suggestions | Tobias Fella | |
2022-02-27 | Apply suggestions | Tobias Fella | |
2022-02-27 | Merge #536: Use QOlmMessage::Type in more places | Alexey Rusakov | |
2022-02-26 | Check that decrypted events are for the current room | Tobias Fella | |
2022-02-26 | Use QOlmMessage::Type in more places | Tobias Fella | |
Make sure that the enum values correspond to the values used in the spec and use them instead of magic constants | |||
2022-02-26 | Handle to-device messages before handling roomdata | Tobias Fella | |
Probably improves the performance slightly If we handle to room data first, if a message arrives at the same time as the to-device message containing the key and we handle the message first, it will not be decryptable and stored as undecrypted. Then, when the key is handled, the cache of undecrypted messages is searched, the message decrypted and replaced. When handling the key first, the message can be decryped instantly. | |||
2022-02-26 | Add convenience functions for querying user devices and keys from cache | Tobias Fella | |
2022-02-26 | Merge pull request #477 from TobiasFella/work/readencryptedmessages | Alexey Rusakov | |
2022-02-25 | Ifdef | Tobias Fella | |
2022-02-25 | Save key counts to state | Tobias Fella | |
Otherwise new one time keys will be uploaded on every start | |||
2022-02-24 | Fix all tests | Tobias Fella | |
2022-02-16 | quotient_export.h: #include <qglobal.h> | Alexey Rusakov | |
To ensure Q_DECL_EXPORT/Q_DECL_IMPORT macros are defined. | |||
2022-02-16 | More cleanup, especially in EncryptedFile | Alexey Rusakov | |
For EncryptedFile: - JSON converter bodies moved away to .cpp; - instead of C-style casts, reinterpret_cast is used to convert from (const) char* to (const) unsigned char*; - the size for the target plain text takes into account the case where the cipher block size can be larger than 1 (after reading https://www.openssl.org/docs/man1.1.1/man3/EVP_DecryptUpdate.html). - file decryption is wrapped in #ifdef Quotient_E2EE_ENABLED, to avoid OpenSSL linking errors when compiling without E2EE. | |||
2022-02-16 | isSupportedAlgorithm() | Alexey Rusakov | |
That's a better primitive than just exposing SupportedAlgorithms list. | |||
2022-02-16 | Use QHash instead of QMap | Alexey Rusakov | |
We don't seem to need sorted associative containers in those cases. | |||
2022-02-16 | Fix file decryption | Tobias Fella | |
2022-02-16 | Connection: guard device loading per-object | Alexey Rusakov | |
Using a static variable is incorrect as it doesn't load the device list for any subsequent created Connection object. | |||
2022-02-16 | Cleanup | Alexey Rusakov | |
A note on switching to QLatin1String for JSON key constants - this is more concise and barely affects (if at all) runtime performance (padding each QChar with zeros is trivial for assignment; and comparison can be done directly with the same performance as for two QStrings). | |||
2022-02-16 | Add a few missing QUOTIENT_API stanzas | Alexey Rusakov | |
Also, removed Q_GADGET macros from key verification events as those don't seem to do anything (no Q_ENUM/Q_FLAG things, namely). | |||
2022-02-14 | Don't set lifetime as version in call invites | Tobias Fella | |
2022-02-14 | Revert "Don't #include "logging.h" from headers" | Alexey Rusakov | |
This reverts commit 2cf44607cf0f057e147c2c4fe6dded6c13c58a8a (that was stupid, honestly). |