handshake: Fix to signature verifcation process