-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Up until now, users had to listen for to-device events to check for secrets that were received as an `m.secret.send` event. This has a bunch of shortcomings: 1. Once the has been given to the consumer, it's gone and can't be retrieved anymore. Secrets may get lost if an app restart happens before the consumer decides what to do with it. 2. The consumer can't be sure if the event was received in a secure manner. This commit ads a inbox for our received secrets where we will long-term store all secrets we receive until the user decides to delete them. It's deemed fine to store all secrets, since we only accept secrets we have requested and if they have been received from a verified device of ours.
- Loading branch information
Showing
12 changed files
with
377 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.