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

Enable test for decryption of messages without ESKs

This commit is contained in:
Paul Schaub 2022-11-03 13:04:36 +01:00
parent b9d2747c10
commit f6c8d4a65f

View file

@ -7,7 +7,6 @@ package org.pgpainless.decryption_verification;
import org.bouncycastle.openpgp.PGPException;
import org.bouncycastle.openpgp.PGPSessionKey;
import org.bouncycastle.util.io.Streams;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.pgpainless.PGPainless;
import org.pgpainless.util.SessionKey;
@ -55,8 +54,6 @@ public class TestDecryptionOfMessageWithoutESKUsingSessionKey {
assertEquals("Hello, World!\n", out.toString());
}
// TODO: Enable when BC 173 gets released with our fix
@Disabled("Bug in BC 172. See https://github.com/bcgit/bc-java/pull/1228")
@Test
public void decryptMessageWithoutSKESK() throws PGPException, IOException {
ByteArrayInputStream in = new ByteArrayInputStream(encryptedMessageWithoutESK.getBytes(StandardCharsets.UTF_8));