Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Storing credentials failed in fetch using EGIT

Tags:

egit

Initially I had the same problem as described in egit - not authorized.

First, I successfully cloned the repository from Bitbucket.

Then, I tried to fetch and got the error “not authorized”

However, when I used the advice and clicked “Change Credentials” I received the following error:

"Storing credentials failed

No password provided"

like image 607
Alex Avatar asked Apr 29 '13 17:04

Alex


4 Answers

I had this same problem after updating egit. This advice from another forum worked:

Open up Preferences > General > Security > Secure Storage. Select "OSX Keystore Integration", then click "Change Password..."

If you see a dialog saying "An error occurred while decrypting stored values... Do you want to cancel password change?" Click "No."

This will reset the secure storage master password in the OSX Keystore. You will be asked if you want to provide additional information for password recovery, which is optional.

like image 78
dustin.schultz Avatar answered Nov 01 '22 08:11

dustin.schultz


The accepted answer didn't work for me. There is another solution - in Eclipse simply navigate to:

Preferences > General > Security > Secure Storage > Contents

and delete everything.

like image 25
Marcin W Avatar answered Nov 01 '22 08:11

Marcin W


If you are running Eclipse on OS X, the other answers may not work. If you change the contents of the Eclipse bundle (either manually or by updating some core features or plugins), the application signature will no longer match and the OSX Keystore Integration will no longer be usable. See Bug 391455 for more information.

Downloading a fresh copy of Eclipse will solve this problem, but as a workaround you can also disable OS X Keystore Integration and use Eclipse's built-in one instead: Disable OS X Keystore Integration

like image 10
Pyves Avatar answered Nov 01 '22 08:11

Pyves


I was having this problem with STS 4.0 where even after saving credential in secure storage, any git pull or PUSH activity was asking for credentials every time.

I followed below steps to resolve the issue

1.Navigate to Preferences > General > Security > Secure Storage
2. click on content tab and expand which has git credentials.
3. Now delete the selected git credential and close the screen.
4. When next prompt of credentials pops up, provide your credentials and check the box store to secure storage. It will not ask for password again.
5. I have also made a video to proof it. refer the video link here

like image 3
Vikash kumar Yadav Avatar answered Nov 01 '22 07:11

Vikash kumar Yadav