steveluscher / sollet-wallet-rescue

A tool to recover your Sollet wallets' seed phrases from your browsers' local databases
MIT License
4 stars 2 forks source link

The tool now prompts you for a passphrase to decrypt each key #3

Closed steveluscher closed 1 year ago

steveluscher commented 1 year ago

Summary

The script now prompts you for a passphrase for each bit of Sollet key material found. This passphrase is used to decrypt the key material and display the mnemonic on-screen.

Test plan

 % pnpm start

> sollet-wallet-rescue@1.0.0 start /usr/alice/Desktop/sollet-backup
> ./cli.js

Scanning for browser storage folders
Opening local storage database at /usr/alice/Library/Application Support/Google/Chrome/Default/Local Storage/leveldb
Found 1 Sollet key
prompt: Enter passphrase for Sollet key from /usr/alice/Library/Application Support/Google/Chrome/Default/Local Storage/leveldb:  
{
  mnemonic: 'confirm dinner artefact start squeeze mass sure era color wife toe purpose rival catalog fall walnut amazing mistake direct remain worry west loyal around',
  seed: '52d004823a6f69a2166412c7caf793bb546f2d4895a6f3d05a2b1d932cf7e5521ee72e375cf667992456041ab3dc21e754cd8442bcb723f55db4f79b25b3630b',
  derivationPath: 'bip44Change'
}

Closes #1