Bug 1970101
| Summary: | dnssec-signzone creates CDS records that use digest algorithm 1 (SHA-1) | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Marcel Härri <mharri> |
| Component: | bind | Assignee: | Petr Menšík <pemensik> |
| Status: | CLOSED WONTFIX | QA Contact: | rhel-cs-infra-services-qe <rhel-cs-infra-services-qe> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | CentOS Stream | CC: | bstinson, jwboyer, rhbugs |
| Target Milestone: | beta | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://datatracker.ietf.org/doc/html/rfc8624 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-12-09 07:27:57 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Marcel Härri
2021-06-09 19:54:14 UTC
Okay, I haven't found any way to set used algorithms when signing the zone. I don't think we should turn off SHA-1 signatures by default on 9.11 release, but it should be possible to disable generating SHA-1 digests somehow. Both somewhere in named.conf for inline signing in named and on dnssec-signzone command by parameters. Something similar to -2 parameter of dnssec-dsfromkey command. Something like disable-ds-digests option, but only for signature creation. Because RFC 8624 [1] says MUST NOT create new signatures, I think SHA-1 DS records should be disabled even in 9.11, which we still support and plan to support in RHEL8. Special cases might allow creation of digest for backward compatibility. We must be able to resign the digest. dnssec-dsfromkey -1 allows enabling sha-1 digest. But with also -2 present only SHA-2 digest is printed. I would modify it to bind 9.16 equivalent. It allows dnssec-dsfromkey -12 printing of both digests, but default is to print only -2. It should remain possible in dnssec-signzone also, because upstream never removed it in 9.11.x branch. They end its support this year however. -1 parameter should be added to named and other tools to reenable SHA1 algorithm. But it should be disabled for common deployments. It should be added also to named, because it produces digests via key -[PD] sync parameters. 1. https://datatracker.ietf.org/doc/html/rfc8624#section-3.3 After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. |