-
Notifications
You must be signed in to change notification settings - Fork 61
Readme for crypto and how data is stored #345
Hi the readme at https://github.com/Dashlane/dashlane-cli/blob/master/src/modules/crypto/README.md
is non existent.
Please update as interested in how it stores credentials, encryption keys and if it uses short term credentials from an authorised browser session.
Happy to create one if one doesn't exist after I've had a look at the code
All reactions
Replies: 1 comment
Hello, here is the content it used to contain: https://github.com/Dashlane/dashlane-cli/blob/dea97107d9d701f181daf4363b4ec126b0766964/src/modules/crypto/README.md
Basically, a local key was generated and stored in a keychain (generally provided by the operating system). Then, that local key was encrypted using the master password, and the master password was encrypted using the local key (only if you were not using an SSO and did not configure the cli to forget the master password as soon as possible). Also, the parameters to encrypt the key are the default ones which are listed here https://github.com/Dashlane/dashlane-cli/blob/8d37e32ebba9e95404f25236b659db692d1bdb4d/src/modules/crypto/keychainManager.ts#L60C7-L60C41.
However, this might not be up-to-date, and I am not a Dashlane employee.