metamask-extension icon indicating copy to clipboard operation
metamask-extension copied to clipboard

The way idb is stored on edge is different from chrome.

Open Miooiio opened this issue 9 months ago • 2 comments

What is this about?

I have an old computer that won't boot but I can copy the data, I tried to find the IDB file but it seems that edge's IDB file is shared by all the plugins so it can't be decrypted, how do I do that?

Scenario

No response

Design

No response

Technical Details

No response

Threat Modeling Framework

No response

Acceptance Criteria

No response

Stakeholder review needed before the work gets merged

  • [ ] Engineering (needed in most cases)
  • [ ] Design
  • [ ] Product
  • [ ] QA (automation tests are required to pass before merging PRs but not all changes are covered by automation tests - please review if QA is needed beyond automation tests)
  • [ ] Security
  • [ ] Legal
  • [ ] Marketing
  • [ ] Management (please specify)
  • [ ] Other (please specify)

References

No response

Miooiio avatar Apr 30 '24 11:04 Miooiio

The only difference in restoring ldb from edge is that there is a different extension id: ejbalbakoplchlghecdalmeeeajnimhm

So you just go to %localappdata%\Microsoft\Edge\User Data\Default\Local Extension Settings\ejbalbakoplchlghecdalmeeeajnimhm, and then get the ldb from there

Memexurer avatar May 09 '24 18:05 Memexurer

Also you can use this modified script based on https://github.com/cclgroupltd/ccl_chrome_indexeddb to extract keys: dump_leveldb.py.txt You can use it like this: python dump_leveldb.py.txt "%localappdata%\Microsoft\Edge\User Data\Default\Local Extension Settings\ejbalbakoplchlghecdalmeeeajnimhm"

Memexurer avatar May 09 '24 18:05 Memexurer