Commit Graph

1756 Commits

Author SHA1 Message Date
621c396407 feat(service): Handle file decryption errors 2022-11-04 21:52:06 +01:00
3f2cc3d97a feat(xmpp): When sending is cancelled, return an error stanza
This will help once we try to encrypt IQ stanzas.
2022-11-04 21:52:06 +01:00
ce927308c4 feat(xmpp): Allow stanza handlers to cancel sending 2022-11-04 21:52:06 +01:00
df99eb0aab chore(service): Add TODO 2022-11-04 21:52:06 +01:00
e8473d4f5b chore(service): Refactor the MediaFileLocation 2022-11-04 21:52:06 +01:00
1175d77c55 feat(service): Generate the OMEMO device in the background 2022-11-04 21:52:06 +01:00
570f4ca7d9 chore(service): Clean the cryptography service 2022-11-04 21:52:06 +01:00
e4b9c8f1bc feat(service): Generate a plaintext hash in all cases 2022-11-04 21:52:06 +01:00
ea6e7c5d8c feat(service): Hash the file before sending the metadata 2022-11-04 21:52:06 +01:00
a462945c98 feat(service): Perform encryption and decryption off-thread 2022-11-04 21:52:06 +01:00
003d4d65e5 chore(meta): Bump omemo_dart 2022-11-04 21:52:06 +01:00
38fa5ab991 fix(service): Fix the result of file encryption 2022-11-04 21:52:06 +01:00
e22e7b9c90 fix(xmpp): Fix not parsing ESFS 2022-11-04 21:52:06 +01:00
fc6a8eae9d fix(service): Fix trust device list not loaded 2022-11-04 21:52:06 +01:00
4dab811388 fix(service): Fix file not encrypted before upload 2022-11-04 21:52:06 +01:00
012dc5ec69 feat(xmpp): Collection commit
- Fix Db issue when saving the trust device list
- Prevent constantly requesting our own device bundles if it's just our
  one device.
- Encrypt uploads and decrypt downloads
2022-11-04 21:52:06 +01:00
f72f67342d feat(service): Implement a service for file cryptography 2022-11-04 21:52:06 +01:00
283ac315d8 feat(service): Also store the used encryption mechanism 2022-11-04 21:52:06 +01:00
1a5b0f372d chore(meta): Update DOAP 2022-11-04 21:52:06 +01:00
de40e859d7 feat(xmpp): Implement XEP-0448 2022-11-04 21:52:06 +01:00
6140de8eea feat(ui): Add (untested) support for recreating own sessions 2022-11-04 21:52:06 +01:00
a9fcbd7909 feat(xmpp): Add Message Processing Hints to OMEMO messages 2022-11-04 21:52:06 +01:00
a963153c2a feat(service): Use cryptography_flutter for possible speedup 2022-11-04 21:52:06 +01:00
8efb743b84 feat(ui): Implement (untested) device deletion 2022-11-04 21:52:06 +01:00
f251d6b97b feat(xmpp): Implement PubSub item delete 2022-11-04 21:52:06 +01:00
8a5a96d02c feat(ui): Implement enabling and disabling one's own sessions 2022-11-04 21:52:06 +01:00
fc0dd14b4d feat(ui): Display key controls only on keys we have a session with 2022-11-04 21:52:06 +01:00
4d67c157f0 feat(service): Implement getting one's own device fingerprints 2022-11-04 21:52:06 +01:00
a678ef70e7 fix(ui): isEmpty -> isNotEmpty 2022-11-04 21:52:06 +01:00
87d320b6da feat(ui): Implement viewing the device's fingerprint 2022-11-04 21:52:06 +01:00
6b7d3c4b7c chore(ui): Move the fingerprint widget into its own file 2022-11-04 21:52:06 +01:00
8a99f8f6b1 feat(service): Remove the need for secure storage in OmemoService 2022-11-04 21:52:06 +01:00
4aa24cc0a1 chore(service): Move shouldEncrypt check to ConversationService 2022-11-04 21:52:06 +01:00
e309f3bbd0 fix(ui): Make the fingerprint display font size better 2022-11-04 21:52:06 +01:00
a757c45b84 fix(ui): Make the message list react to changes in encryption 2022-11-04 21:52:06 +01:00
ed397e352f chore(xmpp): Add TODO 2022-11-04 21:52:06 +01:00
cf6cec4d32 fix(xmpp): Fix not encrypting messages 2022-11-04 21:52:06 +01:00
c4422355e3 feat(xmpp): Make Omemo optional 2022-11-04 21:52:06 +01:00
dd947ecd39 feat(service): Improve initializing the OmemoManager 2022-11-04 21:52:06 +01:00
968b59aaee fix(service): Ensure OmemoService is safe against late initialization 2022-11-04 21:52:06 +01:00
b9cb023306 chore(ui): Add TODO 2022-11-04 21:52:06 +01:00
031ef140f3 feat(ui): Color bubbles red if they are unencrypted when they should not 2022-11-04 21:52:06 +01:00
7376607475 feat(ui): Implement enabling and disabling Omemo (UI Only) 2022-11-04 21:52:06 +01:00
1aea6ee588 feat(ui): Make enabling Omemo by default configurable 2022-11-04 21:52:06 +01:00
12717ba25e feat(service): Store the encryption status of conversations in the DB 2022-11-04 21:52:03 +01:00
a1fa666cd3 chore(meta): Finally make gitlint rules prettier 2022-11-04 21:51:18 +01:00
30cfd67e28 xmpp: Encrypt to self 2022-11-04 21:51:18 +01:00
068d156da3 xmpp: Attempt to ignore our own device ratchet 2022-11-04 21:51:18 +01:00
ce4ed9b0a9 xmpp: Implement the race condition detection 2022-11-04 21:51:18 +01:00
b8acbe7359 ui: Fix issues with const 2022-11-04 21:51:18 +01:00