]> git.ipfire.org Git - thirdparty/bind9.git/commit
Allow unsupported alg in zone /w dnssec-signzone
authorMatthijs Mekking <github@pletterpet.nl>
Tue, 18 Dec 2018 11:14:04 +0000 (12:14 +0100)
committerOndřej Surý <ondrej@isc.org>
Thu, 20 Dec 2018 09:50:08 +0000 (04:50 -0500)
commit040e132f1692ce8bb1ac83032ee761b3278f0272
treee5fa794cb3389d3901d5e681dbb26670f926b9fc
parent9f81119c0256378683c20e8e01a874378cabfcbc
Allow unsupported alg in zone /w dnssec-signzone

dnssec-signzone should sign a zonefile that contains a DNSKEY record
with an unsupported algorithm.  Current behavior is that it will
fail, hitting a fatal error.  The fix detects unsupported algorithms
and will not try to add it to the keylist.

Also when determining the maximum iterations for NSEC3, don't take
into account DNSKEY records in the zonefile with an unsupported
algorithm.

(cherry picked from commit 1dd11fc754baf396bb3040527087b14f0678dd83)
lib/dns/dnssec.c
lib/dns/include/dns/dnssec.h
lib/dns/nsec3.c