From b8a14910110bc7877c6962e43df3451dc6665285 Mon Sep 17 00:00:00 2001 From: Adrian Lapierre Date: Tue, 26 Dec 2023 11:05:55 +0100 Subject: [PATCH] Update dependencies, JUnit and digidoc4j has been upgraded --- .../digital-signature-pdf/pom.xml | 2 +- .../crypto/dss/pdf/signer/CardSignerTest.java | 2 ++ digital-signature-master/pom.xml | 11 ++++++----- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/digital-signature-master/digital-signature-pdf/pom.xml b/digital-signature-master/digital-signature-pdf/pom.xml index 48e4ceb..ef35592 100644 --- a/digital-signature-master/digital-signature-pdf/pom.xml +++ b/digital-signature-master/digital-signature-pdf/pom.xml @@ -85,7 +85,7 @@ org.junit.jupiter - junit-jupiter-api + junit-jupiter test diff --git a/digital-signature-master/digital-signature-pdf/src/test/java/io/alapierre/crypto/dss/pdf/signer/CardSignerTest.java b/digital-signature-master/digital-signature-pdf/src/test/java/io/alapierre/crypto/dss/pdf/signer/CardSignerTest.java index cbbb41a..fe86915 100644 --- a/digital-signature-master/digital-signature-pdf/src/test/java/io/alapierre/crypto/dss/pdf/signer/CardSignerTest.java +++ b/digital-signature-master/digital-signature-pdf/src/test/java/io/alapierre/crypto/dss/pdf/signer/CardSignerTest.java @@ -3,6 +3,7 @@ import eu.europa.esig.dss.token.PasswordInputCallback; import eu.europa.esig.dss.token.PrefilledPasswordCallback; import lombok.val; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import java.io.FileInputStream; @@ -20,6 +21,7 @@ class CardSignerTest { private final PasswordInputCallback callback = new PrefilledPasswordCallback(new KeyStore.PasswordProtection(pin.toCharArray())); @Test + @Disabled void testSign() throws IOException { val signer = new CardSigner("/opt/proCertumSmartSign", "cryptoCertum3PKCS", 1, callback); diff --git a/digital-signature-master/pom.xml b/digital-signature-master/pom.xml index be76dd0..68f80ad 100644 --- a/digital-signature-master/pom.xml +++ b/digital-signature-master/pom.xml @@ -18,7 +18,7 @@ 11 11 UTF-8 - 5.12.1 + 6.0 @@ -127,10 +127,11 @@ - org.junit.jupiter - junit-jupiter-api - 5.9.2 - test + org.junit + junit-bom + 5.10.1 + pom + import