aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/keyring-controller-test.js
Commit message (Collapse)AuthorAgeFilesLines
* keyring - move identities into memStorekumavis2017-02-011-2/+4
|
* migration 5 - move keyring controller state to substatekumavis2017-01-291-39/+17
|
* background controller - extract KeyringC.placeSeedWords to MetamaskCkumavis2017-01-251-0/+3
|
* Merge branch 'dev' into TxManagerFrankie2016-12-221-15/+0
|\
| * Mostly added bad account detectionDan Finlay2016-12-091-15/+0
| | | | | | | | Currently riddled with logs, because the migrator is inexplicably returning before generating the new style accounts for comparison.
* | add Test for txManager. As well as fix tests to account for txManager.Frances Pangilinan2016-12-151-0/+4
|/
* Denodeify most of KeyringControllerDan Finlay2016-11-291-8/+20
| | | | | | | | | | Mostly Fixes #893 A couple methods cache callbacks, and will require a larger refactor to fully denodeify. Specifically, our methods involving web3 requests to sign a tx, sign a message, and approve or cancel either of those. I think we should postpone those until the TxManager refactor, since it will likely handle this response caching itself.
* Fix more keyring asyncifying testsDan Finlay2016-11-241-1/+8
|
* Mostly got async keyringController tests passingDan Finlay2016-11-231-18/+24
|
* Fix password referenceDan Finlay2016-11-231-0/+1
|
* Fix vault migration unit testDan Finlay2016-11-231-1/+1
|
* Improve vault migration unit testDan Finlay2016-11-231-1/+2
|
* Simplify Encryptor API SurfaceDan Finlay2016-11-231-4/+6
| | | | | | | | | | | | | 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
* Remove entropy from encryption and project.Kevin Serrano2016-11-221-3/+2
|
* Minimize repeated code.Kevin Serrano2016-11-161-1/+1
|
* Rename n variables to numberOfAccounts inside of test suite. Remove idStore ↵Kevin Serrano2016-11-121-2/+1
| | | | tests.
* Fix nickname testDan Finlay2016-11-081-0/+1
|
* Fix BN referenceDan Finlay2016-11-081-0/+1
|
* Fix 787 gas buffer bugDan Finlay2016-11-081-4/+20
|
* Finish fixing nicknaming bugDan Finlay2016-11-041-0/+31
|
* Fix account nicknaming bugDan Finlay2016-11-041-0/+11
| | | | When nicknaming, we weren't normalizing the input, and so we were retrieving with differently formatted addresses than we were persisting.
* Fix vault creation bugDan Finlay2016-11-041-8/+28
|
* Fix handling of migrating old vault styleDan Finlay2016-11-031-4/+14
| | | | | | Now old vaults are recognized as an "Initialized" MetaMask instance. Upon logging in, when fetching the initial password-derived key, if there is no new-style vault, but there is an old style vault, it is migrated to the new format before proceeding through the usual unlocking steps.
* Fix bug in new KeyringController vault restoring logic.Dan Finlay2016-10-221-0/+31
|
* Create new vault before each keyringController unit testDan Finlay2016-10-221-3/+5
|
* Create basic keyring-controller unit test fileDan Finlay2016-10-221-20/+35
|
* Fix testsDan Finlay2016-10-211-106/+0
|
* Add initial KeyringController filesDan Finlay2016-10-121-0/+141