This repository was archived by the owner on Oct 7, 2024. It is now read-only.

Description
Description
As part of the new KeyringController API, there's a need to improve the current encryption logic for the vault.
Today the user's password directly encrypts the vault, there's an improvement opportunity where the KeyringController can use an encryption key to encrypt the vault. Next is presented the specific steps for two use cases,
Use Case: Lock the vault
- Create or get encryption-key
- Encrypt vault with encryption-key
- Encrypt encryption-key with password
Use Case: Unlock the vault
- Decrypt encryption-key with password
- Decrypt vault with encryption-key
Acceptance Criteria
Reference