Upgrade tls client version to 1.2/1.3 #247

Closed
opened 2025-11-07 08:32:38 -06:00 by GiteaMirror · 6 comments
Owner

Originally created by @mqus on GitHub (Jul 12, 2018).

Today I installed the self-hosted binary of bitwarden_rs and all clients worked fine.
Only the mobile app threw a "There is a problem connecting to the server" pretty much immediately when I tried to login.

After a while I found out that my reverse-proxy blocked the request:

Jul 12 22:53:54 myserver caddy[15936]: 2018/07/12 22:53:54 http: TLS handshake error from 12.34.56.78:42305: tls: client offered an unsupported, maximum protocol version of 301
Jul 12 22:53:54 myserver caddy[15936]: 2018/07/12 22:53:54 http: TLS handshake error from 12.34.56.78:42306: tls: client offered an unsupported, maximum protocol version of 300

It seems that the mobile app is still using TLS 1.0 (and even tried to use SSL 3.0). I can work around my specific error by configuring caddy (the reverse proxy) but TLS1.0 seems a bit insecure, even for sending already encrypted stuff.

Would it be possible to use/support TLS 1.2 or even 1.3?

Originally created by @mqus on GitHub (Jul 12, 2018). Today I installed the self-hosted binary of bitwarden_rs and all clients worked fine. Only the mobile app threw a "There is a problem connecting to the server" pretty much immediately when I tried to login. After a while I found out that my reverse-proxy blocked the request: ``` Jul 12 22:53:54 myserver caddy[15936]: 2018/07/12 22:53:54 http: TLS handshake error from 12.34.56.78:42305: tls: client offered an unsupported, maximum protocol version of 301 Jul 12 22:53:54 myserver caddy[15936]: 2018/07/12 22:53:54 http: TLS handshake error from 12.34.56.78:42306: tls: client offered an unsupported, maximum protocol version of 300 ``` It seems that the mobile app is still using TLS 1.0 (and even tried to use SSL 3.0). I can work around my specific error by configuring caddy (the reverse proxy) but TLS1.0 seems a bit insecure, even for sending already encrypted stuff. Would it be possible to use/support TLS 1.2 or even 1.3?
Author
Owner

@salquier commented on GitHub (Jul 14, 2018):

Hi,

I've also had some problem with my SSL configuration on my reverse-proxy.
I've solve my problems by using the nginx configuration generated by https://mozilla.github.io/server-side-tls/ssl-config-generator/.

Btw, the app work with TLS 1.2 (at least for android app).

@salquier commented on GitHub (Jul 14, 2018): Hi, I've also had some problem with my SSL configuration on my reverse-proxy. I've solve my problems by using the nginx configuration generated by https://mozilla.github.io/server-side-tls/ssl-config-generator/. Btw, the app work with TLS 1.2 (at least for android app).
Author
Owner

@mqus commented on GitHub (Jul 14, 2018):

Maybe it has to do with the Android version , I use Android 4.4.

@mqus commented on GitHub (Jul 14, 2018): Maybe it has to do with the Android version , I use Android 4.4.
Author
Owner

@mqus commented on GitHub (Jul 14, 2018):

I just researched a bit, this is indeed the case:
https://github.com/ssllabs/ssllabs-scan/issues/258

With solutions mentioned here.

@mqus commented on GitHub (Jul 14, 2018): I just researched a bit, this is indeed the case: https://github.com/ssllabs/ssllabs-scan/issues/258 With solutions mentioned [here.](https://github.com/auth0/Auth0.Android/issues/126)
Author
Owner

@salquier commented on GitHub (Jul 14, 2018):

Available but not enabled by default...
Solution for xamarin here.

@salquier commented on GitHub (Jul 14, 2018): Available but not enabled by default... Solution for xamarin [here](https://stackoverflow.com/questions/33112340/how-do-i-enable-tlsv1-1-on-xamarin-android-api-16-19).
Author
Owner

@kspearrin commented on GitHub (Jul 16, 2018):

Can you try latest build here? https://ci.appveyor.com/project/bitwarden/mobile/build/artifacts

I added the mentioned fix using Play Services "Safety Net" for <= KitKat devices.

@kspearrin commented on GitHub (Jul 16, 2018): Can you try latest build here? https://ci.appveyor.com/project/bitwarden/mobile/build/artifacts I added the mentioned fix using Play Services "Safety Net" for <= KitKat devices.
Author
Owner

@mqus commented on GitHub (Jul 16, 2018):

works perfectly!
thanks!

@mqus commented on GitHub (Jul 16, 2018): works perfectly! thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#247