Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is it possible to use rustls instead of openssl ? #17

Closed
tsirysndr opened this issue Jan 16, 2023 · 6 comments
Closed

is it possible to use rustls instead of openssl ? #17

tsirysndr opened this issue Jan 16, 2023 · 6 comments

Comments

@tsirysndr
Copy link

No description provided.

@azasypkin
Copy link
Owner

azasypkin commented Jan 16, 2023

It's not implemented, but I'd open to PR to either migrate to rustls completely or just add it behind a feature flag. There is no particular reason to rely on openssl in this crate, it just that when I created the first version of it rustls hasn't been released yet (~March, 2016)

@tsirysndr
Copy link
Author

rustls 0.21.0 has just been released, Rustls can now be used to establish TLS connections addressed by IP rather than by a domain name, so we can now try to implement rust-cast with rustls

@azasypkin
Copy link
Owner

rustls 0.21.0 has just been released, Rustls can now be used to establish TLS connections addressed by IP rather than by a domain name, so we can now try to implement rust-cast with rustls

Awesome, thanks for the update!

@CyrosX
Copy link
Contributor

CyrosX commented Oct 26, 2023

I've tried it a few times (also without cert verification and DNS name), but always got a handshake error. (UnexpectedEof)

@azasypkin
Copy link
Owner

I've tried it a few times (also without cert verification and DNS name), but always got a handshake error. (UnexpectedEof)

It looks like @112RG made it work in #22. I'll review/check/merge once I get to my devices in mid-February.

@azasypkin
Copy link
Owner

azasypkin commented Mar 3, 2024

Closed in #22, kudos to @112RG! Will be released in 0.19.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants