mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-12-05 03:41:07 +01:00
Enabled some formerly disabled tests
This commit is contained in:
parent
12a727287d
commit
f8d9f3ccbb
5 changed files with 1 additions and 11 deletions
|
|
@ -136,7 +136,6 @@ 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);
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ DhxJVTgA/1WaFrKdP3AgL0Ffdooc5XXbjQsj0uHo6FZSHRI4pchMAQCyJnKQ3RvW
|
|||
-----END PGP PRIVATE KEY BLOCK-----"""
|
||||
|
||||
@Test
|
||||
@Disabled("Disabled since BC 1.77 chokes on the test key")
|
||||
@Disabled("Disabled since BC 1.82 chokes on the test key")
|
||||
fun testExtractCertificate() {
|
||||
val key = PGPainless.getInstance().readKey().parseKey(KEY)!!
|
||||
val cert = key.toCertificate()
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
package sop.testsuite.pgpainless.operation;
|
||||
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import sop.SOP;
|
||||
import sop.testsuite.operation.DetachedSignDetachedVerifyTest;
|
||||
|
||||
|
|
@ -13,13 +12,11 @@ import java.io.IOException;
|
|||
public class PGPainlessDetachedSignDetachedVerifyTest extends DetachedSignDetachedVerifyTest {
|
||||
|
||||
@Override
|
||||
@Disabled("Since we allow for dynamic cert loading, we can ignore this test")
|
||||
public void verifyMissingCertCausesMissingArg(SOP sop) {
|
||||
super.verifyMissingCertCausesMissingArg(sop);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Disabled("Carol is an ElGamal key, which are no longer supported.")
|
||||
public void signVerifyWithCarolKey(SOP sop) throws IOException {
|
||||
super.signVerifyWithCarolKey(sop);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,25 +6,21 @@ package sop.testsuite.pgpainless.operation;
|
|||
|
||||
import java.io.IOException;
|
||||
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import sop.SOP;
|
||||
import sop.testsuite.operation.ExtractCertTest;
|
||||
|
||||
public class PGPainlessExtractCertTest extends ExtractCertTest {
|
||||
|
||||
@Disabled("BC uses old CTBs causing mismatching byte arrays :/")
|
||||
@Override
|
||||
public void extractAliceCertFromAliceKeyTest(SOP sop) throws IOException {
|
||||
super.extractAliceCertFromAliceKeyTest(sop);
|
||||
}
|
||||
|
||||
@Disabled("BC uses old CTBs causing mismatching byte arrays :/")
|
||||
@Override
|
||||
public void extractBobsCertFromBobsKeyTest(SOP sop) throws IOException {
|
||||
super.extractBobsCertFromBobsKeyTest(sop);
|
||||
}
|
||||
|
||||
@Disabled("BC uses old CTBs causing mismatching byte arrays :/")
|
||||
@Override
|
||||
public void extractCarolsCertFromCarolsKeyTest(SOP sop) throws IOException {
|
||||
super.extractCarolsCertFromCarolsKeyTest(sop);
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
package sop.testsuite.pgpainless.operation;
|
||||
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import sop.SOP;
|
||||
import sop.testsuite.operation.InlineSignInlineVerifyTest;
|
||||
|
||||
|
|
@ -13,7 +12,6 @@ import java.io.IOException;
|
|||
public class PGPainlessInlineSignInlineVerifyTest extends InlineSignInlineVerifyTest {
|
||||
|
||||
@Override
|
||||
@Disabled("Carol is an ElGamal key, which is no longer supported.")
|
||||
public void inlineSignVerifyCarol(SOP sop) throws IOException {
|
||||
super.inlineSignVerifyCarol(sop);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue