Recover Private Key from disk image


#1

I recently wiped my Windows installation and reinstalled everything fresh. (So fresh and so clean!)

I did create a disk image of my previous drive and I still have the original OS.

Now I need to setup my passbolt chrome extension again but I don’t know where I saved my private key.

I presume it is possible to extract my private key directly from AppData/Local/Google/Chrome/User Data but I am not sure where the data is stored. Has anyone attempted this?

Is passbolt private key stored in browser Local Storage?

I wonder if it would be easier to just launch an instance of Chrome pointing to the old User Data dir and extracting it normally…


#2

Yes you are on the right track it’s possible.
https://chromium.googlesource.com/chromium/src/+/master/docs/user_data_dir.md
https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data

You can try to search the files for the private key there (in Local Extension Settings). find . | xargs grep 'BEGIN PGP PRIVATE' > found

That would most likely work too.


closed #3

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.