Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for retrying decryption on subsequent syncs #1722

Open
Cadair opened this issue Jan 21, 2021 · 0 comments
Open

Add support for retrying decryption on subsequent syncs #1722

Cadair opened this issue Jan 21, 2021 · 0 comments

Comments

@Cadair
Copy link
Contributor

Cadair commented Jan 21, 2021

Sometimes when receiving events over sync the keys needed to decrypt that event wont have arrived yet. If the decryption was attempted a sync or two later the keys may have arrived and the event could be decrypted.

We should keep a time-limited cache of events which failed to decrypt and re-try the decryption on each subsequent sync until they expire from the cache. (10s or so)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant