diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index 0720440b1d5a..bf8a625020a8 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -455,7 +455,7 @@ dependencies {
// region Crypto
implementation(libs.conscrypt.android)
- implementation(libs.openssl)
+ implementation(libs.android.openssl)
// endregion
// region Library
diff --git a/app/libs/local-maven/com/nextcloud/openssl/3.5.6/openssl-3.5.6.aar b/app/libs/local-maven/com/nextcloud/openssl/3.5.6/openssl-3.5.6.aar
deleted file mode 100644
index 4ad6d0743358..000000000000
Binary files a/app/libs/local-maven/com/nextcloud/openssl/3.5.6/openssl-3.5.6.aar and /dev/null differ
diff --git a/app/libs/local-maven/com/nextcloud/openssl/3.5.6/openssl-3.5.6.pom b/app/libs/local-maven/com/nextcloud/openssl/3.5.6/openssl-3.5.6.pom
deleted file mode 100644
index cd21b9cd1056..000000000000
--- a/app/libs/local-maven/com/nextcloud/openssl/3.5.6/openssl-3.5.6.pom
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
- 4.0.0
- com.nextcloud
- openssl
- 3.5.6
- aar
-
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 99d0c7ca094e..63527040c2c0 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -2,6 +2,7 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
[versions]
+androidOpensslVersion = "3.5.6"
androidCommonLibraryVersion = "0.33.2"
androidGifDrawableVersion = "1.2.31"
androidImageCropperVersion = "4.7.0"
@@ -65,7 +66,6 @@ mockitoVersion = "5.22.0"
mockkVersion = "1.14.9"
nnioVersion = "0.3.1"
objenesis = "3.5"
-opensslVersion = "3.5.6"
orchestratorVersion = "1.6.1"
orgJbundleUtilOsgiWrappedOrgApacheHttpClientVersion = "4.1.2"
osmdroidAndroidVersion = "6.1.20"
@@ -90,6 +90,7 @@ foundationVersion = "1.10.6"
[libraries]
# Crypto
android-library = { module = "com.github.nextcloud:android-library", version.ref = "androidLibraryVersion" }
+android-openssl = { module = "com.github.nextcloud-releases:android-openssl", version.ref = "androidOpensslVersion" }
conscrypt-android = { module = "org.conscrypt:conscrypt-android", version.ref = "conscryptAndroidVersion" }
bcpkix-jdk18on = { module = "org.bouncycastle:bcpkix-jdk18on", version.ref = "bcpkixJdk18onVersion" }
@@ -101,7 +102,6 @@ document-scanning-android-sdk = { module = "com.github.Hazzatur:Document-Scannin
fragment-ktx = { module = "androidx.fragment:fragment-ktx", version.ref = "fragmentKtxVersion" }
exifinterface = { module = "androidx.exifinterface:exifinterface", version.ref = "exifinterfaceVersion" }
material-icons-core = { module = "androidx.compose.material:material-icons-core", version.ref = "materialIconsCoreVersion" }
-openssl = { module = "com.nextcloud:openssl", version.ref = "opensslVersion" }
webkit = { module = "androidx.webkit:webkit", version.ref = "webkitVersion" }
splashscreen = { module = "androidx.core:core-splashscreen", version.ref = "splash-screen" }
sectioned-recyclerview = { module = "com.github.nextcloud-deps:sectioned-recyclerview", version.ref = "sectionedRecyclerviewVersion" }
diff --git a/gradle/verification-metadata.xml b/gradle/verification-metadata.xml
index aa6dc5db13c3..d95d556c136c 100644
--- a/gradle/verification-metadata.xml
+++ b/gradle/verification-metadata.xml
@@ -22051,6 +22051,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+