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. |
||
|---|---|---|
| .. | ||
| utils | ||
| cross_signing.dart | ||
| encryption.dart | ||
| key_manager.dart | ||
| key_verification_manager.dart | ||
| olm_manager.dart | ||
| ssss.dart | ||