| Summary: | EGit needs to clear cached passwords if ssh authentication fails | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Technology] EGit | Reporter: | Chris Goldthorpe <cgold> | ||||||||||
| Component: | UI | Assignee: | Matthias Sohn <matthias.sohn> | ||||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||||
| Severity: | blocker | ||||||||||||
| Priority: | P3 | CC: | amj87.iitr, daniel_megert, david_williams, deepakazad, john.arthorne, juergen.pasch, kim.moir, markus.kell.r, matthias.sohn, matthieu.melot, Michael_Rennie, remy.suen, satyam.kandula, srikanth_sankaran | ||||||||||
| Version: | 1.1 | ||||||||||||
| Target Milestone: | 1.2 | ||||||||||||
| Hardware: | PC | ||||||||||||
| OS: | Windows 7 | ||||||||||||
| Whiteboard: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Chris Goldthorpe
Created attachment 202445 [details]
Error dialog
Created attachment 203867 [details]
Screen shot on failed fetch
I updated by eclipse.org password today and I hit this too. Everything I tried to do was just failing with exceptions. See for example this JGitInternalException dialog trying to fetch. There is no indication that this is a password problem, until I looked through the error log and found the tell-tale "Auth fail" indicating a jsch login failure.
Ran into this too after I had to change my SSH password. This has a high potential for locking out people if they repeatedly try to log in with the old password. Together with bug 260530, this causes a lot of unnecessary work. Workaround is to shut down Eclipse and then manually remove the lines in the <userdir>/.eclipse/org.eclipse.equinox.security/secure_storage file. (In reply to comment #4) > Workaround is to shut down Eclipse and then manually remove the lines in the > <userdir>/.eclipse/org.eclipse.equinox.security/secure_storage file. You can also do Preference > General > Security > Secure Storage > Contents > Delete. > You can also do Preference > General > Security > Secure Storage > Contents > > Delete. No, that is the "a lot of unnecessary work" part! The Delete button deletes the *entire* secure storage, see bug 260530. If you have other stored passwords, you have to re-enter them all. As a manual workaround you may clear credentials in Repositories View: - click "Clear credentials" or "Change credentials" on the push or fetch URL (see attached screenshot) Created attachment 204842 [details]
screenshot showing how to clear credentials
Created attachment 204844 [details]
screenshot showing how to clear credentials
(In reply to comment #9) > Created attachment 204844 [details] > screenshot showing how to clear credentials For me the "clear credentials" option didn't work, even with a subsequent Eclipse restart, I had to delete the lines in the file as Markus Keller said. This problem also occurs when working with https. Sigh.. this bug resulted in IBM Bangalore office getting blocked, which meant about 10 committers could not access git.eclipse.org for a while :( Bumping up the severity, as the bug can result in a bunch of people literally getting blocked from git.eclipse.org. Any plans for getting this fixed? *** Bug 363262 has been marked as a duplicate of this bug. *** (In reply to comment #10) > (In reply to comment #9) > > Created attachment 204844 [details] [details] > > screenshot showing how to clear credentials > > For me the "clear credentials" option didn't work, even with a subsequent > Eclipse restart, I had to delete the lines in the file as Markus Keller said. Ditto for me. As folks have observed, this blocks out not only the unfortunate individual, but also whole teams working from the same site. Pushed http://egit.eclipse.org/r/#change,4621 for review to fix failing "Clear credentials" when default port is used which is true for git ssh access at Eclipse.org. fix for clearing credentials was merged as 47085941efb58da44b75f1c624a5eaca875daa09 Pushed patches to fix this for review JGit: http://egit.eclipse.org/r/#change,4676 EGit: http://egit.eclipse.org/r/#change,4677 JGit change merged as 430395a6690afcc8dedc2a8425f731668f071eaa EGit change merged as 41de765e17ac9047e614f57367b0b1e140b1f66b |