diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2022-04-24 16:22:38 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2022-04-24 16:47:51 +0530 |
commit | ecba50cbae1a01a3436c4803fcc1429333a0fbb4 (patch) | |
tree | a3ac5dbda5caf1c0fcd157b76f83e760d1a5d6be /app | |
parent | 759c3b2e1af3ab044535648c6d3cb74b0dca05f9 (diff) |
app: address TrustAllX509TrustManager lint
Diffstat (limited to 'app')
-rw-r--r-- | app/lint-baseline.xml | 35 | ||||
-rw-r--r-- | app/lint.xml | 4 |
2 files changed, 4 insertions, 35 deletions
diff --git a/app/lint-baseline.xml b/app/lint-baseline.xml index 2d2eb5a3..4b312c7a 100644 --- a/app/lint-baseline.xml +++ b/app/lint-baseline.xml @@ -24,41 +24,6 @@ </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`)" errorLine1=" android:background="?android:attr/windowBackground"" diff --git a/app/lint.xml b/app/lint.xml index 0d179d4f..73d81f99 100644 --- a/app/lint.xml +++ b/app/lint.xml @@ -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" /> |