yowsup icon indicating copy to clipboard operation
yowsup copied to clipboard

Not work decrypt image any more

Open pablokere opened this issue 7 years ago • 7 comments

I downloaded last master code and the file jpeg (decrypted from .enc extension) is not a valid file. How can I help with this issue?

pablokere avatar May 02 '17 15:05 pablokere

Same here, jpeg is not a valid file. :|

brunodeandrade avatar May 19 '17 19:05 brunodeandrade

yep not working :/ to bad

cinatic avatar Jun 08 '17 21:06 cinatic

i had the wrong cryptKeys (they are different for images and video). i can confirm it works

cinatic avatar Jun 19 '17 09:06 cinatic

@cinatic where to get the 'refkey' used during decryption? Is it the media_enc_hash sent along with the message?

suryatejreddy avatar Jul 18 '18 12:07 suryatejreddy

Check the pull requests there is one with the encryption included but you have to manually merge it

cinatic avatar Jul 18 '18 12:07 cinatic

@cinatic can you provide a link to the pull request? I can't seem to find it. Thanks for the help.

suryatejreddy avatar Jul 18 '18 12:07 suryatejreddy

i am not sure which one it was but here you have two which looks very promising to me:

https://github.com/tgalal/yowsup/pull/2209 https://github.com/tgalal/yowsup/pull/2336

as you can see the encryption is added e.g. here: https://github.com/tgalal/yowsup/pull/2336/commits/326ef8dee2deca742c1be8f6f9ed02f47e9c6662

I would suggest to checkout this changes and compare and add the changes manually

cinatic avatar Jul 21 '18 22:07 cinatic