]> git.ipfire.org Git - thirdparty/dnspython.git/commit
DNSSEC refactoring. 634/head
authorBrian Wellington <bwelling@xbill.org>
Fri, 12 Feb 2021 22:02:48 +0000 (14:02 -0800)
committerBrian Wellington <bwelling@xbill.org>
Fri, 12 Feb 2021 22:02:48 +0000 (14:02 -0800)
commit5bf70eab23bbade7473024e6146f8b757e8805fb
tree5f1c463a6f8f2f269806b3296e8798641d5ed5fc
parenta9dc095ad49d1e1a11197af31b188bb7c50d85de
DNSSEC refactoring.

Reorders some of the operations related to RRSIG validation.  The net
effects here are that the code performs all of the parts of validation
that are not specific to the keys first before the parts that are
specific to keys (and need to be repeated for each key).

This also fixes the inconsistency that if there are multiple keys that
match an RRSIG, a single malformed key would lead to an exception, but a
signle failed signature validation would not.  In both cases, an
exception should only be raised if no keys successfully validate the
RRSIG.
dns/dnssec.py