jamesnetherton commented on code in PR #8629:
URL: https://github.com/apache/camel-quarkus/pull/8629#discussion_r3201779289
##########
extensions/ftp/deployment/src/main/java/org/apache/camel/quarkus/component/ftp/deployment/FtpProcessor.java:
##########
@@ -27,4 +28,20 @@ class FtpProcessor {
FeatureBuildItem feature() {
return new FeatureBuildItem(FEATURE);
}
+
+ @BuildStep
+ ReflectiveClassBuildItem registerJSchCertificateClasses() {
+ // JSch OpenSSH certificate support classes for @cert-authority
parsing in known_hosts
+ // The quarkus-jsch reflection config is missing several classes that
JSch loads dynamically.
+ return ReflectiveClassBuildItem.builder(
+ "com.jcraft.jsch.KeyPairRSA",
+ "com.jcraft.jsch.KeyPairECDSA",
+ "com.jcraft.jsch.KeyPairEd25519",
+ "com.jcraft.jsch.KeyPairEd448",
+ "com.jcraft.jsch.KeyPairDSA",
+ "com.jcraft.jsch.SignatureRSA",
+ "com.jcraft.jsch.SignatureECDSA",
+ "com.jcraft.jsch.jce.SignatureEd25519")
Review Comment:
Do you mind opening an issue to investigate eventually pushing this to
`quarkus-jsch`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]