From cc835c1280c7e7fc61e1ae80f5ee1447f7d26b9f Mon Sep 17 00:00:00 2001 From: Nils Wisiol Date: Tue, 15 Mar 2022 09:30:11 +0100 Subject: [PATCH] Use RSA-2048 instead of RSA-1024 for crypto benchmark --- pdns/dnssecinfra.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnssecinfra.cc b/pdns/dnssecinfra.cc index a5b5f786d0..a32671ee40 100644 --- a/pdns/dnssecinfra.cc +++ b/pdns/dnssecinfra.cc @@ -279,7 +279,7 @@ void DNSCryptoKeyEngine::testMakers(unsigned int algo, maker_t* creator, maker_t cout<<"Testing algorithm "<getName()<<"' ->'"<getName()<<"' -> '"<getName()<<"' "; unsigned int bits; if(algo <= 10) - bits=1024; + bits=2048; else if(algo == DNSSECKeeper::ECCGOST || algo == DNSSECKeeper::ECDSA256 || algo == DNSSECKeeper::ED25519) bits = 256; else if(algo == DNSSECKeeper::ECDSA384) -- 2.47.2