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

Do you plan to support mbedTLS? #11

Open
zhaojh329 opened this issue Nov 3, 2017 · 10 comments
Open

Do you plan to support mbedTLS? #11

zhaojh329 opened this issue Nov 3, 2017 · 10 comments

Comments

@zhaojh329
Copy link

Do you plan to support mbedTLS?

@bl4ck5un
Copy link

Same question!

@deleisha
Copy link
Owner

deleisha commented Dec 8, 2017

Yes, we intend to support. Contributors welcome

@realquantumcookie
Copy link

Right. mbedtls is much easier to build compare to OpenSSL, and it is great to see a lib that supports SSL with libuv with embedtls. Looking forward to the new implemented embedtls version of evt-tls!

@deleisha
Copy link
Owner

Experimentation on mbedtls started, Either I am not fluent yet on it or their API are complete yet.
Using mbedtls as state black box is little difficult.

@realquantumcookie
Copy link

mbedTLS-Tutorial
This link could probably help. It describes how to create TLS connected Sockets using it.
Good Luck : )

@realquantumcookie
Copy link

I just read a bit about the tutorial. embedTLS is hard to implement into evt-tls.
It replaces the original read() function in UNIX and Windows API. Rather than using read(), it let you use its own function.
I think that implementing embedTLS support could be compicated and time-consuming since we might need to modify the implemention inside libuv.

@realquantumcookie
Copy link

As LibUV-mbedtls do, he re-wrote bio.c from mbedtls and then wrap mbedtls over libuv. I think this could be a good solution for us.

@deleisha
Copy link
Owner

deleisha commented Feb 1, 2018

Thanks @ToiletCommander for your effort.
Perhaps, we don't want to go wolfssl way for mbedtls as that will involved maintaining the bio.c. I did a feature request to mbedtls. They leave network IO(nio) handling to the user and don't do buffering.
So, we need to come up with NIO part. Now we know what need to be done.
I am working on now to have a unified error handling.

@realquantumcookie
Copy link

Just one question, as you requested the feature, when is the feature going to be implmented?
Because I am uncertain about the version of the mbedtls lib to download.

@deleisha
Copy link
Owner

deleisha commented Feb 6, 2018

I don't think it will be in the near future.
We can go ahead without that as well.
Please get the latest release version because that's the version that I am planning to checked in and use.

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

No branches or pull requests

4 participants