In academia, it is common for professors' salaries to be listed in public databases that are searchable by anyone.
I don't particularly draw any conclusion from this; indeed, there is some debate as to whether this is a good thing overall. My impression is that it doesn't make much difference one way or another. In any case, it may be interesting to HN readers to know that this is the norm in the public sector.