1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-18 02:12:06 +01:00

Enable tests for unsupported s2k identifiers

This commit is contained in:
Paul Schaub 2022-11-22 14:40:31 +01:00
parent 24ec665f76
commit 616e14d043

View file

@ -15,7 +15,6 @@ import org.bouncycastle.openpgp.PGPException;
import org.bouncycastle.openpgp.PGPPublicKeyRing; import org.bouncycastle.openpgp.PGPPublicKeyRing;
import org.bouncycastle.openpgp.PGPSecretKeyRing; import org.bouncycastle.openpgp.PGPSecretKeyRing;
import org.bouncycastle.util.io.Streams; import org.bouncycastle.util.io.Streams;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.pgpainless.PGPainless; import org.pgpainless.PGPainless;
@ -361,13 +360,11 @@ public class UnsupportedPacketVersionsTest {
} }
@Test @Test
@Disabled("Enable once https://github.com/bcgit/bc-java/pull/1268 is available")
public void pkesk3_skesk4Ws2k23_seip() throws PGPException, IOException { public void pkesk3_skesk4Ws2k23_seip() throws PGPException, IOException {
decryptAndCompare(PKESK3_SKESK4wS2K23_SEIP, "Encrypted using SEIP + MDC."); decryptAndCompare(PKESK3_SKESK4wS2K23_SEIP, "Encrypted using SEIP + MDC.");
} }
@Test @Test
@Disabled("Enable once https://github.com/bcgit/bc-java/pull/1268 is available")
public void skesk4Ws2k23_pkesk3_seip() throws PGPException, IOException { public void skesk4Ws2k23_pkesk3_seip() throws PGPException, IOException {
decryptAndCompare(SKESK4wS2K23_PKESK3_SEIP, "Encrypted using SEIP + MDC."); decryptAndCompare(SKESK4wS2K23_PKESK3_SEIP, "Encrypted using SEIP + MDC.");
} }