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

Decrypt messages with team key #2632

Closed
adrastaea opened this issue Oct 8, 2024 · 1 comment · Fixed by #2733 or #2749
Closed

Decrypt messages with team key #2632

adrastaea opened this issue Oct 8, 2024 · 1 comment · Fixed by #2733 or #2749
Assignees
Labels
4.X v4.X e2ee end-to-end encryption lfa Features related to local-first-web/auth implementation

Comments

@adrastaea
Copy link
Collaborator

adrastaea commented Oct 8, 2024

Description

We already store messages in the redux store after receiving them from OrbitDB, so until we prioritize work to move from the redux store to a better local storage solution we should just decrypt during the replicate and replicate.progress events in storage.service:subscribeToChannel and pass the decrypted message to the redux store. We can maintain a queue of messages that failed to decrypt in LevelDB until we have a better solution.

Acceptance Criteria

  1. Messages are decrypted in backend when replicated from OrbitDB and passed to Redux
  2. Messages which fail to decrypt are added to a queue and checked when the lockboxes a user can access change
  3. < 20% increase in message delivery time (from sending until user sees message)
  4. < 10% increase in time to view recent messages (joining community)
  5. Android notifications display with message contents, as they do now (message logic and decryption must be in backend)
  6. All versions work well enough to do a successful demo
@adrastaea adrastaea added e2ee end-to-end encryption lfa Features related to local-first-web/auth implementation labels Oct 8, 2024
@adrastaea adrastaea moved this to Backlog - Desktop & Backend in Quiet Oct 8, 2024
@adrastaea adrastaea added this to Quiet Oct 8, 2024
@holmesworcester holmesworcester moved this from Backlog - Desktop & Backend to "Next next" sprint in Quiet Dec 3, 2024
@islathehut islathehut added the 5.X v5.X label Dec 3, 2024
@islathehut islathehut moved this from Encryption sprint to In progress in Quiet Jan 29, 2025
@islathehut islathehut self-assigned this Jan 29, 2025
@islathehut
Copy link
Collaborator

Relies on #2631

@islathehut islathehut added 4.X v4.X and removed 5.X v5.X labels Feb 5, 2025
@islathehut islathehut linked a pull request Feb 6, 2025 that will close this issue
4 tasks
@islathehut islathehut moved this from In progress to Waiting for review in Quiet Feb 6, 2025
@islathehut islathehut moved this from Waiting for review to Merged in Quiet Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.X v4.X e2ee end-to-end encryption lfa Features related to local-first-web/auth implementation
Projects
Status: Merged
2 participants