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

Add openssl-tls feature #700

Merged
merged 2 commits into from
Nov 10, 2021
Merged

Add openssl-tls feature #700

merged 2 commits into from
Nov 10, 2021

Conversation

kazk
Copy link
Member

@kazk kazk commented Nov 9, 2021

Looked into this after discussing the possibility of "OpenSSL everywhere" in #693, and decided to implement since it looked straightforward. As far as I can tell, kube ended up with native-tls + openssl because:

  • reqwest is either native-tls (default) or rustls-tls
  • rustls-tls has limitations
  • native-tls requires PKCS#12 to support client certificates-based authentication, and openssl is required to create PKCS#12

native-tls is still nice to keep for macOS and Windows once PKCS#8 is supported.

Copy link
Member

@clux clux left a comment

Choose a reason for hiding this comment

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

Minor question on precedence, but overall looks great!

kube-client/src/client/auth/oauth.rs Outdated Show resolved Hide resolved
Signed-off-by: kazk <kazk.dev@gmail.com>
Signed-off-by: kazk <kazk.dev@gmail.com>
@kazk kazk merged commit afc8540 into kube-rs:master Nov 10, 2021
@kazk kazk deleted the openssl-tls branch November 10, 2021 22:27
@kazk kazk mentioned this pull request Nov 17, 2021
19 tasks
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.

2 participants