diff options
author | Casey Deccio <casey@deccio.net> | 2021-01-09 02:57:26 +0300 |
---|---|---|
committer | Casey Deccio <casey@deccio.net> | 2021-01-09 03:07:33 +0300 |
commit | 4819ed1fbac1848acf800e220dce186de9df7168 (patch) | |
tree | efa565a57744f7bac15b149c362cd9e78add24c8 | |
parent | 7a4b641806356df72095d794773790a97b4ced94 (diff) |
Update wording of error
-rw-r--r-- | dnsviz/analysis/errors.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dnsviz/analysis/errors.py b/dnsviz/analysis/errors.py index 54356cc..4ad5769 100644 --- a/dnsviz/analysis/errors.py +++ b/dnsviz/analysis/errors.py @@ -592,12 +592,12 @@ class DigestAlgorithmProhibited(DSDigestError): ''' >>> e = DigestAlgorithmProhibited(algorithm=5) >>> e.description - 'DNSSEC specification prohibits publishing DS records that use digest algorithm 5 (5).' + 'DNSSEC specification prohibits signing with DS records that use digest algorithm 5 (5).' ''' _abstract = False code = 'DIGEST_ALGORITHM_PROHIBITED' - description_template = "DNSSEC specification prohibits publishing DS records that use digest algorithm %(algorithm)d (%(algorithm_text)s)." + description_template = "DNSSEC specification prohibits signing with DS records that use digest algorithm %(algorithm)d (%(algorithm_text)s)." references = ['RFC 8624, Sec. 3.2'] required_params = ['algorithm'] @@ -609,12 +609,12 @@ class DigestAlgorithmNotRecommended(DSDigestError): ''' >>> e = DigestAlgorithmNotRecommended(algorithm=5) >>> e.description - 'DNSSEC specification recommends not publishing DS records that use digest algorithm 5 (5).' + 'DNSSEC specification recommends not signing with DS records that use digest algorithm 5 (5).' ''' _abstract = False code = 'DIGEST_ALGORITHM_NOT_RECOMMENDED' - description_template = "DNSSEC specification recommends not publishing DS records that use digest algorithm %(algorithm)d (%(algorithm_text)s)." + description_template = "DNSSEC specification recommends not signing with DS records that use digest algorithm %(algorithm)d (%(algorithm_text)s)." references = ['RFC 8624, Sec. 3.2'] required_params = ['algorithm'] |