no longer test cv25519 as opaque key

This commit is contained in:
Vincent Breitmoser 2018-02-14 02:32:19 +01:00
parent 6ed3c744a5
commit fa9a298bfa

View file

@ -50,18 +50,6 @@ public class OpaqueKeyTest {
assertTrue(log.containsType(LogType.MSG_KC_ERROR_MASTER_ALGO));
}
@Test
public void testOpaqueOidSubKey__canonicalize__shouldFail() throws Exception {
// key from GnuPG's test suite, sample msg generated using GnuPG v2.1.18
// TODO use for actual tests once eddsa is supported!
UncachedKeyRing ring = readRingFromResource("/test-keys/ed25519-cv25519-sample-1.asc");
OperationLog log = new OperationLog();
ring.canonicalize(log, 0);
assertTrue(log.containsType(LogType.MSG_KC_SUB_BAD));
}
@Test
public void testOpaqueSubKey__canonicalize__shouldStrip() throws Exception {
UncachedKeyRing ring = readRingFromResource("/test-keys/unknown-subkey.pub.asc");