1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 18:41:38 +01:00
metamask-extension/app/scripts
Dan Finlay de8da9ddf6 Simplify Encryptor API Surface
At least, the portion of it that we use.

Moved salting within the encryptor, so it does not need to be managed externally.

KeyringController now caches the password instead of a passwordDerivedKey, since it is ignorant of the salt.

Encryptor payload is now in a JSON format, so its portions are both base64 encoded *and* labeled appropriately.  The format is `{ "data": "0x0", "iv": "0x0", "salt": "string" }`.

Fixes #843
Fixes #859
2016-11-22 15:54:51 -08:00
..
keyrings Improve Keyring organization 2016-11-21 19:40:58 -08:00
lib Simplify Encryptor API Surface 2016-11-22 15:54:51 -08:00
migrations
background.js
chromereload.js
config.js
contentscript.js
inpage.js change all instances of selectedAddress to selectedAccount. 2016-11-21 16:21:16 -08:00
keyring-controller.js Simplify Encryptor API Surface 2016-11-22 15:54:51 -08:00
metamask-controller.js Merge branch 'dev' into dev-cleanup 2016-11-22 10:50:15 -08:00
popup-core.js
popup.js