yuroyami / syncplay-mobile

📱 Unofficial Syncplay client app for Android and iOS. Watch stuff in sync with your friends. Works well with Syncplay on PC. Fully written in Kotlin and Compose multiplatform.
143 stars 5 forks source link

TLS not working. #6

Closed yuroyami closed 10 months ago

yuroyami commented 2 years ago

The TLS (Transport Layer Security) connection is not getting established. As a consequence, Syncplay now connects to the servers via a bare unprotected TCP/IP socket.

For many people, this is neither a priority nor an issue. But most of us prefer a secured connection over TLS/SSL if possible, which is one of the major features for Desktop's Syncplay.

This will be fixed asap.

Et0h commented 2 years ago

Syncplay uses Opportunistic TLS.

In my understanding the way it works from the Syncplay client's perspective is as follows:

yuroyami commented 2 years ago

@Et0h The issue I thought I was facing was getting Twisted to accept Java's TLS connection which keeps getting rejected for some reason. I read your TLS support explanation on the official GitHub. Android's SSL socketing protocol is a pain in the ass and I kept blaming it while I totally forgot to send a TLS message to begin with. I should've analyzed the Python source code more thoroughly to make sure I am not missing anything. That will be immensely helpful to fix this issue. Much appreciated.

yuroyami commented 10 months ago

Fixed as of v0.13.0