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

Enable certificate validation in the Lwt unix SSL backend #291

Merged
merged 1 commit into from
Jul 15, 2019

Conversation

vouillon
Copy link
Contributor

@vouillon vouillon commented Apr 5, 2019

This will need to wait for a new release of ocaml-ssl tough, as it depends on functions added by savonet/ocaml-ssl#49 that has just been merged.

@avsm
Copy link
Member

avsm commented Apr 5, 2019

Thanks! I'll test this as soon as the ssl package is out.

@emillon
Copy link
Contributor

emillon commented Apr 8, 2019

What was the default before? Was there any validation performed?

@vouillon
Copy link
Contributor Author

vouillon commented Jul 5, 2019

@avsm The ssl package is out: ocaml/opam-repository#14425

@vouillon
Copy link
Contributor Author

@emillon There is no validation at the moment...

@avsm
Copy link
Member

avsm commented Jul 14, 2019

Thanks for letting me know @vouillon. I'd like to cut a release of conduit with this, but could use a fix for savonet/ocaml-ssl#53 as it is hitting a lot of our CI that has older openssl. Is there any chance of a ssl.0.5.9 with that fix included @smimram?

@smimram
Copy link

smimram commented Jul 15, 2019

Yes, I can make a release soon.

@smimram
Copy link

smimram commented Jul 15, 2019

Done: ocaml/opam-repository#14508

@avsm avsm merged commit 76fad57 into mirage:master Jul 15, 2019
@avsm
Copy link
Member

avsm commented Jul 15, 2019

Thanks!

avsm added a commit to avsm/opam-repository that referenced this pull request Jul 15, 2019
…nd mirage-conduit (1.5.0)

CHANGES:

* lwt-unix: Do not close file descriptors more than once, which led to a lot of
  log spam due to EBADF (mirage/ocaml-conduit#294 @hcarty @avsm)
* lwt-unix: Always close channels after handling an event (mirage/ocaml-conduit#283 @hcarty)
* Allow TCP to be established from existing file descriptors
  (for example, an inherited systemd socket) (mirage/ocaml-conduit#144 @SGrondin mirage/ocaml-conduit#282 @timbertson)
* async: add `Conduit_async.V3` which provides convenience functions for
  resolving URIs to addresses (mirage/ocaml-conduit#287 @vbmithr)
* `Lwt_ssl`: Enable certification validation (mirage/ocaml-conduit#291 @vouillon)
* `Async_ssl`: fix exception raised when other side disconnects
  due to sharing underlying fd (mirage/ocaml-conduit#295 @bogdan2412)
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.

4 participants