ably / ably-ruby

Ruby client library SDK for Ably realtime messaging service
https://ably.com/download
Apache License 2.0
36 stars 19 forks source link

Confirm that client is unable to send data before verifying server identity #400

Open lawrence-forooghian opened 5 months ago

lawrence-forooghian commented 5 months ago

Our implementation of verification of the server’s TLS certificate is performed after the TLS handshake completes. Make sure that there’s no way that we might be sending any data to the server before verifying the certificate.

This applies to both the WebSocket code contained in this repo, and the HTTP code contained in https://github.com/ably-forks/em-http-request; they contain the same verification logic.

┆Issue is synchronized with this Jira Task by Unito