app: address TrustAllX509TrustManager lint

This commit is contained in:
Harsh Shandilya 2022-04-24 16:22:38 +05:30
parent 759c3b2e1a
commit ecba50cbae
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
2 changed files with 4 additions and 35 deletions

View file

@ -23,41 +23,6 @@
column="3"/>
</issue>
<issue
id="TrustAllX509TrustManager"
message="`checkClientTrusted` is empty, which could cause insecure network traffic due to trusting arbitrary TLS/SSL certificates presented by peers">
<location
file="org/bouncycastle/est/jcajce/JcaJceUtils$1.class"/>
</issue>
<issue
id="TrustAllX509TrustManager"
message="`checkServerTrusted` is empty, which could cause insecure network traffic due to trusting arbitrary TLS/SSL certificates presented by peers">
<location
file="org/bouncycastle/est/jcajce/JcaJceUtils$1.class"/>
</issue>
<issue
id="TrustAllX509TrustManager"
message="`checkClientTrusted` is empty, which could cause insecure network traffic due to trusting arbitrary TLS/SSL certificates presented by peers">
<location
file="org/bouncycastle/est/jcajce/JcaJceUtils$2.class"/>
</issue>
<issue
id="TrustAllX509TrustManager"
message="`checkClientTrusted` is empty, which could cause insecure network traffic due to trusting arbitrary TLS/SSL certificates presented by peers">
<location
file="org/eclipse/jgit/transport/TransportHttp$DummyX509TrustManager.class"/>
</issue>
<issue
id="TrustAllX509TrustManager"
message="`checkServerTrusted` is empty, which could cause insecure network traffic due to trusting arbitrary TLS/SSL certificates presented by peers">
<location
file="org/eclipse/jgit/transport/TransportHttp$DummyX509TrustManager.class"/>
</issue>
<issue
id="Overdraw"
message="Possible overdraw: Root element paints background `?android:attr/windowBackground` with a theme that also paints a background (inferred theme is `@style/AppThemeM3`)"

View file

@ -6,6 +6,10 @@
<issue id="InvalidPackage">
<ignore regexp="X509LDAPCertStoreSpi" />
</issue>
<issue id="TrustAllX509TrustManager">
<ignore regexp="bouncycastle" />
<ignore regexp="eclipse/jgit" />
</issue>
<issue id="UnusedResources">
<ignore path="src/main/res/values/bools.xml" />
<ignore path="src/main/res/values/colors_material3.xml" />