evilcorpltd / aTox

Reasonable Tox client for Android
GNU General Public License v3.0
377 stars 60 forks source link

Encrypt database with the profile key #920

Open roihershberg opened 2 years ago

robinlinden commented 2 years ago

No work should be done on this yet unless we can deal with it separately from the database library used. The library we're using for db management (Room) is being replaced to enable multi-platform.

roihershberg commented 2 years ago

What about this? It seems very simple and easy

robinlinden commented 2 years ago

Yeah, integrating it into Room is quick and easy, but we'll have to set up migrations from Room to the other (I've been testing SQLDelight) without losing any data, so I didn't want to involve encryption before that migration is done to make things easy.

roihershberg commented 2 years ago

Yeah you're right