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

Propose TLS trait and a builder for TlsConnector #1

Open
wants to merge 15 commits into
base: feature/tls-options
Choose a base branch
from

Conversation

keisrk
Copy link

@keisrk keisrk commented Nov 30, 2020

See also the discussion in original repo.
The idea is to bring to embedded world the same (or similar) set of APIs you can find in rust-native-tls.

@keisrk keisrk force-pushed the feature/tls-options branch 2 times, most recently from bc84790 to 9fdac6f Compare November 30, 2020 11:21
@keisrk keisrk force-pushed the feature/tls-options branch 2 times, most recently from a97b0f1 to a7d9f12 Compare December 3, 2020 09:44
Sympatron and others added 6 commits December 3, 2020 19:00
What a user shoud provide would be 1. TlsConnector type specific to
his/her driver implementation and 2. TryFrom<TlsConfig> for TlsConnector
and implement Tls trait for the his/her TcpStack in terms of the TlsConnector.
/// The TLS 1.1 protocol.
Tlsv11 = 2,
/// The TLS 1.2 protocol.
Tlsv12 = 3,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add TLS 1.3?

@lachlansneff
Copy link

Any chance this could still move forward?

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

Successfully merging this pull request may close these issues.

7 participants