In my opinion, it is not proper to share any private things in any way to anyone else unless you get the consent in advance. Just like your friends sharing secrets with you, If you respect this friend, it is expected that you will not tell others no matter who they are.