Browse Source

temporary exclude routers with non ElGamal crypto types

pull/1565/head
orignal 4 years ago
parent
commit
801ecaa41c
  1. 6
      libi2pd/RouterInfo.cpp

6
libi2pd/RouterInfo.cpp

@ -153,6 +153,12 @@ namespace data
m_IsUnreachable = true; m_IsUnreachable = true;
return; return;
} }
if (m_RouterIdentity->GetCryptoKeyType () != CRYPTO_KEY_TYPE_ELGAMAL)
{
// we support ElGamal only. TODO: remove later
m_IsUnreachable = true;
return;
}
if (verifySignature) if (verifySignature)
{ {
// reject RSA signatures // reject RSA signatures

Loading…
Cancel
Save