Skip to content

Make org.eclipse.jsch.ui compatible with modern JSch versions#2580

Open
ptziegler wants to merge 2 commits intoeclipse-platform:masterfrom
ptziegler:jsch
Open

Make org.eclipse.jsch.ui compatible with modern JSch versions#2580
ptziegler wants to merge 2 commits intoeclipse-platform:masterfrom
ptziegler:jsch

Conversation

@ptziegler
Copy link
Contributor

This is a continuation of 07f86ab. On modern JSch versions, the call to setPassphrase(...) will always throw an UnsupportedOperationException.

Instead of using this deprecated method (which is already deprecated in JSch 0.1.55), the pass-phrase should be passed as an additional argument when calling writePrivateKey(...).

To reproduce: Run the Eclipse IDE with e.g. com.github.mwiede.jsch in version 2.27.7. Then, open the SSH2 preference page, create a new RSA-key and then save the private key.

ptziegler and others added 2 commits March 19, 2026 12:25
This is a continuation of 07f86ab. On
modern JSch versions, the call to `setPassphrase(...)` will always throw
an `UnsupportedOperationException`.

Instead of using this deprecated method (which is already deprecated in
JSch 0.1.55), the pass-phrase should be passed as an additional argument
when calling `writePrivateKey(...)`.

To reproduce: Run the Eclipse IDE with e.g. `com.github.mwiede.jsch` in
version 2.27.7. Then, open the SSH2 preference page, create a new
RSA-key and then save the private key.
@eclipse-platform-bot
Copy link
Contributor

This pull request changes some projects for the first time in this development cycle.
Therefore the following files need a version increment:

team/bundles/org.eclipse.jsch.ui/META-INF/MANIFEST.MF

An additional commit containing all the necessary changes was pushed to the top of this PR's branch. To obtain these changes (for example if you want to push more changes) either fetch from your fork or apply the git patch.

Git patch
From 6f26314892e06cdebdfe41bba0eb37abed2e8d85 Mon Sep 17 00:00:00 2001
From: Eclipse Platform Bot <platform-bot@eclipse.org>
Date: Thu, 19 Mar 2026 11:35:00 +0000
Subject: [PATCH] Version bump(s) for 4.40 stream


diff --git a/team/bundles/org.eclipse.jsch.ui/META-INF/MANIFEST.MF b/team/bundles/org.eclipse.jsch.ui/META-INF/MANIFEST.MF
index 3b074de450..ba2364abd6 100644
--- a/team/bundles/org.eclipse.jsch.ui/META-INF/MANIFEST.MF
+++ b/team/bundles/org.eclipse.jsch.ui/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: %pluginName
 Bundle-SymbolicName: org.eclipse.jsch.ui;singleton:=true
-Bundle-Version: 1.6.0.qualifier
+Bundle-Version: 1.6.100.qualifier
 Bundle-Activator: org.eclipse.jsch.internal.ui.JSchUIPlugin
 Bundle-Vendor: %providerName
 Bundle-Localization: plugin
-- 
2.53.0

Further information are available in Common Build Issues - Missing version increments.

@github-actions
Copy link
Contributor

Test Results

    54 files  ±0      54 suites  ±0   35m 41s ⏱️ +33s
 4 546 tests ±0   4 523 ✅ +1   23 💤 ±0  0 ❌  - 1 
12 234 runs  ±0  12 075 ✅ +1  159 💤 ±0  0 ❌  - 1 

Results for commit 38bc73c. ± Comparison against base commit 519a3b0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants