From a8a6bce6e47711251ce0cef6faa9dcd4cfca9554 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Tue, 28 Jan 2020 14:25:53 +0100 Subject: [PATCH] Remove the algo 5 -> 7 upgrade Closes #3267 --- pdns/dbdnsseckeeper.cc | 8 -------- pdns/pdnsutil.cc | 4 ++-- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/pdns/dbdnsseckeeper.cc b/pdns/dbdnsseckeeper.cc index 5f97bec6d2..a3bd4ac45c 100644 --- a/pdns/dbdnsseckeeper.cc +++ b/pdns/dbdnsseckeeper.cc @@ -164,10 +164,6 @@ DNSSECPrivateKey DNSSECKeeper::getKeyById(const DNSName& zname, unsigned int id) dpk.d_flags = kd.flags; dpk.d_algorithm = dkrc.d_algorithm; - if(dpk.d_algorithm == DNSSECKeeper::RSASHA1 && getNSEC3PARAM(zname)) { - dpk.d_algorithm = DNSSECKeeper::RSASHA1NSEC3SHA1; - } - return dpk; } throw runtime_error("Can't find a key with id "+std::to_string(id)+" for zone '"+zname.toLogString()+"'"); @@ -520,10 +516,6 @@ DNSSECKeeper::keyset_t DNSSECKeeper::getKeys(const DNSName& zone, bool useCache) dpk.d_flags = kd.flags; dpk.d_algorithm = dkrc.d_algorithm; - if(dpk.d_algorithm == DNSSECKeeper::RSASHA1 && getNSEC3PARAM(zone)) { - g_log<(DNSCryptoKeyEngine::makeFromISCString(dkrc, kd.content)); if(dkrc.d_algorithm == DNSSECKeeper::RSASHA1) { - cout<<"[Warning] zone '"<