check routers with non ElGamal encryptions for lookup, publish and tunnel build

This commit is contained in:
orignal 2020-10-22 18:34:15 -04:00
parent 801ecaa41c
commit d65a282e9d
3 changed files with 19 additions and 11 deletions

View file

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