-
Notifications
You must be signed in to change notification settings - Fork 6
Store Private Key WIF in MacOS keychain #11
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
Currently BITBOX is storing the PrivateKeyWIF in the redux state tree as plain text. It's not written to disk and the state is completely refreshed and regenerated each time BITBOX is created. Also we're not yet generating transactions.
However security is top priority w/ BITBOX and since these mnemonics/accounts/addresses are valid on the $BCH network someone might generate a mnemonic on a compromised machine and somehow have the privkeys stolen.
We should be storing the privatekeywif in the MacOS keychain.
node-keytar seems like the electron plugin to write to MacOS keychain. Research how it would make sense to integrate this to BITBOX.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request