From 344e6feffb57ab693be71129ce360eef338d42fa Mon Sep 17 00:00:00 2001 From: Stuart Douglas Date: Wed, 4 Dec 2019 10:58:26 +1100 Subject: [PATCH] Initialize GpgSigner at runtime to avoid security provider problem --- .../java/io/quarkus/jgit/runtime/deployment/JGitProcessor.java | 1 + 1 file changed, 1 insertion(+) diff --git a/extensions/jgit/deployment/src/main/java/io/quarkus/jgit/runtime/deployment/JGitProcessor.java b/extensions/jgit/deployment/src/main/java/io/quarkus/jgit/runtime/deployment/JGitProcessor.java index 5bca38b966fb6..4211b7a9c38c3 100644 --- a/extensions/jgit/deployment/src/main/java/io/quarkus/jgit/runtime/deployment/JGitProcessor.java +++ b/extensions/jgit/deployment/src/main/java/io/quarkus/jgit/runtime/deployment/JGitProcessor.java @@ -91,6 +91,7 @@ ReflectiveClassBuildItem reflection() { List runtimeInitializedClasses() { return Arrays.asList( new RuntimeInitializedClassBuildItem("org.eclipse.jgit.transport.HttpAuthMethod$Digest"), + new RuntimeInitializedClassBuildItem("org.eclipse.jgit.lib.GpgSigner"), new RuntimeInitializedClassBuildItem(PortWatcherRunTime.class.getName())); }