Open bsafwen opened 4 years ago
I would just use Google Play Service's ProviderInstaller instead of packaging Conscrypt with your app.
System apps don't have the permission to use ProviderInstaller, I get permission denied, and the AWS IoT SDK makes calls to libconscrypt, to add the conscrypt provider Security.addProvider(new OpenSSLProvider());
and another one to set the ALPN extension: Conscrypt.setApplicationProtocols((SSLSocket) socket, ALPN_EXTENSION);
Sounds more like this is an issue with AWS IoT SDK
Hello,
We are building an android system application that uses the AWS IOT SDK for Android. To be able to deploy this app on Android TV STB's, we need to run the android test suites (CTS/GTS). Unfortunately, We have a GTS test failing with our application. The failure seems related to the 'conscrypt' dependency of the AWS IOT SDK. Could you please check bellow logs and share any thoughts you may have on how to fix this?
GTS version 7.0_r4 Device android version: ro.build.version.release:10 ro.build.version.sdk:29
I think the conscrypt errors come from here:
and KitKatPlatformOpenSSLSocketAdapterFactory extends com.android.org.conscrypt.OpenSSLSocketImpl;
For the BlockGuard error, the api is internal and Google disallows using it:
as for the CloseGuard error, CloseGuard move from dalvik.system to android.util
Regards