Giter Club home page Giter Club logo

Comments (7)

vrosu avatar vrosu commented on September 18, 2024

In short, not on the short term, but I am aware that at least one other company needed this, and they implemented the key based authentication on their own.
GitBackup supports proxy (albeit a crude implementation) - sure you can't do it in that way?

from thingworx-gitbackup-extension.

vrosu avatar vrosu commented on September 18, 2024

@TG-JC any luck on testing the HTTP proxy support?

from thingworx-gitbackup-extension.

vrosu avatar vrosu commented on September 18, 2024

Closing the question as of now due to lack of feedback.
Please feel free to re-open in future if needed.

from thingworx-gitbackup-extension.

ThibaultGeorges avatar ThibaultGeorges commented on September 18, 2024

Hello Vladimir,

As expected, it does not work. This result is compliant with tests I did in the past with command line git.
image

Here is configuration - I wiped out my enterprise login/password
image
image

Result is the same if I remove user:password string from proxy settings.

Please note that GitBackup is on the internet and tries to access an on-prem bitbucket. I need to cross an enterprise reverse proxy. When trying to access this ressource manually through a browser, I have to give my password twice: first time at reverse proxy level (NTLM, or kind of), then at Bitbucket level (through ADFS, with redirection). SSH was the key to overcome this complexity.

from thingworx-gitbackup-extension.

ThibaultGeorges avatar ThibaultGeorges commented on September 18, 2024

Test was done with 443 port, not 433

from thingworx-gitbackup-extension.

vrosu avatar vrosu commented on September 18, 2024

I understand. Modifying the extension to allow authentication through SSH keys would need to involve this:

  1. Placing the SSH key in the subfolder corresponding to your GitThing (eg: GitRepository/mygitthingsubfolder/key.ssh). Ideally a parameter would allow you to define
  2. Implementing the SSH-key based authentication in the Java GitBackup template - I found this as an example https://www.codeaffine.com/2014/12/09/jgit-authentication/

I do not have a timeline to implement this, but I can spend time for quick helper meetings if you or somebody would be willing to work on this (it requires Eclipse+Java knowledge).
Note: Ideally (but not mandatory), the end result should result in an update to the extension so that everyone can benefit, considering the open-source mentality around it.

from thingworx-gitbackup-extension.

ThibaultGeorges avatar ThibaultGeorges commented on September 18, 2024

Contributing back to community is not at all an issue.
The issue is that our team doesn't have know-how to develop JAVA extension.
Since Thingworx should be a low code platform, we do not invest in JAVA developers :(

from thingworx-gitbackup-extension.

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.