mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 11:15:54 +03:00
[GH-ISSUE #2065] Update ring to support s390x and ppc64el #867
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#867
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 @williamdes on GitHub (Oct 15, 2023).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/2065
Describe the bug
Solution: bump the ring dependency
To Reproduce
https://github.com/hickory-dns/docker/actions/runs/6523798475/job/17714793002#step:5:872
Expected behavior
No failure
System:
Additional context
There is upstream issues about that, they seem closed and the problem fixed
@djc commented on GitHub (Oct 15, 2023):
Do you mean this is a regression, or are you trying to expand platform support? For now, ring 0.17 has been merged on rustls main but there's only an alpha release (which contains a bunch of other API changes).
@williamdes commented on GitHub (Oct 15, 2023):
I can not say it's a regression because I did not build multi arch before. More about being full multi platform
@bluejekyll commented on GitHub (Oct 15, 2023):
An option would be to possibly use OpenSSL on those platforms, though that will disallow all of the rustls use cases, like DoH & DoQ as we currently don't have a non-ring based option for those right now.
That being said, it seems like this should be a request on the ring project, right?
Here's an issue discussing performance there: https://github.com/briansmith/ring/issues/1678
@djc commented on GitHub (Oct 15, 2023):
The point is that ring 0.17 just added support for these platforms, but there's no GA rustls release with ring 0.17 support yet.
@briansmith commented on GitHub (Oct 15, 2023):
s390x and ppc64el are going to be fast enough where the fallback implementations will be fine. They are slow in ring's CI because they're being tested in the QEMU emulator. OpenSSL has assembly language implementations of primitives for those platforms which you can use if you trust that code.
@williamdes commented on GitHub (Oct 16, 2023):
I searched issues upstream and it seems they fixed everything
We are not up to date so I can not open a request or I will get thrown out 😄
We can re evaluate this when ring is updated.
That's okay not to support both platforms for now, not much users on them.
And if anyone needs a real s390x I have a VM at IBM
@briansmith commented on GitHub (Nov 13, 2023):
@williamdes Can you try the latest version on the main branch? PR #2076 bumped ring to 0.17.
@briansmith commented on GitHub (Nov 13, 2023):
Rustls 0.21 uses ring 0.17 since 0.21.8; see https://github.com/rustls/rustls/releases/tag/v%2F0.21.8. Since hickory-dns uses Rustls 0.21 then you can
cargo update -p rustlsand this should give you Rustls 0.21.8 that uses ring 0.17.@djc commented on GitHub (Nov 13, 2023):
You'll probably need to disable DoQ, since Quinn still relies on ring 0.16 for now.
@williamdes commented on GitHub (Nov 14, 2023):
Thank you for the ping, I will try to do it in some following weeks
@williamdes commented on GitHub (Nov 26, 2023):
Thank you @briansmith !
All platforms build !
See: https://github.com/hickory-dns/docker/actions/runs/6996995774/job/19033474459
@williamdes commented on GitHub (Jan 29, 2024):
I am closing this issue, everything seems to be resolved. The multi arch Docker image is pushed to the hub now 🎉
See: https://github.com/hickory-dns/docker/releases/tag/v0.23.0-1