From d707ecd20ee284078a3e0cfe82539b267bab28a1 Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Thu, 6 Jul 2023 16:39:35 +0200 Subject: [PATCH] Disable now broken test caused by parsing certificates from secret keys --- .../pgpainless/cli/commands/RoundTripEncryptDecryptCmdTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pgpainless-cli/src/test/java/org/pgpainless/cli/commands/RoundTripEncryptDecryptCmdTest.java b/pgpainless-cli/src/test/java/org/pgpainless/cli/commands/RoundTripEncryptDecryptCmdTest.java index 3caa81ae..1d89aeeb 100644 --- a/pgpainless-cli/src/test/java/org/pgpainless/cli/commands/RoundTripEncryptDecryptCmdTest.java +++ b/pgpainless-cli/src/test/java/org/pgpainless/cli/commands/RoundTripEncryptDecryptCmdTest.java @@ -18,6 +18,7 @@ import com.ginsberg.junit.exit.FailOnSystemExit; import org.bouncycastle.openpgp.PGPException; import org.bouncycastle.openpgp.PGPPublicKeyRing; import org.bouncycastle.openpgp.PGPSecretKeyRing; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.pgpainless.PGPainless; import org.pgpainless.algorithm.KeyFlag; @@ -139,6 +140,7 @@ public class RoundTripEncryptDecryptCmdTest extends CLITest { } @Test + @Disabled("Disabled, since we now read certificates from secret keys") public void testEncryptingForKeyFails() throws IOException { File notACert = writeFile("key.asc", KEY);