Codebase list dnsviz / 4819ed1
Update wording of error Casey Deccio 3 years ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
591591 '''
592592 >>> e = DigestAlgorithmProhibited(algorithm=5)
593593 >>> 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).'
595595 '''
596596
597597 _abstract = False
598598 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)."
600600 references = ['RFC 8624, Sec. 3.2']
601601 required_params = ['algorithm']
602602
608608 '''
609609 >>> e = DigestAlgorithmNotRecommended(algorithm=5)
610610 >>> 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).'
612612 '''
613613
614614 _abstract = False
615615 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)."
617617 references = ['RFC 8624, Sec. 3.2']
618618 required_params = ['algorithm']
619619