Update wording of error
Casey Deccio
3 years ago
591 | 591 | ''' |
592 | 592 | >>> e = DigestAlgorithmProhibited(algorithm=5) |
593 | 593 | >>> e.description |
594 | 'DNSSEC specification prohibits publishing DS records that use digest algorithm 5 (5).' | |
594 | 'DNSSEC specification prohibits signing with DS records that use digest algorithm 5 (5).' | |
595 | 595 | ''' |
596 | 596 | |
597 | 597 | _abstract = False |
598 | 598 | code = 'DIGEST_ALGORITHM_PROHIBITED' |
599 | description_template = "DNSSEC specification prohibits publishing DS records that use digest algorithm %(algorithm)d (%(algorithm_text)s)." | |
599 | description_template = "DNSSEC specification prohibits signing with DS records that use digest algorithm %(algorithm)d (%(algorithm_text)s)." | |
600 | 600 | references = ['RFC 8624, Sec. 3.2'] |
601 | 601 | required_params = ['algorithm'] |
602 | 602 | |
608 | 608 | ''' |
609 | 609 | >>> e = DigestAlgorithmNotRecommended(algorithm=5) |
610 | 610 | >>> e.description |
611 | 'DNSSEC specification recommends not publishing DS records that use digest algorithm 5 (5).' | |
611 | 'DNSSEC specification recommends not signing with DS records that use digest algorithm 5 (5).' | |
612 | 612 | ''' |
613 | 613 | |
614 | 614 | _abstract = False |
615 | 615 | code = 'DIGEST_ALGORITHM_NOT_RECOMMENDED' |
616 | description_template = "DNSSEC specification recommends not publishing DS records that use digest algorithm %(algorithm)d (%(algorithm_text)s)." | |
616 | description_template = "DNSSEC specification recommends not signing with DS records that use digest algorithm %(algorithm)d (%(algorithm_text)s)." | |
617 | 617 | references = ['RFC 8624, Sec. 3.2'] |
618 | 618 | required_params = ['algorithm'] |
619 | 619 |