1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +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 Auto linted 2016-06-21 13:18:32 -07:00
background.js Made progress on parity for MultiVault 2016-11-01 11:30:10 -07:00
chromereload.js Fix console.error references 2016-08-29 17:32:39 -07:00
config.js Begin adding Ropsten support 2016-11-21 10:58:49 -08:00
contentscript.js Linting to the max. 2016-11-11 10:26:12 -08:00
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 Linting to the max. 2016-11-11 10:26:12 -08:00
popup.js Linting to the max. 2016-11-11 10:26:12 -08:00