Community
Participate
Working Groups
Build Identifier: 20110301-1815 I'm using gitweb with the "smart" http protocol behind an Apache 2 configured with basic http authentication. The problem is that while there are "User" and "Password" fields when configuring remote push and fetch URLs the entered values never get stored or used which makes it impossible to use any remote repository that requires authentication. This happens regardless if that "Use secure storage" checkbox is ticked or not. EGit version is 0.11.3 from your update site. Reproducible: Always Steps to Reproduce: Try to fetch something from a remote repo via the smart http protocol requiring basic authentication.
See also bug #342592 and #338048. The only way to get authentication working is to enter the username and password in the git repository url. Which is very unsecure, as the git repository get's added to commit messages sometimes.
Created attachment 198594 [details] Jgit patch
Created attachment 198595 [details] Egit patch
The patches are probably not great since I know almost nothing about git/egit/jgit but I hope it will put someone in the right direction.
Comment on attachment 198595 [details] Egit patch Eh, now it never ask for the password for secure storage.
[Batch change] Remove passed Target Milestones If anyone on CC list is going to fix/implement this, feel free to assign a new, post-1.3/2.0, target milestone.
proposed patch https://git.eclipse.org/r/#/c/23443/
jgit: https://git.eclipse.org/r/#/c/23441/ merged as 8598fe3d2bdc6e4a7e136a8579fad2545f34f546 egit: https://git.eclipse.org/r/#/c/23643/ merged as bba4e7ff4321b0748d4687e0d40bbf23de5a81d3 https://git.eclipse.org/r/#/c/23443/ merged as b5a2d497ae44fa7ba99a93bb31fc2f0c7c8b7304