What kind of priest would do that? That sounds pretty cold and paranoid, if not downright insulting. Thank God it's not that bad anymore. That would really make my day if a priest refused to shake my hand after mass.
Are you sure you aren't talking about the Masonic handshake?