Salary comparison made easier in Germany?

Who hasn't wondered once in a while what other people in their company earn for doing roughly the same thing? In Germany, your boss wouldn't have had to tell you, had you asked. But that's now changing, at least partly.