Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too many authentication pop-ups #230

Open
ewuerger opened this issue Oct 9, 2023 · 4 comments
Open

Too many authentication pop-ups #230

ewuerger opened this issue Oct 9, 2023 · 4 comments
Labels
capella Issues related to the Capella tool

Comments

@ewuerger
Copy link
Member

ewuerger commented Oct 9, 2023

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
Copy link
Member

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
Copy link
Member

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

@MoritzWeber0 MoritzWeber0 self-assigned this Oct 24, 2023
@MoritzWeber0
Copy link
Member

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 MoritzWeber0 removed their assignment Oct 24, 2023
@MoritzWeber0
Copy link
Member

I found a potential workaround:

  • Create a file /home/techuser/.eclipse/master and write a randomly generated password to it.
  • Add the following lines to the capella.ini:
     -eclipse.password
     /home/techuser/.eclipse/master
    
  • Store the secure storage file in a tempfs directory (it's only stored in memory, not on the disk).
  • Users will be able to use the "Storage in secure storage" checkbox. An additional password is no longer needed.
  • After session termination, the password is no longer available. In the next session, the password has to be entered again.

@MoritzWeber0 MoritzWeber0 transferred this issue from DSD-DBS/capella-collab-manager Feb 19, 2024
@MoritzWeber0 MoritzWeber0 moved this from To Do to Backlog in Capella Collaboration Roadmap 🚀 May 21, 2024
@MoritzWeber0 MoritzWeber0 added the capella Issues related to the Capella tool label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
capella Issues related to the Capella tool
Projects
Development

No branches or pull requests

2 participants