eclipse-platform / eclipse-platform/eclipse.platform

Replace or remove org.eclipse.jsch plugins?

Chiusa
#958 29 commenti 2 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

api dependencies
Lingua principale
Java
Stelle
165
Fork
174
Merge medio
2g 10h
PR unite (30g)
21

Descrizione

Suggestion

The JSch library seems to be abandoned, the last uploads to source forge and Maven-Central were in Nov 2018.
There is a fork available at https://github.com/mwiede/jsch, which regularly publishes updates.
Nevertheless I think it would be good to get rid of outdated dependencies especially in security sensitive areas (I'm surprised there is not CVE listed yet).

The only user in the Eclipse SDK seems to be org.eclipse.jsch.core and org.eclipse.jsch.ui, which seem to provide the ability to create password protected SSH connections, but I have not yet analyzed its full usage and capabilities.

Depending on the usages I see two options for

  1. Deprecate this Plugin for removal without replacement
  2. Replace it by an API not bound to a specific third party library and e.g. use MINA SSHD under the hood (which also has proper OSGi metadata so a simplification for SimRel-Orbit). This API would then probably be under another package name (in which ever plugin it is).

Community

  • I understand suggesting an enhancement doesn't mandate anyone to implement it. Other contributors may consider this suggestion, or not, at their own convenience. The most efficient way to get it fixed is that I implement it myself and contribute it back as a good quality patch to the project.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia tracciando l’utilizzo completo di org.eclipse.jsch.core e org.eclipse.jsch.ui, comprese le dichiarazioni delle relative dipendenze JSch e le funzionalità di connessione SSH protetta da password. Confronta le opzioni di rimozione e sostituzione con MINA SSHD; il lavoro è completato quando è stata documentata una direzione e i plugin interessati e i metadati delle dipendenze sono stati aggiornati in modo coerente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
security, tooling
Tipo di issue
Refactoring
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Attiva
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.