mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[GH-ISSUE #516] Please add support for the new CAA "validation-methods" + "account-uri" parameters #219
Labels
No labels
blocked
breaking-change
bug
bug:critical
bug:tests
cleanup
compliance
compliance
compliance
crate:all
crate:client
crate:native-tls
crate:proto
crate:recursor
crate:resolver
crate:resolver
crate:rustls
crate:server
crate:util
dependencies
docs
duplicate
easy
easy
enhance
enhance
enhance
feature:dns-over-https
feature:dns-over-quic
feature:dns-over-tls
feature:dnsssec
feature:global_lb
feature:mdns
feature:tsig
features:edns
has workaround
ops
perf
platform:WASM
platform:android
platform:fuchsia
platform:linux
platform:macos
platform:windows
pull-request
question
test
tools
tools
trust
unclear
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hickory-dns#219
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Darkspirit on GitHub (Jun 19, 2018).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/516
https://community.letsencrypt.org/t/acme-caa-validation-methods-support/63125
https://tools.ietf.org/html/draft-ietf-acme-caa-04
The parameter value is a comma-separated string:
@ CAA 0 issue "letsencrypt.org; validation-methods=dns-01,http-01"A CA would have to abort if it doesn't support validation-methods:
@ CAA 128 issue "letsencrypt.org; validation-methods=dns-01"I find the backslash (
"letsencrypt.org\; validation-methods=dns-01") in the forum post confusing, maybe because I never used bind?Current error:
The following non-standard line is accepted by TRust-DNS because it does not contain hyphens or a comma:
@ CAA 0 issue "letsencrypt.org; validationmethods=dns01"@bluejekyll commented on GitHub (Jun 19, 2018):
Thanks for the report.
@bluejekyll commented on GitHub (Jun 19, 2018):
Ok. Looks like the parsers in https://github.com/bluejekyll/trust-dns/blob/master/proto/src/rr/rdata/caa.rs
For the name field is too strict, we’ll need to review the name field restrictions in the RFC and allow for some additional special characters.
@Darkspirit commented on GitHub (Jun 19, 2018):
https://community.letsencrypt.org/t/caa-validation-methods-invalid-format/63804/2
@bluejekyll commented on GitHub (Jun 19, 2018):
Gotta love the RFC process. ;)
@bluejekyll commented on GitHub (Jun 21, 2018):
The new RFC doesn't even mention the new parsing changes. Which implies to me that they did the wrong thing by introducing
-in keys of the issuer. I'll allow-in the key name, but this will allow non-compliant keys to be introduced in these fields...@Darkspirit commented on GitHub (Jun 21, 2018):
https://github.com/hardenize/hardenize-public/issues/33
Let's Encrypt still has it in staging, not production. Maybe it was good to ask around what should be done now, maybe they find a better solution?
@bluejekyll commented on GitHub (Jun 21, 2018):
ok #517 has the fix, this test case should validate these options:
github.com/bluejekyll/trust-dns@7315ae1644/proto/src/rr/rdata/caa.rs (L915-L930)@bluejekyll commented on GitHub (Jun 21, 2018):
I think it's clear that discussion is already happening. Anyone that strictly implemented the original RFC6844 will also need to upgrade and patch their software, so I suspect they'll want to support something without these additions.
@bluejekyll commented on GitHub (Jun 21, 2018):
@Darkspirit, I think that #517 is good, not sure if you want to test it before I merge into master.
@Darkspirit commented on GitHub (Jun 21, 2018):
Thank you! But I don't want to ask you to merge something unstable you might be uncomfortable with, and which could be fixed, since this is still in staging and got attention from some more people now.
https://www.ietf.org/mail-archive/web/acme/current/threads.html#02785
(It sounds like they'd ask to fix it by removing hyphens from labels but keeping them in values?)
@Darkspirit commented on GitHub (Jun 21, 2018):
PowerDNS and TRust-DNS now behave the same.
@Darkspirit commented on GitHub (Jun 21, 2018):
It has been fixed:
https://tools.ietf.org/rfcdiff?url2=draft-ietf-acme-caa-05.txt
https://github.com/letsencrypt/boulder/pull/3772/files
@bluejekyll commented on GitHub (Jun 21, 2018):
So I think that at least part of the PR is still needed as the value field was too strict before and didn’t support the url characters.
I think I might just allow the
-... I’ll think about it.@bluejekyll commented on GitHub (Jun 22, 2018):
Ok, merging this in.