The problem is not public salary. In EU multiple countries have it public with noe issues to anyone. I'm outside of EU and also have my data public due to owning an LLC.
The problem is identity fraud, and evil corpos like equifax plus some weird laws facilitate it way too much on a giant scale. This is what's infuriating.