From fae95f259e10eefa06999952380b28d927e21508 Mon Sep 17 00:00:00 2001 From: Kees Monshouwer Date: Fri, 18 Mar 2016 13:58:03 +0100 Subject: [PATCH] pdnsutil: make ecdsa256 the default algorithm for add-zone-key and generate-zone-key --- pdns/pdnsutil.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index ffb2c34fa8..efc17f2896 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -2148,7 +2148,7 @@ loadMainConfig(g_vm["config-dir"].as()); bool keyOrZone=false; int tmp_algo=0; int bits=0; - int algorithm=8; + int algorithm=13; // ecdsa256 bool active=false; for(unsigned int n=2; n < cmds.size(); ++n) { if(pdns_iequals(cmds[n], "zsk")) @@ -2609,7 +2609,7 @@ loadMainConfig(g_vm["config-dir"].as()); bool keyOrZone=false; int tmp_algo=0; int bits=0; - int algorithm=8; + int algorithm=13; // ecdsa256 for(unsigned int n=1; n < cmds.size(); ++n) { if(pdns_iequals(cmds[n], "zsk")) keyOrZone = false; -- 2.47.2