🌉 bridged from @terraincognita@lemmy.world by Tidepool
terraincognita
@terraincognita.lemmy.world.ap.tdpl.io
selfhosted Ovumcy (self-hosted period tracker), 9 months later: what I did with your feedback [AIP]
0 0Agreed, real use is the test that counts most. Besides that, there is the automated side: • unit and integration tests (handlers run against a real database); • end-to-end tests that click through real user flows in a browser (Playwright): the full suite on Chromium, a smoke spec on Firefox and WebKit; • property-based tests and reference vectors for the cycle math; • fuzzing of the parsers and validators, also in CI; • mutation testing: a weekly job breaks the code on purpose and checks that some test fails. Last measured, 93-98% of the mutants were killed, depending on the package. The details, and the limits of all this, are written up here: https://github.com/ovumcy/ovumcy-web/blob/main/TESTING.md None of it proves the design is right, of course. For that, people using it and reading the code are still the better check.
selfhosted Ovumcy (self-hosted period tracker), 9 months later: what I did with your feedback [AIP]
0 0the web version is made for one person or a household on their own box, the threat model says straight out that whoever runs the server is trusted. you can host it for friends but then they trust you, same as with any server you run for someone. and with a VPS you pick the provider and the country yourself, the readme warns that a host can read what's on its servers. encrypting in the browser wouldn't really help here anyway, the same server sends the page code, so an admin you don't trust could just change it and grab the key
selfhosted Ovumcy (self-hosted period tracker), 9 months later: what I did with your feedback [AIP]
1 1a couple did. mostly skeptical, didn't see the point of another period tracker, especially one built with AI. I just wanted something my wife would actually like using, but that doesn't really work on AI skeptics, and that's fine
selfhosted Ovumcy (self-hosted period tracker), 9 months later: what I did with your feedback [AIP]
1 0ha, took me a second to get the "period" thing. interesting angle, never thought about it as noise. thanks for reading even though you don't need the app
selfhosted Ovumcy (self-hosted period tracker), 9 months later: what I did with your feedback [AIP]
0 1Thanks. Yes, it changed things. The March post had no disclosure at all, and someone pointed out the README looked AI-generated. This time it's in the title tag and at the bottom, and a few people stopped at that and never got to the app.
selfhosted Ovumcy (self-hosted period tracker), 9 months later: what I did with your feedback [AIP]
2 0Nothing wrong with broken English, agreed. For me it's less about grammar. It's faster, it helps me structure a long post and not forget things, and I can ask it to read the draft the way a user would. I get that it puts some people off.
selfhosted Ovumcy (self-hosted period tracker), 9 months later: what I did with your feedback [AIP]
1 0These 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).
selfhosted Ovumcy (self-hosted period tracker), 9 months later: what I did with your feedback [AIP]
1 2Good questions, thanks for actually looking at the site.
Encryption: client-side encryption is for services run by someone else, where you can't be sure nobody reads or leaks your data. A self-hosted app has a different threat model. The data sits on a machine you control, behind a login and 2FA, and how the server side is protected is described in the docs. So for your own server it was never the goal. The sentence you quoted is about the hosted option, which exists for people who find setting up a server too hard. There someone else holds the data, so the site says it plainly. For those who want client-side encryption anyway, I'm working on a mobile app with encrypted sync. It isn't released yet.
The vote counter: you're right, it can be spammed. That's the price of collecting nothing about visitors, and I chose that on purpose. So far nobody bothers, bots included. I treat it as a rough signal and still decide myself what to build.
AI and security: no code comes with guarantees, whoever wrote it. What I can offer is that all of it is public, with tests, fuzzing and static analysis in CI, and a SECURITY.md if you find something. If anything looks wrong, tell me and I'll fix it.
selfhosted Ovumcy (self-hosted period tracker), 9 months later: what I did with your feedback [AIP]
1 1Building it on Signal is a smart call, the hardest part comes already vetted. Yes, send me the alpha when it's ready.
selfhosted Ovumcy (self-hosted period tracker), 9 months later: what I did with your feedback [AIP]
4 1English isn't my first language, so yes, AI helps me write. That's in the title.
But nobody nods their way into fuzzing, mutation testing, signed releases with build provenance and 2FA with recovery codes. You have to want those things and keep pushing until they're in. That has been my job for nine months and 3,400 commits.
As for the README, it tells you how to verify the image signature before you run it, what every config option does and how predictions are calculated. For an app holding health data, I'll take exact over personal.
The code is public. Show me where nobody was steering and I'll answer for it.
selfhosted Ovumcy (self-hosted period tracker), 9 months later: what I did with your feedback [AIP]
1 0Thanks for giving it a try! Yeah, that's the hard part with any tracker. Adding it to the home screen helps a little since it then opens like a normal app. If she ever says what bugs her about it I'd love to hear it
selfhosted Ovumcy (self-hosted period tracker), 9 months later: what I did with your feedback [AIP]
2 1Thanks, do post it when it's ready. People here will poke holes in it, but mostly useful ones. Last time the first thing I got hit with was security, so maybe have something written up on that before you post. Good luck with the iOS part
selfhosted Ovumcy (self-hosted period tracker), 9 months later: what I did with your feedback [AIP]
3 0Thanks, appreciate it!
selfhosted Ovumcy (self-hosted period tracker), 9 months later: what I did with your feedback [AIP]
4 0Ha, fair. Ruined for all of us.
selfhosted Ovumcy (self-hosted period tracker), 9 months later: what I did with your feedback [AIP]
8 0Thanks! Your CSP suggestion back in March was one of the most concrete pieces of feedback in that thread, and it shipped a few days later. Appreciate you coming back to check, and thanks for PieFed too.
selfhosted Privacy respecting registrars
1 0I had the same choosing problem some years ago, but with VPS. Some of them are really private, hosting in e.g. Moldova, but you cannot really trust them, others will never ask your ID, but you have to pay with your credit card and somehow put a real name and address. The same applucable for domain sellers. You decide where you balance: you trust them completely and they don't care who you are or you choose where to give up complete privacy. I use Namecheap and Spaceship (basically the same, but cheaper).