How to extract OAUTH (TOTP keys) from a pico-tool dump? #139
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I dumped the memory of my pico a while back, and the pico has now died and I need to get my TOTP keys out. How do I do that?
Is it recognized by
picotool?Yes.
Then you can backup and restore the entire flash memory to another device. It will generate new FIDO credentials and older will not be recognized but in the case of OTP should work since it uses another filesystem.
The death of the pico was because I applied a update to it, and that update has made it so I cannot access yubikey.
Thanks, I tried a bunch of different UF2's, untill I saw that the pid:vid of the pico key was 0000:0000. I was running into #118 , I updated my pico key, and then comissioned it, and then all of my fido stuffs dissapeared. Is there a way to recover them? Passkeys are gone, but all of the normal OAUTH stuff is still there.
Try the development version and commission it through the web. It should work unless you installed another firmware prepared for less memory that overwrote the previous map.
I am using the development version, commissioned through web. All passkey stuff is gone, I didnt use another firmware with less memory, only
pico_fido_seeed_xiao_rp2040-6.4.uf2pico_fido_seeed_xiao_rp2040-6.4.uf2 (development ver)pico_fido_seeed_xiao_rp2040-6.4.yubikey5.uf2 (pico patcher version)and almost flashed
pico_hsm_seeed_xiao_rp2040-6.4.uf2, however I noticed it's the "pico_hsm" version.Probably the HSM wiped all the previous data.
Would not make sense, all OAUTH info would be gone, but it's still there.
@polhenarejos Cannot seem to get the passkeys out of it in any way shape or form. Even the previous dumps I can't get the passkey.
Is there a way that I can emulate the passkey or spoof it to get access to a bunch of my accounts?
You would need a special firmware to do so.