]> git.ipfire.org Git - thirdparty/dnspython.git/commit
When validating a signature, derelativize before doing any label computations.
authorBob Halley <halley@dnspython.org>
Wed, 29 Jul 2020 01:40:36 +0000 (18:40 -0700)
committerBob Halley <halley@dnspython.org>
Wed, 29 Jul 2020 01:40:36 +0000 (18:40 -0700)
commitb21457fdd4ee741416708f68b222d41ec3d6cb9c
tree29f5de568ad92a6afd867e1567fb2a9a483494f2
parentcfc7a3a3e471e58fdf7ae5aad9835b994a374c5b
When validating a signature, derelativize before doing any label computations.

Raise an error if the number of labels in the signature is longer than the
number of labels in the owner name.  (This is just to give a better error
as the validation would fail anyway.)
dns/dnssec.py
tests/test_dnssec.py