TrustAllX509TrustManager lint warning with firebase-messaging 23.0.1
See original GitHub issue[REQUIRED] Step 2: Describe your environment
- Android Studio version: Android Studio Bumblebee | 2021.1.1 Patch 2
- Firebase Component: Messaging (Database, Firestore, Storage, Functions, etc)
- Component version: 23.0.1
[REQUIRED] Step 3: Describe the problem
After upgrading firebase-messaging from 23.0.0 to 23.0.1, upon executing the Gradle lintRelease
task, we encountered the following error on all of our modules (path modified to remove sensitive info):
/Users/me/dev/work/app/module/com/google/api/client/util/SslUtils$1.class: Error: checkClientTrusted is empty, which could cause insecure network traffic due to trusting arbitrary TLS/SSL certificates presented by peers [TrustAllX509TrustManager]
Explanation for issues of type "TrustAllX509TrustManager":
This check looks for X509TrustManager implementations whose
checkServerTrusted or checkClientTrusted methods do nothing (thus trusting
any certificate chain) which could result in insecure network traffic
caused by trusting arbitrary TLS/SSL certificates presented by peers.
Steps to reproduce:
Run lintRelease
Gradle task
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Firebase Android SDK Release Notes - Google
Warning : This version of firebase-messaging (v20.2.2) should not be used. It has a known issue that causes an app to crash when...
Read more >Release Notes - Play services - Google Developers
Warning : This release of play-services-location (21.0.0) has a known issue that can break ... com.google.firebase:firebase-messaging-directboot:23.0.1 ...
Read more >lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks ...
"build.gradle:13: Warning: A newer version of com.google.firebase:firebase-messaging than 10.2.1 is available: 11.0.0 [GradleDependency]\n" +.
Read more >Dart Flutter com.google.firebase:firebase-messaging:23.0.0 ...
I am getting an error while running my code. Error: Launching lib\main.dart on Android SDK built for x86 in debug mode... C ...
Read more >Lint error with firebase-perf [OutdatedLibrary] even if we are ...
0, and then warning you because 0.0.0 is less than 10.2.6. I've committed a fix for this, in the branch that will eventually...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I can confirm that this has been fixed with 23.0.2 as well, thanks!
We are also facing this issue after the firebase BOM update from 29.1.0 to 29.2.0: