From 30d0f1ebb3de0d8b7b5eec8ce055d9b0996d4a21 Mon Sep 17 00:00:00 2001 From: LadyCailin Date: Wed, 28 Oct 2026 22:32:59 +0100 Subject: [PATCH] Update embedded SSH client for modern authentication Replace the unmaintained JSch dependency so RSA identities can authenticate using SHA-2 signatures. Preserve its version-specific implementations when shading so the bundled deployment client retains the supported algorithms. --- pom.xml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index e6e1a2666..c963bb7e3 100644 --- a/pom.xml +++ b/pom.xml @@ -284,9 +284,9 @@ - com.jcraft + com.github.mwiede jsch - 0.1.55 + 2.28.8 @@ -513,6 +513,7 @@ + true mojang ../bukkit.jar CommandHelper/bukkit.jar @@ -524,7 +525,7 @@ org.apache.maven.plugins maven-shade-plugin - 3.5.2 + 3.6.2 ShadedBundle @@ -550,7 +551,7 @@ org.yaml:snakeyaml:jar:* com.googlecode.json-simple:json-simple:jar:* org.mindrot:jBCrypt:jar:* - com.jcraft:jsch:jar:* + com.github.mwiede:jsch:jar:* org.apache.commons:commons-io:jar:* org.xerial:sqlite-jdbc:jar:* net.sourceforge.jchardet:jchardet:jar:* @@ -611,6 +612,12 @@ com.jcraft.jsch com.laytonsmith.libs.com.jcraft.jsch + + + ^META-INF/versions/([0-9]+)/com/jcraft/jsch/ + META-INF/versions/$1/com/laytonsmith/libs/com/jcraft/jsch/ + true + org.apache.commons.io com.laytonsmith.libs.org.apache.commons.io