no longer test cv25519 as opaque key
This commit is contained in:
@@ -50,18 +50,6 @@ public class OpaqueKeyTest {
|
|||||||
assertTrue(log.containsType(LogType.MSG_KC_ERROR_MASTER_ALGO));
|
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
|
@Test
|
||||||
public void testOpaqueSubKey__canonicalize__shouldStrip() throws Exception {
|
public void testOpaqueSubKey__canonicalize__shouldStrip() throws Exception {
|
||||||
UncachedKeyRing ring = readRingFromResource("/test-keys/unknown-subkey.pub.asc");
|
UncachedKeyRing ring = readRingFromResource("/test-keys/unknown-subkey.pub.asc");
|
||||||
|
|||||||
Reference in New Issue
Block a user