mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-15 21:29:38 +02:00
Enable test for decryption of messages without ESKs
This commit is contained in:
parent
b9d2747c10
commit
f6c8d4a65f
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…
Add table
Add a link
Reference in a new issue