atilaromero / telegram-desktop-decrypt

Tool to decrypt tdata files.
MIT License
182 stars 63 forks source link

how can i decrypt a jpg file #6

Open jsecure32 opened 4 years ago

jsecure32 commented 4 years ago

Hi,

i recieved a JPG file from an user in telegram but the file is encrypted (photo.jpg.enc). Can i decrypt the file? and how can i do that?

i tried to run the ./telegram-desktop-decrypt but doesnt work.

Regards

atilaromero commented 4 years ago

I think the other user selected an encrypted file to sent to you, instead of selecting the normal version. Telegram-desktop-decrypt won't help you there, because it is meant only for the cache folder. Now, I don't really know, but I have a guess of what happened: the other user uses Linux, with an encrypted home partition. When he was trying to send you the file, he mistakenly selected the encrypted version. Or he did that on purpose and is waiting for you to ask him the password and the program to decrypt it.

jsecure32 commented 4 years ago

Hi Atilaromero,

The user send me a telegram self destruct photo. In my phone i see the file with the extention jpg.enc.

Can i recover that picture?

atilaromero commented 4 years ago

Oh, I did not know that feature. I have no idea how to decrypt that file.

jsecure32 commented 4 years ago

Ok. I understand and thanks!

kuspia commented 2 years ago

Hi @atilaromero @jsecure32 may i know if we can decrypt .jpg.enc file taken from cache folder of Android, pls note that file was sent using timer feature of telegram app.

Pls help me, I have something very important 🙏

kuspia commented 2 years ago

Hello @atilaromero, can u pls guide me how I can test whther ur code will decrypt my .enc file taken from cache folder 📂

One way is to setup desktop app, clone ur repository, perform all steps one by one nd move that file (.enc) to particular location (cache location of desktop) or are there any shortcuts??