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

mbed TLS support #350

Merged
merged 48 commits into from Jun 2, 2018

Conversation

Projects
None yet
2 participants
@qykth-git
Contributor

qykth-git commented May 29, 2018

This is mbed TLS ( https://github.com/ARMmbed/mbedtls ) support for Gauche.
Currently, this code works client side only. And meant to work with rfc.http module.

See also #249 .

Usage:

./configure --enable-tls=mbedtls --enable-tls-ca-file-path=/path/to/ca-certificates.crt

--enable-tls-ca-file-path=... option is required because this code validates server certification.

@shirok shirok merged commit 3a420d6 into shirok:master Jun 2, 2018

@shirok

This comment has been minimized.

Owner

shirok commented Jun 2, 2018

Thanks!

@shirok

This comment has been minimized.

Owner

shirok commented Jun 2, 2018

To support this officially, it's desirable for the configure script to check availability of libmbedtls.
Also I found Ubuntu 16.04 package of libmbedtls is rather outdated (2.2.1) and incompatible with this source. If we don't support older versions, the configure needs to check libmbedtls version as well.

I'm inclined to allow supporting multiple tls subsystems by subclassing and switching at runtime.

@qykth-git qykth-git deleted the qykth-git:mbedtls branch Jun 4, 2018

@qykth-git

This comment has been minimized.

Contributor

qykth-git commented Jun 4, 2018

Thanks to merge my code.

I will try to fix the problems.

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