diff options
Diffstat (limited to 'ssh')
-rw-r--r-- | ssh/build.gradle.kts | 2 | ||||
-rw-r--r-- | ssh/lint-baseline.xml | 21 |
2 files changed, 22 insertions, 1 deletions
diff --git a/ssh/build.gradle.kts b/ssh/build.gradle.kts index 998d5735..a975efab 100644 --- a/ssh/build.gradle.kts +++ b/ssh/build.gradle.kts @@ -19,7 +19,7 @@ dependencies { implementation(libs.androidx.core.ktx) implementation(libs.kotlinx.coroutines.android) implementation(libs.kotlinx.coroutines.core) - implementation(libs.thirdparty.sshj) { exclude(group = "org.bouncycastle") } + implementation(libs.thirdparty.sshj) implementation(libs.thirdparty.logcat) implementation(libs.androidx.security) implementation(libs.thirdparty.eddsa) diff --git a/ssh/lint-baseline.xml b/ssh/lint-baseline.xml index 8d55468b..dae997eb 100644 --- a/ssh/lint-baseline.xml +++ b/ssh/lint-baseline.xml @@ -1,4 +1,25 @@ <?xml version="1.0" encoding="UTF-8"?> <issues format="6" by="lint 8.3.0-alpha01" type="baseline" client="gradle" dependencies="false" name="AGP (8.3.0-alpha01)" variant="all" version="8.3.0-alpha01"> + <issue + id="InvalidPackage" + message="Invalid package reference in library; not included in Android: `javax.naming.directory`. Referenced from `org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory`."> + <location + file="$GRADLE_USER_HOME/caches/modules-2/files-2.1/org.bouncycastle/bcpkix-jdk18on/1.75/5adfef8a71a0933454739264b56283cc73dd2383/bcpkix-jdk18on-1.75.jar"/> + </issue> + + <issue + id="InvalidPackage" + message="Invalid package reference in library; not included in Android: `javax.naming`. Referenced from `org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory.1`."> + <location + file="$GRADLE_USER_HOME/caches/modules-2/files-2.1/org.bouncycastle/bcpkix-jdk18on/1.75/5adfef8a71a0933454739264b56283cc73dd2383/bcpkix-jdk18on-1.75.jar"/> + </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="$GRADLE_USER_HOME/caches/modules-2/files-2.1/org.bouncycastle/bcpkix-jdk18on/1.75/5adfef8a71a0933454739264b56283cc73dd2383/bcpkix-jdk18on-1.75.jar"/> + </issue> + </issues> |