The ability to reject the taboo of salary talk requires a strong level of trust between coworkers. A culture of salary secrecy begets a culture of distrust. Coworkers may wonder why you are asking, especially if they are reluctant to speak.
Make it clear why you want to share salaries. Maybe you’re both hoping to negotiate a raise and salary transparency can put you on stronger grounds.