From 747bfad8d789c7c7e8cae0169d9892827572cf3c Mon Sep 17 00:00:00 2001 From: Jeremy Bernard Date: Wed, 6 May 2026 09:27:56 +0200 Subject: [PATCH] feat: upgrade to Spring Boot 3.5.8 --- build.gradle | 2 +- src/main/resources/application.properties | 16 ---------------- .../iexec/common/security/CipherHelperTests.java | 4 ++-- 3 files changed, 3 insertions(+), 19 deletions(-) delete mode 100644 src/main/resources/application.properties diff --git a/build.gradle b/build.gradle index d4d5e560..d7e52c78 100644 --- a/build.gradle +++ b/build.gradle @@ -37,7 +37,7 @@ repositories { // 'api' configuration allows to expose dependencies with 'compile' scope in pom // 'implementation' configuration allows to expose dependencies with 'runtime' scope in pom dependencies { - implementation platform('org.springframework.boot:spring-boot-dependencies:3.3.8') + implementation platform('org.springframework.boot:spring-boot-dependencies:3.5.8') // feign api "io.github.openfeign:feign-jackson:$openFeignVersion" diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties deleted file mode 100644 index 56524359..00000000 --- a/src/main/resources/application.properties +++ /dev/null @@ -1,16 +0,0 @@ -# -# Copyright 2020 IEXEC BLOCKCHAIN TECH -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - diff --git a/src/test/java/com/iexec/common/security/CipherHelperTests.java b/src/test/java/com/iexec/common/security/CipherHelperTests.java index 203f313b..3fb1b786 100644 --- a/src/test/java/com/iexec/common/security/CipherHelperTests.java +++ b/src/test/java/com/iexec/common/security/CipherHelperTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2023 IEXEC BLOCKCHAIN TECH + * Copyright 2020-2026 IEXEC BLOCKCHAIN TECH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -110,7 +110,7 @@ void shouldFailToRsaDecryptWithNullKey() { @Test void errorExtractingRsaKeys() { - final String weirdCharacters = RandomStringUtils.randomAlphanumeric(256); + final String weirdCharacters = RandomStringUtils.secure().nextAlphanumeric(256); assertThat(plainText2RsaPrivateKey(weirdCharacters)).isNull(); assertThat(plainText2RsaPublicKey(weirdCharacters)).isNull(); }