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

[WIP] Some further sketch work on an C interface for TLS #1341

Closed
wants to merge 2 commits into from

Conversation

randombit
Copy link
Owner

Re #1323

To some extent I think this design should co-evolve with a curl backend implementation. Since curl already supports most TLS libraries with a C interface, whatever we do should fit into the same model.

Big question is if the C API should follow the C++ API with its callbacks for output, or if it would be better to just buffer outputs in the FFI object and then the application can call a function to find out if output is pending and call SSL_read when they feel like it. It looks like curl assumes it can do that; though of course it's possible to implement the same buffering just within curl's vtls layer.

@lambdafu Don't know if you had any plans on taking this up, but feel free to fork from here and continue. I probably won't have time to work on this further before 2.4.0 release.

@lambdafu
Copy link
Contributor

lambdafu commented Dec 8, 2017

Yes, I planned to work on it this week, but did a new website for neopg instead (I'm lagging behind in documentation). I am thankful for any help I can get, so great to see your sketches, thanks a lot!

@randombit
Copy link
Owner Author

Closing, not ready for review yet

@randombit randombit closed this Aug 23, 2018
@talregev
Copy link

talregev commented Sep 4, 2024

Will you continue?
#4320

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.

3 participants