-
Notifications
You must be signed in to change notification settings - Fork 549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libconscrypt_jni.so is not 16kb aligned for Android #3624
Comments
we tried com.amazonaws:aws-android-sdk-iot:2.75.2 |
1 similar comment
we tried com.amazonaws:aws-android-sdk-iot:2.75.2 |
Conscript is a library from Google. We will be reliant on that library adding 16kb page size support: https://github.com/google/conscrypt Please also consider AWS newer IoT library that builds in additional support for mqttv5: https://github.com/aws/aws-iot-device-sdk-java-v2 |
Hey, can you confirm where you get the conscrypt library from? Built from source or from somewhere else? |
@smore-lore It's a library Google publishes. Here is the import:
Their repo is open source here: https://github.com/google/conscrypt |
Should be fixed in |
@prbprbprb @smore-lore Thank you both for your support! |
@fxsweety I see |
Let us know how you get on, please. |
Thank you.. once its updated we will verify from our client side, if its 16kb aligned |
@prbprbprb Verified that 2.5.3 works on 16KB page size devices. @fxsweety Support will go in our next release of the AWS Android SDK. However, if you are not calling |
Complete aside, I'm just curious why you use unbundled Conscrypt for TLS for that one sub-project? If it's because it supports a lower minSdk than the Google Play |
Thanks for the heads up. I don't have much historical context into the reasoning. It was most likely used for versions 4.x versions of Android with limited TLS 1.2 capabilities, though I'm not sure why we use Conscrypt for all versions here. It could be to support non Google Play devices as IoT has unique use cases. This is a legacy library for IoT, with a direct replacement available (minSdk 24), which is likely the reason there is some activity still on this library. This conscrypt update should get us through for the remainder of the product life. Thank you for your support. |
Cool. I'd suggest that unless you need to run on esoteric devices then |
Do we know when is the next release. thanks. |
We do not make release commitments but we do try to release weekly when we have an update to ship. I'll update the thread here when this code is released. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Which AWS Services is the feature request for?
to get libconscrypt_jni.so to be 16kb aligned
Is your feature request related to a problem? Please describe.
Android has released to check if the libraries used are 16kb aligned https://developer.android.com/guide/practices/page-sizes#:~:text=Beginning%20with%20Android%2015%2C%20Android,on%20these%2016%20KB%20devices
and we noticed libconscrypt_jni.so comign from aws sdk is not aligned
/tmp/my_apk_out9/tmp/my_apk_out8/lib/arm64-v8a/libconscrypt_jni.so: \e[31mUNALIGNED\e[0m (2**12)
The text was updated successfully, but these errors were encountered: