diff options
author | Casey Deccio <casey@deccio.net> | 2021-08-03 16:39:55 +0300 |
---|---|---|
committer | Casey Deccio <casey@deccio.net> | 2021-08-03 16:39:55 +0300 |
commit | b1dbe1a85039b765fec683207c07880db955e1c8 (patch) | |
tree | 1b73a21ae115c3d04bfbc8400217bd13102e1938 | |
parent | 46e0843886cbfdbdc9446107f0bed0521aeeae76 (diff) |
Print algorithm value as integer, not enum
-rw-r--r-- | dnsviz/analysis/errors.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dnsviz/analysis/errors.py b/dnsviz/analysis/errors.py index 52624f0..02bf1e9 100644 --- a/dnsviz/analysis/errors.py +++ b/dnsviz/analysis/errors.py @@ -1629,7 +1629,7 @@ class MissingRRSIG(ResponseError): required_params = [] class MissingRRSIGForAlg(ResponseError): - description_template = 'The %(source)s RRset for the zone included algorithm %(algorithm)s (%(algorithm_text)s), but no RRSIG with algorithm %(algorithm)d covering the RRset was returned in the response.' + description_template = 'The %(source)s RRset for the zone included algorithm %(algorithm)d (%(algorithm_text)s), but no RRSIG with algorithm %(algorithm)d covering the RRset was returned in the response.' references = ['RFC 4035, Sec. 2.2', 'RFC 6840, Sec. 5.11'] required_params = ['algorithm'] source = None @@ -1903,7 +1903,7 @@ class MissingSEPForAlg(DelegationError): _abstract = False code = 'MISSING_SEP_FOR_ALG' - description_template = "The %(source)s RRset for the zone included algorithm %(algorithm)s (%(algorithm_text)s), but no %(source)s RR matched a DNSKEY with algorithm %(algorithm)d that signs the zone's DNSKEY RRset." + description_template = "The %(source)s RRset for the zone included algorithm %(algorithm)d (%(algorithm_text)s), but no %(source)s RR matched a DNSKEY with algorithm %(algorithm)d that signs the zone's DNSKEY RRset." references = ['RFC 4035, Sec. 2.2', 'RFC 6840, Sec. 5.11'] required_params = ['algorithm'] |