def step2(self, pub_key, salt):
self._check_initialized()<EOL>pk_str = binascii.hexlify(pub_key).decode()<EOL>salt = binascii.hexlify(salt).decode()<EOL>self.client_session_key, _, _ = self.session.process(pk_str, salt)<EOL>_LOGGER.debug('<STR_LIT>', self.client_session_key)<EOL>client_public = self.session.public<EOL>client_session_key_proof = self.session.key_proof<EOL>_LOGGER.debug('<STR_LIT>',<EOL>client_public, client_session_key_proof)<EOL>if not self.session.verify_proof(self.session.key_proof_hash):<EOL><INDENT>raise AuthenticationError('<STR_LIT>')<EOL><DEDENT>return client_public, client_session_key_proof<EOL>
Second authentication step.