Giter Club home page Giter Club logo

Comments (6)

jonbartels avatar jonbartels commented on June 21, 2024

Fortunately JSCH only appears in two SFTP classes in the file connector.

This means that changing JSch implementations can be isolated to just the file connector. It can be built as its own extension, deployed, tested, etc.

Whatever internal tickets, tasks, and testing were done for #4080 which was part of MC 4.1.0 can be repeated using the mweide JSch fork. @joaryche were the JSch updates for 4.1.0 just simply swapping JARs or was there more to it?

from connect.

joaryche avatar joaryche commented on June 21, 2024

I created a docker container which uses an image (atmoz/sftp) for SSH/SFTP. then ran my connector tests against the container.

from connect.

tonygermano avatar tonygermano commented on June 21, 2024

@lmillergithub Is there a reason that Jsch is in server-lib instead of with the File Reader/Writer extensions?

from connect.

jonbartels avatar jonbartels commented on June 21, 2024

The user "Joe Clark" did an experiment in Slack swapping in the mweide JAR. Joe posted some errors:
image

This is actually GOOD.

  1. The library appears to "just work"
  2. See how the mweide errors show more detail about the problem? This additional detail is an improvement over old jsch because it shows information about keys

Joe has not done a complete, successful experiment but I think Joe has shown that the mweide JAR has merit.

https://mirthconnect.slack.com/archives/C02SW0K4D/p1675982566199079?thread_ts=1675722960.061319&cid=C02SW0K4D

from connect.

jonbartels avatar jonbartels commented on June 21, 2024

https://github.com/mwiede/jsch/releases/tag/jsch-0.2.8 just released and mwiede/jsch#287 would be helpful in Mirth for cases where connections fail due to algo negotiation.

from connect.

jonbartels avatar jonbartels commented on June 21, 2024

https://github.com/jonbartels/connect/tree/5608-update-jsch-impl-to-mweide

Have not tested yet but the change seems as simple as swapping JARs. I intend to follow John Andersons testing strategy.

I could not find any other references where jsch was explicitly loaded.

I kind of wanted to add a lib directory specific to the file connector but that seemed like a bigger change to the project layout and out of scope.

from connect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.