mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-30 00:02:06 +01:00
Enable test for decryption of messages without ESKs
This commit is contained in:
parent
59e81dc514
commit
963b678a9e
1 changed files with 0 additions and 3 deletions
|
@ -7,7 +7,6 @@ package org.pgpainless.decryption_verification;
|
||||||
import org.bouncycastle.openpgp.PGPException;
|
import org.bouncycastle.openpgp.PGPException;
|
||||||
import org.bouncycastle.openpgp.PGPSessionKey;
|
import org.bouncycastle.openpgp.PGPSessionKey;
|
||||||
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;
|
||||||
import org.pgpainless.util.SessionKey;
|
import org.pgpainless.util.SessionKey;
|
||||||
|
@ -55,8 +54,6 @@ public class TestDecryptionOfMessageWithoutESKUsingSessionKey {
|
||||||
assertEquals("Hello, World!\n", out.toString());
|
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
|
@Test
|
||||||
public void decryptMessageWithoutSKESK() throws PGPException, IOException {
|
public void decryptMessageWithoutSKESK() throws PGPException, IOException {
|
||||||
ByteArrayInputStream in = new ByteArrayInputStream(encryptedMessageWithoutESK.getBytes(StandardCharsets.UTF_8));
|
ByteArrayInputStream in = new ByteArrayInputStream(encryptedMessageWithoutESK.getBytes(StandardCharsets.UTF_8));
|
||||||
|
|
Loading…
Reference in a new issue