matrix-dart-sdk/lib/encryption
Nicolas Werner 6a28ab05d0
fix: Deduplicate key OTK uploads
We do the key upload asynchronously without awaiting it. This means we
may do multiple syncs before the key upload finishes. So we may generate
more keys than we should.

To fix that prevent multiple key uploads from running at once. This may
lead to outdated key uploads in some cases if we miss an OTK being used
in sync. However, the next sync will still tell us about that so in the
worst case this might delay key uploads by 30s (with the default sync
timeout), which for normal usage should be completely acceptable.
2024-10-07 20:55:14 +02:00
..
utils fix: Type error when uploading room keys 2024-06-25 08:33:35 +02:00
cross_signing.dart fix: Always wait for account data to load before returning SSSS status 2023-05-03 17:11:00 +02:00
encryption.dart refactor: Remove duplicated copyMap method and fix type error 2023-12-11 10:29:06 +01:00
key_manager.dart fix: don't convert archived rooms to joined rooms by accident 2024-09-18 11:11:35 +02:00
key_verification_manager.dart feat: switch from pedantic to lints 2022-08-15 14:15:51 +00:00
olm_manager.dart fix: Deduplicate key OTK uploads 2024-10-07 20:55:14 +02:00
ssss.dart fix: validate account_data values instead of checking them in syncUpdates 2023-12-20 21:10:31 +05:30