From af12886723666f054051863af3883e84402fab86 Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Sat, 27 Sep 2025 10:16:22 +0200 Subject: [PATCH] Fix VKSTest testing2.keys.openpgp.org is no longer available. Therefore we move to testing.keys.openpgp.org. Furthermore, we upload the test key with its userid, so we can as well fetch it by user-id too. --- vks-java/src/test/java/pgp/vks/client/VKSTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vks-java/src/test/java/pgp/vks/client/VKSTest.java b/vks-java/src/test/java/pgp/vks/client/VKSTest.java index 0339f22..1992c3c 100644 --- a/vks-java/src/test/java/pgp/vks/client/VKSTest.java +++ b/vks-java/src/test/java/pgp/vks/client/VKSTest.java @@ -29,7 +29,7 @@ public class VKSTest { @BeforeAll static void prepare() throws MalformedURLException { - vks = new VKSImpl("https://testing2.keys.openpgp.org"); + vks = new VKSImpl("https://testing.keys.openpgp.org"); } @Test @@ -111,10 +111,10 @@ public class VKSTest { @Test public void testGetByEmail() throws IOException { byte[] expectedHeader = ("-----BEGIN PGP PUBLIC KEY BLOCK-----\n" + - "Comment: 7F91 16FE A90A 5983 936C 7CFA A027 DB2F 3E1E 118A") + "Comment: 5741 7147 D0C8 B548 220A 36A6 0BAA B05A 0877 68D3") .getBytes(StandardCharsets.UTF_8); - InputStream in = vks.get().byEmail("vanitasvitae@fsfe.org"); + InputStream in = vks.get().byEmail("test123asdasd@byom.de"); ByteArrayOutputStream out = new ByteArrayOutputStream(); Streams.pipeAll(in, out); in.close();