BelledonneCommunications / linphone-sdk

Mirror for linphone-sdk (https://gitlab.linphone.org/BC/public/linphone-sdk.git)
GNU Affero General Public License v3.0
105 stars 81 forks source link

Missing support for TLS 1.3 become problematic #370

Open G10h4ck opened 9 months ago

G10h4ck commented 9 months ago

Hi, I am very happy linphone user and grateful to you for sharing your work! Usually I can place call using both plain UDP or TCP, but on some networks especially mobile carrier networks SIP packets gets mangled in strange ways breaking the connection, so I am attempting to use TLS transport, but TLS 1.3 is required by the server, while linphone seems to not support it yet.

  1. Describe the bug (mandatory)

As far as I understand linphone is not supporting TLS 1.3 while it have become mandatory in most places

I am getting exactly the same error messages as in this bug https://github.com/BelledonneCommunications/linphone-android/issues/1180

Also, if applicable, do you reproduce it with linphone-android latest release from the Play Store?

I am using last version from F-Droid but seems freshly updated so it shouldn't matter for this issue

  1. To Reproduce (mandatory)

Just attempt to connect to a recent debian based asterisk server and you will see it

  1. Expected behavior (mandatory)

Connecting without problems

G10h4ck commented 9 months ago

also Mbed-TLS ( which is what linphone uses AFAIU ) seems to support TLS 1.3 at least partially now https://github.com/Mbed-TLS/mbedtls/blob/development/docs/architecture/tls13-support.md

harut420 commented 9 months ago

would be great to have TLS 1.3 ...