News for hackers. Stuff that matters.
Re:How I Hacked Telegram’s “Encryption” by itistoday2 on Monday February 23, 2015 @01:25PM (#9095902)
Yeah, the memory thing didn't impress me. More concerning though is that apparently messages are stored in plain text on disk in that cache4.db file. It's not clear to me whether they are deleted when the app quits or what.
Re:How I Hacked Telegram’s “Encryption” by bdotdub on Monday February 23, 2015 @01:27PM (#9095921)
Yeah, I'm feeling like the quotes should be around "Hacked", and not "Encryption"
Re:How I Hacked Telegram’s “Encryption” by ch0wn on Monday February 23, 2015 @01:33PM (#9095976)
The files under `/data/data/[pkgname]` are only readable by the corresponding application. Encrypting them wouldn't add any security as the key for that cache would also be stored on the device.
Re:How I Hacked Telegram’s “Encryption” by itistoday2 on Monday February 23, 2015 @01:42PM (#9096054)
> Encrypting them wouldn't add any security as the key for that cache would also be stored on the device.

That's why you use a user-derived key (i.e. based on the pin or w/e).