urandom / gearshift

Transmission remote client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support TLS1.2

dchokola opened this issue · comments

TLS 1.2 is not supported.
From stunnel4 logs:

2015.03.03 19:07:10 LOG7[747]: Service [transmission] accepted (FD=3) from 10.0.0.109:50665
2015.03.03 19:07:10 LOG7[13429]: Service [transmission] finished (0 left)
2015.03.03 19:07:10 LOG7[13430]: Service [transmission] started
2015.03.03 19:07:10 LOG5[13430]: Service [transmission] accepted connection from 10.0.0.109:50665
2015.03.03 19:07:10 LOG7[13430]: SSL state (accept): before/accept initialization
2015.03.03 19:07:10 LOG3[13430]: SSL_accept: 140760FC: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol
2015.03.03 19:07:10 LOG5[13430]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket
2015.03.03 19:07:10 LOG7[13430]: Local socket (FD=3) closed
2015.03.03 19:07:10 LOG7[13430]: Service [transmission] finished (0 left)

Works for me on Android 5.0.

Still on 4.4.2 here. Maybe it's an issue with the Java libs bundled with Android. I'll see if I can install 5.0 or newer and try again.

Since TLS 1.2 works for Android 5.+, I'll close this issue. Still, if someone feels like providing a patch for <5.+, that would be appreciated.