Normally you have to remove your mitts before you shake someone’s hand. If both of you are wearing gauntlets, then it is fine.