Dan Finlay
6ebdebc0a5
Remove line of cruft
8 years ago
Dan Finlay
4b7b0a86d8
Refine isInitialized derivation method
8 years ago
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
8 years ago
kumavis
bc39cd7b89
KeyringController - estimateGas->analyzeGasUsage fix gasLimit + detect OOG
8 years ago
Dan Finlay
c4056a861a
Move state update outside of conditional callback block
8 years ago
Dan Finlay
606c0b7618
Remove callback type check
8 years ago
Dan Finlay
136296aad6
Began moving salt into encryptor
8 years ago
Dan Finlay
ea56426b23
Use callback in placeSeedWord method.
...
When displaying seed words, we were not using a callback, which had some race condition potential. This is simply a little cleaner and more correct.
Fixes #842
8 years ago
Dan Finlay
9fb96128e6
Rename idStoreMigrator method for clarity
...
Fixes #841
8 years ago
Dan Finlay
ced36eb201
Improve Keyring organization
...
Separated public & private methods. (Fixes #845 )
Made class method `type()` into a simple property. (Fixes #846 )
8 years ago
Kevin Serrano
1cbab788ec
Change fauceting to become a response of an emit.
8 years ago
Kevin Serrano
f5b0795ac5
change all instances of selectedAddress to selectedAccount.
8 years ago
Kevin Serrano
9123e70434
Remove entropy from encryption and project.
8 years ago
Kevin Serrano
bc6312e9e3
Promisify persistence of keyrings before returning key
...
Change single letter variables (shame)
8 years ago
Kevin Serrano
cd2442e3e7
Persist keyrings from migration to storage.
8 years ago
Dan Finlay
f229d32442
Replace old random-id code with incrementing id generator
8 years ago
Kevin Serrano
592b64a19f
Revert one cb to previous state.
8 years ago
Kevin Serrano
5bfb700fa8
Minimize dispatches by using emitters and relying on state updates.
8 years ago
Kevin Serrano
a4666de0ce
Minimize repeated code.
8 years ago
Kevin Serrano
b1fee2a1d3
Minimize repeated code.
8 years ago
Kevin Serrano
7de6b12aad
Re-enable disclaimer screen. Rename variables to reflect role more clearly.
8 years ago
Kevin Serrano
4826f7c0a0
Revert to previous anonymous function for promise.
8 years ago
Kevin Serrano
20cea5b2f5
Various keyring changes
...
- Rearrange the require statements.
- Remove unused web3.
- Simplify some callbacks and promises.
- Clarify certain parameters.
8 years ago
Kevin Serrano
23263bec7d
Linting to the max.
8 years ago
Frankie
17aac2dbc5
fix tx data so it has the network id
8 years ago
Dan Finlay
553a6da011
Fix 787 gas buffer bug
8 years ago
Dan Finlay
fc26a0a899
Fix network checking
8 years ago
Dan Finlay
abebe51f69
Add tolerance to normalize method
8 years ago
Dan Finlay
ba7d6b437f
Fix password validation and persistence issue
...
Was wiping the vault on each successful password attempt... :P
8 years ago
Kevin Serrano
2afc06287d
Implement private key exporting.
8 years ago
Dan Finlay
e0246975a7
Finish fixing nicknaming bug
8 years ago
Dan Finlay
bd2a429a85
Fix account nicknaming bug
...
When nicknaming, we weren't normalizing the input, and so we were retrieving with differently formatted addresses than we were persisting.
8 years ago
Dan Finlay
9ca3c57339
Fix vault creation bug
8 years ago
Dan Finlay
185396ff08
Fix dual vault creation bug
8 years ago
Dan Finlay
ed1917d71a
Fix initial vault creation
8 years ago
Dan Finlay
4cf1b606e4
Fix handling of migrating old vault style
...
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.
8 years ago
Kevin Serrano
8f3db0dbc0
Add reveal of seed words.
8 years ago
Dan Finlay
b5f6ef8c01
Fixed bugs related to clearing caches when restoring to a new vault
8 years ago
Dan Finlay
498b30bddc
Fix seed phrase restore
8 years ago
Kevin Serrano
db356a181a
Made progress on parity for MultiVault
...
- Deleted some unused items
- Renamed files and paths to match with new locations.
- Modified keyring controller logic to separate concerns.
- Fix account naming issues.
- Enable creation of new vault with default HD keyring.
- Formatting issues.
8 years ago
Kevin Serrano
96643c222a
Implement seed word confirmation page.
...
Remove logs.
Move HD render files to ui/app.
8 years ago
Kevin Serrano
6fc498f8a0
Implement auto-fauceting
8 years ago
Dan Finlay
18e5173f06
Now migrating old vaults to new DEN format
8 years ago
Dan Finlay
6ec471c6dc
Configure BIP44 Keychain as default one
8 years ago
Kevin Serrano
678301a20e
Phase out extra warning screen.
8 years ago
Dan Finlay
518ff399fb
Fix loading indication
8 years ago
Dan Finlay
1ddb8b9aec
Added tx & msg managing functionality to new KeyringController
8 years ago
Dan Finlay
626b52d24a
Fix bug in new KeyringController vault restoring logic.
8 years ago
Dan Finlay
44aa1be277
Create basic keyring-controller unit test file
8 years ago
Dan Finlay
c3e1c5c57f
Added SimpleKeyring tests
8 years ago