Your OS is about to become an age checkpoint. And you don't have to live in the US for it to affect you.
California passed AB 1043: a law forcing every operating system to collect your age at signup and expose it to every app via a real-time API. Windows, macOS, Android, iOS, every Linux distro, SteamOS, and apparently even some firmware projects.
Age is self-reported. A 12-year-old types "1995" and walks right through.
But here's the real problem: Apple, Google, Microsoft, and Canonical don't ship regional OS builds - they ship one global product. They'll implement this for everyone, everywhere. Even if you're not in California, the infrastructure (API, data collection, etc.) will be there even if it's dormant. This can encourage other states and countries to follow suit and implement similar laws.
The law hits OSS hardest precisely because it was designed with big players in mind. Canonical and Red Hat have lawyers. A 3-person volunteer distro doesn't. The "good faith" compliance shield sounds reasonable until you realize small projects can't afford to find out in court whether they qualify.
Beyond resources, there's a precedent problem. If legislators can mandate an age API in an OS today, they can mandate something else tomorrow. The OSS social contract (build what you want, ship what you want) has never had a defense mechanism against that kind of legislative creep.
Then there's fragmentation. Distros that can't comply will geo-restrict or exit the US market entirely.
Also what about Docker images and other containerized environments? Technically, they're operating systems too. Will they need to implement this API? If so, how will that work in practice?
There are many questions and edge cases that can't be easily resolved. This is a perfect example that shows what could happen when legislation tries to regulate a domain they don't fully understand!
Have a great week!
Aymen