It’s common to self host a service for a group of people. Not all period havers have a server lying around, or the skills to self host a sync server. If I hosted this for my friends I wouldn’t want to be able to read their period data.
Also, there are other reasons one might want encryption. It could be that you’re hosting this on a VPS or otherwise not your own infra and don’t want the hosting company to know your cycle data. And in jurisdictions where abortion is illegal, this would be data wanted by the cops—through warrants to hosting providers, or seizure of devices in your home, in which case you want both encryption at rest on all devices and encryption in motion to prevent someone from reading intercepted sync data.
Fine if law enforcement is not in the threat model of this app, but “nosy hosting provider/admin” should be imo. It’s still health data which is private and sensitive, even if it’s not evidence of a criminal offence.
communism@lemmy.ml
savvywolf@pawb.social 1 week ago
I can think of other cases where even if it’s self hosted, you still want this sort of encryption. What about the use case of a mother setting it up for a group of other mums in a group chat. The other mums would still want their data to be private. The hosting provider thing is valid, and I think actually extends further than you think. I may trust my own server, but I don’t know if I trust Linode or Hetzner or whoever I buy my server from to not snoop in my files. There’s also the fact that if I fuck up the configuration on my server, at least they aren’t going to get that data in the breach. (“I” in this case being an abstract person wanting to use the server. I don’t have any use for a tool like this).
That’s fair, just be aware of it. The amount of people that make decisions based on flawed customer data is a big problem for software development.
The recent SSH bug had all of this and let a security exploit slip through. The reason was that people made a sensible sounding but ultimately flawed design decision. Those are the types of errors that AIs love to make and that inexperienced users can let slip through.
terraincognita@lemmy.world 1 week ago
These are fair, and the misconfigured server one is the strongest. Client-side encryption would limit the damage there, I can’t argue with that.
The group case is outside what I built this for. It’s meant for a household. If you run it for other people, you become their hosting provider, and the docs say that plainly: the app keeps your records from other accounts and from the network, not from whoever administers the machine.
The VPS point is true, but it applies to everything on that box, not just this app. If you don’t trust the provider with it, the answer is hardware at home.
I won’t promise it, but optional encryption for the web version is on my list to look into now.
On design mistakes: agreed, tests and fuzzing don’t catch a wrong decision. But the SSH example cuts both ways. That code was written and reviewed by very experienced people and it still got through. Nobody is immune, so what matters is whether mistakes get found and fixed in the open. That has already happened here: tonghuaroot reported a hole in the webhook address filter, it was fixed and published as an advisory (GHSA-hg2x-v5cc-m384).