Switzerland created a digital ID platform (see also https://news.ycombinator.com/item?id=45407657), that has been open sourced, and that would allow people to prove for example their age without revealing any other personal details. It's maybe not the perfect solution, but I find this highly preferable to sharing my ID with some social media platform.
I can create an open source project that's very safe too. But where is my assurance thats what runs in the backend? All I know is what I'm sending. I have no guarantee of anything else?
It's the exact same problem with adding software the voting process.