-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
Currently the Java SDK stores the encryption key for the sharedWith atSign as a separate key. This is incompatible with the Dart SDK as this expected the key to be in the metadata. And it also creates a potential failure window because of the ordering of the 2 updates.
Describe the solution you'd like
Update the Java SDK to match the dart behaviour, specifically...
- The encryption key used for shared keys between two atsigns only need to be stored once, for the atsign that owns / is shareing the key
- Shared keys need to include this key (encrypted with the sharedWith atsigns public encryption key) in the metadata of every key
- The lookup for shared keys (shared by another) should expect the metadata to include the encryption key and behave accordingly
Describe alternatives you've considered
NA
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request