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

TBD: Changes regarding export key, deriving master key + domain separation #146

Open
gijsvl opened this issue Nov 14, 2022 · 0 comments
Open

Comments

@gijsvl
Copy link

gijsvl commented Nov 14, 2022

TBD, see also: https://github.com/boltlabs-inc/key-mgmt/issues/356

These are the changes as implemented in the above issue:

  • MasterKey is derived from the opaque export key using "OPAQUE-derived Lock Keeper master key" as the domain separation string.
  • ExportKey should not be used for anything else, but to derive MasterKey. MasterKey gets derived immediately after ExportKey is known, after which ExportKey is discarded and MasterKey is cached within the Session.
  • MasterKey should not be used directly to encrypt anything, but specific domain separated keys should be derived.
  • To encrypt the StorageKey, a key is derived from MasterKey using the user ID + the domain separator "storage key"
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

No branches or pull requests

1 participant