Demizo / Daily_You

Every day is worth remembering...
GNU General Public License v3.0
127 stars 6 forks source link

encrypt everything (with a password) #3

Open Wjxfi opened 1 year ago

Wjxfi commented 1 year ago

It's probably too complicated, but it would be really nice

Demizo commented 1 year ago

Hmm this will probably not be a priority but I am not against it. My thought process was just to rely on Androids app sandbox/permission system to keep the data safe, rather than having the app encrypt and decrypt its own data. The only downside of encryption I can see is whether images would be encrypted or not so they can be in the gallery. Either way this could be a nice peace of mind option if anyone used this as a highly personal diary.

Wjxfi commented 1 year ago

May help: https://www.f-droid.org/packages/sushi.hardcore.droidfs/ , https://apt.izzysoft.de/fdroid/index/apk/org.cryptomator , https://www.f-droid.org/packages/dev.leonlatsch.photok/ , https://www.f-droid.org/packages/com.trisven.safenotes/

Demizo commented 1 year ago

I appreciate it! I will also note since you can set custom database and image locations you could place them in folders that other apps encrypt for things like cloud backups/syncing. This is not what you are asking for with password protecting the app but may be temporary solution to some privacy concerns, specifically with third party clouds.

Wjxfi commented 1 year ago

thanks, but then I won't be able to use the app, only protect existing data without a shell @Demizo

Demizo commented 1 year ago

That's fair, the app wouldn't be able to read that data while it is encrypted. Just to clarify are you looking for the option to password protect the app? The database would be encrypted when the app is not in use. If so are you also looking to have the photos be encrypted or just the database?

Wjxfi commented 1 year ago

Just to clarify are you looking for the option to password protect the app?

If so are you also looking to have the photos be encrypted or just the database?

I'd like everything to be encrypted. I don't know how it works, but I do know that encryption requires a password.

The database would be encrypted when the app is not in use.

I don't see the point of giving the option to be unencrypted if it is possible not to do it. you can do it this way: probably in a hidden storage, where only root has access, there will be unencrypted data, and when you try to export it, it will be encrypted with a password to possibly any place in the common space. But I could be wrong. And droidfs doesn't do that. It encrypts in a visible place. Just see how it works. I don't know why I wrote that.