Skip to content

Store Private Key WIF in MacOS keychain #11

@cgcardona

Description

@cgcardona

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions