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 TLS support! #3074

Merged
merged 1 commit into from
May 14, 2023
Merged

Add TLS support! #3074

merged 1 commit into from
May 14, 2023

Conversation

toots
Copy link
Member

@toots toots commented May 12, 2023

This PR implements support for ocaml-tls native SSL implementation! It uses a custom implementation of the abstract engine using blocking Unix calls (kind of a shame they don't provide it!).

The secure_transport layer is removed. It was always niche and the API is now deprecated in macos/ios.

Worth noting: neither secure_transport not ocaml-tls support private key password. This must be an uncommonly used feature. I had a test to confirm it works with SSL but it failed in the CI. It really doesn't make much sense to setup password for server-side things..

@toots toots force-pushed the tls branch 2 times, most recently from 1b37413 to 021b417 Compare May 12, 2023 17:06
@toots toots marked this pull request as draft May 12, 2023 17:08
@toots toots force-pushed the tls branch 4 times, most recently from 3ba6ddd to 49dd666 Compare May 13, 2023 04:52
@toots toots marked this pull request as ready for review May 13, 2023 12:34
@toots toots requested a review from smimram May 13, 2023 12:37
@toots toots force-pushed the tls branch 5 times, most recently from 8d0dade to b576b26 Compare May 14, 2023 13:43
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.

1 participant