DSD-DBS / capella-dockerimages

Collection of Docker images for MBSE. Most images are based on Eclipse Capella.
https://dsd-dbs.github.io/capella-dockerimages/
Apache License 2.0
15 stars 5 forks source link

Too many authentication pop-ups #230

Open ewuerger opened 11 months ago

ewuerger commented 11 months ago

When trying to do git things, the user is haunted by authentication. Users rarely use the credential store, since another password is required. The amount should be decreased, ideally to only once per model repository during session lifetime.

MoritzWeber0 commented 11 months ago

We should have a look if EGit respects Git credential helpers. We should be able to use the cache credential helper then. I don't want to have passwords stored on the disk, this is a potential security risk.

MoritzWeber0 commented 11 months ago

I've removed the security label because it is intended for security issues that require immediate attention.

MoritzWeber0 commented 11 months ago

Unfortunately, EGit doesn't respect Git credential helpers.

There is an open bug / feature request in the Eclipse Bugzilla: https://bugs.eclipse.org/bugs/show_bug.cgi?id=441198 A possible workaround is the implementation of a custom CredentialsProvider: https://stackoverflow.com/questions/23173250/does-jgit-support-git-credentials

MoritzWeber0 commented 11 months ago

I found a potential workaround: