ElDavoo / wa-crypt-tools

Manage WhatsApp .crypt12, .crypt14 and .crypt15 files.
GNU General Public License v3.0
567 stars 75 forks source link

Support .mcrypt1 files #20

Open ElDavoo opened 2 years ago

ElDavoo commented 2 years ago

This will probably be complicated and result in a writing of a google drive downloader, as metadata needs to be decrypted and it will probably a lot of stuff and logic to write.

.mcrypt1 files are encrypted media files uploaded in the cloud (google drive) while using E2E encrypted backups.

I can't allocate time to this task, so for a few months there will be no progress. I'll be happy to accept external contributions. There should be no forward secrecy, so you might be able to start downloading encrypted media using existing downloaders and decrypt them when the tool will be ready.

ElDavoo commented 1 year ago

Might this project help? https://github.com/robertdavidgraham/whats-dec

ElDavoo commented 12 months ago

Metadata decryption function added

bone6000 commented 8 months ago

hello @ElDavoo,

can you confirm if there is a way to decrypt .mcrypt1 files?

I've overwritten my drive backup by mistake but I have all my photos/videos .mcrypt1 files locally in the phone, so I would like to restore them.

Regards,

ElDavoo commented 8 months ago

can you confirm if there is a way to decrypt .mcrypt1 files?

yep

bone6000 commented 8 months ago

Can you please tell me how to do it?

ElDavoo commented 8 months ago

work in progress, i will probably do it during the vacations

ShubhSrivastava1326 commented 5 months ago

Did you do it? I forgot my E2E encryption 64-digit code but i have downloaded the backup from google drive on my laptop and want to decrypt it. Please help, I cant lose all my messages.

bone6000 commented 4 months ago

I'm also still waiting with my encrypted .mcrypt1 photos and videos in my laptop. LOL

ElDavoo commented 4 months ago

I'm also still waiting with my encrypted .mcrypt1 photos and videos in my laptop. LOL

Sorry, but .mcrypt1 by themselves are not decryptable. Additional metadata from Google drive is needed.

The latest version on master branch of whapa downloads this metadata in the form of .mcrypt1-metadata files.

ElDavoo commented 4 months ago

I'm also still waiting with my encrypted .mcrypt1 photos and videos in my laptop. LOL

Sorry, but .mcrypt1 by themselves are not decryptable. Additional metadata from Google drive is needed.

The latest version on master branch of whapa downloads this metadata in the form of .mcrypt1-metadata files.

bone6000 commented 4 months ago

Im not sure if I have that metadata files in my local drive, I have to check... Anyway, is this function going to be implemented? If I manage to get that metadata files can you tell me how to decrypt it? Thanks