由于 https://developer.android.com/reference/javax/net/ssl/SSLSocket.html 中提到,目前Telegram API支持的5种TLS1.2连接方法,在API16-20之间没有提供支持,故Android 4.1-4.4之间的所有设备,都没有办法支持连接服务器。
目前官方API支持的SSL Cipher为
这些加密方法均为AEAD
目前官方API支持的SSL Cipher为
CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
CipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,
CipherSuite.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256,
CipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256,
CipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384
这些加密方法均为AEAD
Reall Network System
notification listener can't catch any notification
notification listener can't catch any notification
新的Telegram SMS已经发布,加入了短信过滤器和应用内Socks5代理设置(就是这个功能,依赖了conscrypt,导致APK包到7M)。
经过了将近半个月的研究,我把Compat给修起来了,支持了GCM算法。不过Proxy配置我目前来看还是没有办法实现,所以就先放着吧
我已经发现,在Android6.0以下的系统,OKhttp的proxy功能会有问题。根据Github上相关issue https://github.com/square/okhttp/issues/2315 他们并没有修复这个问题,我正在寻找是否有可用的解决方案。
GitHub
SOCKS proxy not working on Android platform · Issue #2315 · square/okhttp
SOCKS proxy is completely broken on Android. When I set up SOCKS proxy in my app, all requests failed, when I wrote an instrumentation test, I found even create a default okhttp instance with a SOC...