[GH-ISSUE #907] Drop all usage of OpenSSL in primary code paths (tests and key generation is ok) #560

Open
opened 2026-03-15 23:09:01 +03:00 by kerem · 7 comments
Owner

Originally created by @bluejekyll on GitHub (Nov 3, 2019).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/907

This is a proposal to move away from using OpenSSL in the trust-dns crates, and instead solely rely on *ring*. This requires supporting all cases where OpenSSL is used that currently doesn't have *ring* bindings, like in DNSSEC.

If this library were started today, only *ring* would be in use, but given the fact that it has always had OpenSSL support, this issue is to track discussion of removing it.

Originally created by @bluejekyll on GitHub (Nov 3, 2019). Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/907 This is a proposal to move away from using OpenSSL in the trust-dns crates, and instead solely rely on \*ring\*. This requires supporting all cases where OpenSSL is used that currently doesn't have \*ring\* bindings, like in DNSSEC. If this library were started today, only \*ring\* would be in use, but given the fact that it has always had OpenSSL support, this issue is to track discussion of removing it.
Author
Owner

@Darkspirit commented on GitHub (Nov 3, 2019):

Depends on briansmith/ring#870 for DNSSEC verification.

<!-- gh-comment-id:549172809 --> @Darkspirit commented on GitHub (Nov 3, 2019): Depends on briansmith/ring#870 for DNSSEC verification.
Author
Owner

@bluejekyll commented on GitHub (Nov 3, 2019):

For some reason I thought that landed with the _FOR_LEGACY_USE_ONLY, but I guess I misunderstood some of the emails I saw fly by.

<!-- gh-comment-id:549173672 --> @bluejekyll commented on GitHub (Nov 3, 2019): For some reason I thought that landed with the `_FOR_LEGACY_USE_ONLY`, but I guess I misunderstood some of the emails I saw fly by.
Author
Owner

@briansmith commented on GitHub (Apr 29, 2020):

Depends on briansmith/ring#870 for DNSSEC verification.

ring 0.16.13 was just released with that implemented.

<!-- gh-comment-id:621351858 --> @briansmith commented on GitHub (Apr 29, 2020): > Depends on [briansmith/ring#870](https://github.com/briansmith/ring/issues/870) for DNSSEC verification. *ring* 0.16.13 was just released with that implemented.
Author
Owner

@briansmith commented on GitHub (Apr 29, 2020):

I think resolving #180 would be a big step towards this.

<!-- gh-comment-id:621352386 --> @briansmith commented on GitHub (Apr 29, 2020): I think resolving #180 would be a big step towards this.
Author
Owner

@kmod-midori commented on GitHub (Dec 29, 2021):

Ring and Rustls are great libraries, but given that ring does not support anything except x86, x86_64, arm, arm64, and wasm, dropping support for native cryptography solutions can make this library unusable for many that develop for older or less popular architectures (such as MIPS routers, ring is working on MIPS support, but it is not working right now).

<!-- gh-comment-id:1002358636 --> @kmod-midori commented on GitHub (Dec 29, 2021): Ring and Rustls are great libraries, but given that ring does not support anything except x86, x86_64, arm, arm64, and wasm, dropping support for native cryptography solutions can make this library unusable for many that develop for older or less popular architectures (such as MIPS routers, ring is working on MIPS support, but it is not working right now).
Author
Owner

@briansmith commented on GitHub (Oct 16, 2023):

@bluejekyll Does this issue still make sense the way it is phrased? Does anybody have a good summary of what, if anything, especially outside of test-only code, depends on OpenSSL?

<!-- gh-comment-id:1765374321 --> @briansmith commented on GitHub (Oct 16, 2023): @bluejekyll Does this issue still make sense the way it is phrased? Does anybody have a good summary of what, if anything, especially outside of test-only code, depends on OpenSSL?
Author
Owner

@bluejekyll commented on GitHub (Oct 16, 2023):

Do you mean in the wild, how many people are using OpenSSL enabled as a dependent on this project? Or do you mean in the context of the project itself? Today we allow for OpenSSL to be used for DNSSEC operations, that's about it, and DNS over TLS. I think we can remove it, and my suspicion is that for the majority of people out there, this won't matter.

<!-- gh-comment-id:1765444664 --> @bluejekyll commented on GitHub (Oct 16, 2023): Do you mean in the wild, how many people are using OpenSSL enabled as a dependent on this project? Or do you mean in the context of the project itself? Today we allow for OpenSSL to be used for DNSSEC operations, that's about it, and DNS over TLS. I think we can remove it, and my suspicion is that for the majority of people out there, this won't matter.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#560
No description provided.