Verifying signatures of incoming messages