-
Notifications
You must be signed in to change notification settings - Fork 147
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
OpenSSL 1.1.1b security warning on Google Play #727
Comments
Yes, Chaquopy's Python 3.8 build does use this version of OpenSSL. We'll shortly be releasing a new Chaquopy version which adds support for Python 3.9, 3.10 and 3.11. All of these will use OpenSSL 3, which will resolve this issue. We're not planning to update the OpenSSL version of Python 3.8 in the next Chaquopy release, but we'll do it in the release after that. |
Here's how to make your own build to remove the Google Play warning: Use a Linux machine: a cheap virtual server from somewhere like DigitalOcean will do just fine. Find this section of Common.java: chaquopy/product/buildSrc/src/main/java/com/chaquo/python/Common.java Lines 15 to 16 in 1814160
And set the build number as follows:
Install Docker using the instructions on its website, then:
Download the Android SDK command-line tools from here, and set them up as follows (replace
Find this section of target/build-all.sh: Lines 25 to 26 in 1814160
And edit it as follows:
Run the build (replace
You should now have some Python 3.8 packages in chaquopy/maven. To use them:
|
This issue was fixed in Chaquopy 14.0.2. To upgrade, edit your app's top-level build.gradle file and change the version number of |
This warning may also be produced by older versions of the
|
On my last app update I got a security warning from Google play:
Defective OpenSSL version: Your app uses a defective version of the OpenSSL library, which can cause your app to crash. Update to a fixed version of OpenSSL. Defective versions: OpenSSL 1.1.1b
I suspect it comes from chaquopy because using this trick I could track down that most usage of OpenSSL comes from Chaquopy
https://stackoverflow.com/questions/24197777/google-play-and-openssl-warning-message
Apparently there is a fix in OpenSSL 1.1.1i or higher:
https://support.google.com/faqs/answer/12576638
I am using Chaquopy 12.0.
Could you confirm whether Chaquopy 12.0 uses OpenSSL 1.1.1.b or not?
If yes, is there a plan to publish a fix ?
The text was updated successfully, but these errors were encountered: