@@ -260,12 +260,7 @@ bool PrsonaBase::verify_generator_proof(
bool retval = true;
if (!SERVER_IS_MALICIOUS)
- {
- for (size_t i = 0; i < pi.size(); i++)
- retval = retval && pi[i].hbc == "PROOF";
-
- return retval;
- }
+ return true;
if (pi[0].curvepointUniversals[0] != EL_GAMAL_GENERATOR)
return false;
@@ -42,8 +42,6 @@ PrsonaClient *create_client(
Proof proofOfValidSTPK;
Twistpoint shortTermPublicKey = retval->get_short_term_public_key(proofOfValidSTPK);
- std::cout << "New user STPK: " << std::hex << shortTermPublicKey << std::dec << std::endl;
// Register this client with the servers
register_new_client(rng, retval, serverIPs, serverPorts, proofOfValidSTPK, shortTermPublicKey);
@@ -2132,8 +2132,6 @@ void PrsonaServerWebSocketHandler::add_new_client(
Twistpoint shortTermPublicKey, empty;
file >> shortTermPublicKey;
std::vector<size_t> bandwidthData(2);
// Obtain global update lock