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

v2, domain model redesign #52

Merged
merged 27 commits into from
Dec 21, 2023

Conversation

cypherkitty
Copy link
Contributor

@cypherkitty cypherkitty commented Oct 22, 2023

v2, data-model redesign: complete redesign of the workflow and refactoring and redesign of the domain model of meta secret:

  • get rid of MetaDb(ReadDb): no need to having one more representation in memory
  • separate device info from vault info (UserSignature not exists anymore, and device contains key manager)
  • server can use device data rather than creating a fake user credentials account, which is more adequate way of doing things
  • no need to have an in mem representation of the database - the db structure changed in a way that data can't be queried directly from the database.

…oring and redesign of the domain model of meta secret:

 - get rid of MetaDb(ReadDb): no need to having one more representation in memory
 - separate device info from vault info (UserSignature not exists anymore, and device contains key manager)
 - server can use device data instead of creating a fake user credentials account, which is more adequate way of doing things
 - no need to have an in mem representation of the database - the db structure changed in a way that data can't be queried directly from the database.
 - DeviceInfo -> DeviceId/DeviceData
 - UserSignature -> UserData/UserMemebership
 - BaseEncodedText -> Base64Text
@cypherkitty cypherkitty changed the title v2, data-model redesign: complete redesign of the workflow and refact… v2, domain model redesign Oct 22, 2023
cypherkitty and others added 24 commits October 22, 2023 21:20
 - DeviceInfo -> DeviceId/DeviceData
 - UserSignature -> UserData/UserMemebership
 - BaseEncodedText -> Base64Text
 - DeviceInfo -> DeviceId/DeviceData
 - UserSignature -> UserData/UserMemebership
 - BaseEncodedText -> Base64Text
 - DeviceInfo -> DeviceId/DeviceData
 - UserSignature -> UserData/UserMemebership
 - BaseEncodedText -> Base64Text
 - DeviceInfo -> DeviceId/DeviceData
 - UserSignature -> UserData/UserMemebership
 - BaseEncodedText -> Base64Text
 - DeviceInfo -> DeviceId/DeviceData
 - UserSignature -> UserData/UserMemebership
 - BaseEncodedText -> Base64Text
 - DeviceInfo -> DeviceId/DeviceData
 - UserSignature -> UserData/UserMemebership
 - BaseEncodedText -> Base64Text
 - DeviceInfo -> DeviceId/DeviceData
 - UserSignature -> UserData/UserMemebership
 - BaseEncodedText -> Base64Text
 - DeviceInfo -> DeviceId/DeviceData
 - UserSignature -> UserData/UserMemebership
 - BaseEncodedText -> Base64Text
 - DeviceInfo -> DeviceId/DeviceData
 - UserSignature -> UserData/UserMemebership
 - BaseEncodedText -> Base64Text
 - global index sync
 - sync vault audit events
V2: implement PersistentObjectNavigator which allows to navigate via
keys in the database (like cursor in classical databases)
…ault, VaultStatus), part 1 - Changing VaultDescriptor
…ault, VaultStatus), part 1 - Changing VaultDescriptor
… errors, changing logic according to the new data model
…sign) application services, like meta_client, server_app, virtual_device and so on
…the device will approve join cluster requests)
@cypherkitty cypherkitty marked this pull request as ready for review December 21, 2023 03:53
@cypherkitty cypherkitty merged commit 1500120 into v2-secret-sharing-redesign Dec 21, 2023
1 check passed
@cypherkitty cypherkitty deleted the v2-data-model-redesign branch December 21, 2023 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant