-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to decrypt metadata #2
Comments
Could you please try the |
Then I get |
Hmm, that's annoying. What version of Seedvault is the backup from? I've just made a backup on GrapheneOS using Seedvault 13-3.3 and it extracted fine. |
It's 13-3.3 too on Lineage OS 20. |
The only things I can think of are:
Apart from those two, I'm not too sure what to think here. I'll have to have a read through the Seedvault decryption code again and see if I missed anything (the files of interest are |
Yeah, June last year should be the time where I replaced my phone. For me the same directory is used for incremental backups. Isn't that the default? Unix timestamps on my backup server say that new backup data is added from time to time. Maybe I can try to delete this backup and create an entirely new one. Do you have experience with that? Can I just delete the .seedvault directory on Android and reinitialize seedvault? |
You're right - it seems like Seedvault reuses the same directory (token) for all backups. I'd be cautious about removing the backups directory, I ended up breaking Seedvault (crash loop) on my device by doing this and I had to clear its app data for it to recover. I've got an old device which supports LineageOS 20 (crazy how far back they support!) - I'll try installing it and see if I can reproduce this with a fresh backup (I'd prefer this to the chance of anything happening to your Seedvault 😁) The only other thing worth confirming is that the |
I've set up a device on LineageOS 20-20230511-NIGHTLY (Seedvault 13-3.3) and I'm able to extract the generated backup without any issues (I've attached the file to tlambertz/seedvault_backup_parser#14 (comment)). I'm not too sure what to recommend at this point except for verifying file integrity as I mentioned above. |
Thanks for doing that. 😁 |
Fantastic news! Glad to hear it's working for you now 🎉 |
Hey, having the same issue with 3 existing backups (can't create new ones atm sadly). My phone created 3 different folders on the backup device + the sv folder. I'm also getting Could it also be related to wrong usage? ( |
I would not say that it's due to incorrect usage. Your command looks right. I had the same issue and did not change anything until it worked. I'm currently still having problems with the backup extraction. The tool is missing some encrypted blobs. I would say it's a problem with Seedvault itself. Btw: how do you transfer the seedvault backup? Nextcloud, web dav or local storage? |
Thanks for the reply. I was using web dav in my local network. |
Hmm, I'm using local storage + syncthing. |
I just spend way too much time on this topic, regarding i have most of my data in another backup solution, but here i am, and hear me out: The mnemonics are the key! In my case, i always copy/pasted the words through a (hopefully) secure storage solution, so i didn't think much about it, but i just tried out how the keys change if you switch around the mnemonics, and realized they are literally just a character array, not a fancy way to remember words (that map to like 2 bytes or something). So, i though maybe when pasting in the seedvault app, there is automatically an case correction done (or similar). As it turns out, one of the mnemonic words was displayed with a typo in the seedvault app. Which had to be corrected! Now it works great, thanks everyone! |
If I run it on my backup with:
I get the following error:
I'm not sure how I can further help, since I don't want to share my backup. 😅
But if you give me a direction I may be able to debug it myself.
I verified that the mnemonic is the correct one by entering it in the seedvault verifier on Android.
The text was updated successfully, but these errors were encountered: