Is it possible to disable completely the secure storage password of Eclipse? I am running Eclipse Helios on Windows 7.
Windows->preferences->then type "secure storage"
In the Contents tab, select [Default Secure Storage].
Click Delete.
Let Eclipse restart.
To disable the master password prompt you have to specifiy a file containing the password with -eclipse.password, see Eclipse SDK Help and Bug 241223.
The complete procedure is as follows (this is on Linux, on Windows it should work as well if you change the paths):
Exit Eclipse
Delete the directory ~/.eclipse/org.eclipse.equinox.security
Create a text file containing your master password, e.g. echo "secret" > ~/.eclipse/master
Add to the very top of eclipse.ini, found in the Eclipse program directory (as two lines, don't combine into one)
-eclipse.password
/home/user/.eclipse/master
Start Eclipse again.
Here's my solution in Nano.2 on Windows, and it's nice and easy and seems to be working:
Window -> Preferences -> General -> Security -> Security Storage
Password tab: in the Master password providers section, uncheck Windows Integration and UI Prompt
I also tried deleting the [Default Secure Storage] in the Contents tab like some other answers suggested, but this is not needed and it gets recreated upon restart anyways.
You can now just delete it, assuming you don't need it for anything. Go to Window > Preferences > General > Security > Secure Storage and then click on the 'Contents' tab. If you click the Delete button and then restart Eclipse, you will no longer see the pop-up.
From what I understand, Secure Storage is mostly used with repositories like Git and SVN. In my case, I don't need it for my home computer. I use Git at work, but even so, I have never seen the Secure Storage pop up before.
While opening the Eclipse or importing the project, you might get sometimes error called Salt must be 8 bytes long. This is because of conflicts between Java and OS key store.
Either of following are the solutions of this problem.
► Solution 1: Remove file <USERHOME>.eclipse\org.eclipse.equinox.security\secure_
storage from your system. After that please restart machine and try to use Eclipse***.
► Solution 2: Uncheck the Windows Integration (64 bit) and UI Prompt from Password tab of Windows -> Preferences -> General -> Security -> Secure Storage. After that please restart machine and try to use Eclipse.
► Solution 3: Delete [Default Secure Storage] from Contents tab of Windows -> Preferences -> General -> Security -> Secure Storage. After that please restart machine and
try to use Eclipse.
On Ubuntu 11.10 with Eclipse Indigo installed the folder org.eclipse.equinox.security is hidden in the /root/.eclipse folder.
Do a
sudo su
cd /root/.eclipse
mv org.eclipse.equinox.security org.eclipse.equinox.security.backup
Then (re)start eclipse and the password will be gone.
In windows 7 enerprise 64 bits + java 8
In eclipse go to :
Preferences
--> General
-> security
-> secure Storage.
In master Password providers UNCKECK Windows integration (64 bits)
Then go to General -- network connections -- proxy
And edit your proxy settings.
A wizard appear to create Secure Storage
Related
I've been using for the last 6 years JCraft's SFTP plugin.
It's quite simple to use and the only problem i ever had with it is that it doesn't know how to delete recursivly files and folders (it tries to delete folders before files).
Today i tried to update eclipse to Luna and I can't seem to install this plugin anymore.
I get the following error:
An error occurred while installing the items
session context was:(profile=epp.package.standard, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]com.jcraft.eclipse.team.sftp 0.0.4, action=).
Failed to prepare partial IU: [R]com.jcraft.eclipse.team.sftp 0.0.4.
Any ideas on how to solve this ?
Thanks
From the error message "Failed to prepare partial IU" I found this thread: https://code.google.com/p/veloeclipse/issues/detail?id=47
The suggested workaround is to install the "Eclipse 2.0 Style Plugin Support", which adds support for "running old Eclipse plugins that are not proper OSGi bundles."
You can use Remote System Explorer (RSE) to replace the sftp plugin. It has sftp capabilities (use ssh connection) and allows you to synchronize files between local and server storage
I too struggled to get JCraft installed and then I discovered that Remote System Explorer (RSE) comes already installed in Eclipse Luna in the Java EE version but it may be baked into other versions of Eclipse as well. All I had to do was navigate to Window > Open Perspective > Other... > Remote System Explorer.
Once in the Remote Systems perspective, you will see links to your local files. To create a SSH connection to a remote server (even if it is in the same location as you but requires SSH protocol), just right-click anywhere in that Remote Systems tab and choose New > Connection and then under the General folder, select SSH Only. Fill out the host name or IP address.
If successful, the server will appear as a folder under the Local one. Attempt to navigate below the server's 'SFTP Files' folder and you will be prompted for your user ID and password on that remote server. Say yes to the prompt about trusting the certificate and you are good to go. Your remote files will appear in the file explorer type of GUI in that Remote Systems perspective.
Switch back to your regular local environment in any other perspective in the upper right corner of the Eclipse window just as you normally would.
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"
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.
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.
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:
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
I am using STS ( Spring Tool Suite ,Version: 3.9.1.RELEASE,Build Id: 201710111105
Platform: Eclipse Oxygen.1a (4.7.1a))
and I resolved it by going to
windows->Preferences->General->Security-Secure Storage
you can see password tab there might be 2 options under master password providers:
windows Integration(64bit) with priority as 5
and another one UI Prompt,
So just uncheck Windows Integration (64bit) checkbox
and click Apply and Close button try to access your git or tool, it will ask you for master password for storage there on it will work.
I am using STS ( Spring Tool Suite ,Version: 3.9.1.RELEASE,Build Id: 201710111105
Platform: Eclipse Oxygen.1a (4.7.1a))
and I resolved it by going to windows->Preferences->General->Security-Secure Storage you can see password tab there might be 2 options under master password providers:-
windows Integration(64bit) with priority as 5
and another one UI Prompt, just uncheck Windows Integration (64bit) checkbox and click Apply and Close button try to access your git or tool , it will ask you for maser password for storage there on it will work.
I'm using Subclipse to connect to an SVN repository via svn+ssh and a private key (the server has the paired public key). The interface is SVNKit (Pure Java). After I enter the svn+ssh://repository... address I am prompted for credentials. I specify the username and private key file (I did not set a passphrase so it is left blank) and confirm. The window pops up again and this goes on indefinitely. No console message is provided.
Note 1: Marking "Save information" seems to have no effect. If there is a cache I'm supposed to be deleting this could help. I already deleted the keyring file in eclipse.
Note 2: I wasn't sure if the private key should be in SSH2 or OpenSSH formats, but I tried both and there is no difference.
Note 3: I cannot find org.tmatesoft.svn folder under plugins in eclipse. I installed SVNKit from the eclipse update site http://eclipse.svnkit.com/1.7.x.
Specifications:
Windows 7 64 bit,
eclipse 4.2.1 64 bit,
Subclipse 1.8.16,
Subversion client adapter 1.8.3,
SVNKit client adapter 1.7.5.1.
If there is any other information or log file I should provide I would be happy to do so.
I had a similar problem and figured out that I tried to use the private key generated by puttygen, but SVNKit needs an OpenSSH key.
My solution was:
Start PuTTY Key Generator
Load private key
Conversions \Export OpenSSH key
Select openSSH Key in Eclipse
Eventually it turned out that there was a problem with they key. It was encrypted with DSA instead of RSA and the server wasn't set up for it.
Why I got no message about a bad key pair is beyond me, but with a correct key it worked.
1-
under Window => Preferences SVN (or team => svn depending on your version), make sure you selected a library available in yourSystem... for example SVNKIT(Pure Java) .... instead of JAvaHL... which often missing
2-
under Window => Preferences, search for "Secure Storage" and setup a master password (usually clicking on Change Passowrd...). This isn't your svn password but for some reasons i ignore, if this master password is not set, Eclipse won't be able to store and retrieve your svn password when you click the save password..
I fixed this by generating a SSH key in PEM format
ssh-keygen -m pem
You can enable SVNKIT logging by creating a .options file in the eclipse home directory. The file should contain the following text:
org.tmatesoft.svnkit/debug=true
org.tmatesoft.svnkit/debug/error=true
org.tmatesoft.svnkit/debug/warning=true
org.tmatesoft.svnkit/debug/info=true
org.tmatesoft.svnkit/debug/fine=true
org.tmatesoft.svnkit/debug/trace=true
Then run eclipse with the -debug command line argument
I would not worry about Note 3. If you open Eclipse Preferences and go to Team > SVN and you can select SVNKit, then it is installed and available. On my system, it is a JAR in the plugins folder.
SVNKit is in charge of the SSH process, so you could visit their forums and email support#svnkit.com for information and ideas.
My recollection is that they normally cache the information for the duration of the Eclipse session, so not sure what is going on. If you keep responding to all the prompts does everything work? If not, then maybe you are being prompted because it cannot successfully use your credentials?
They have a Troubleshooting section in their wiki: http://wiki.svnkit.com/Troubleshooting
I'm trying to add this repository to Eclipse (Indigo):-
http://download.eclipse.org/releases/indigo
Seems okay when checked in a browser, but I keep getting "unable to connect" in Eclipse, and when I check the URL Eclipse is apparently looking for:-
http://download.eclipse.org/releases/indigo/content.xml
in a browser, I get a "404 not found". The locations for previous releases (e.g. galileo) don't seem to be there either. Have they moved? Am I misunderstanding something?
I tried some of the suggestions in this previous thread:-
Eclipse updates not working
But they don't seem to work (and I'm not using a proxy anyway).
Hemdoar
This worked for me:
Open terminal. Navigate to Eclipse folder.
sudo nano eclipse.ini
at the bottom, add this line in:
-Djava.net.preferIPv4Stack = true
Then ctrl+O to save, ctrl+X to close (it says at bottom). IPv4/IPv6 problems? Solved.
Then delete the cache VonC said to:
<eclipse>/p2/org.eclipse.equinox.p2.repository/cache
(This can be done using "sudo rmdir /p2/org.eclipse.equinox.p2.repository/cache" or by typing "sudo nautilus" into terminal, to open a root-priveleged filesystem browser, than navigating to, selecting the folder, and pressing the delete key). Then restart eclipse, goto Help>install new software>available software sites
Make sure the repos you want (such as "http://download.eclipse.org/egit/updates/") has a "/" right at the end. If it doesn't, delete that entry, and create a new, identical one which does, because Eclipse won't just let you edit it and click ok. Then click ok, and from the combo box choose e.g. the egit link, and lo, it will find it.
Still not working? Window>show view>internal web browser; check it can access internet. Hope that helps!
Credit to:
http://drfits.com/2011/11/13/eclipse-contacting-software-sites-has-encountered-a-problem/
VonC Sep 14 '11 at 6:03
I used VonC's answer to good effect. I also uninstalled a program called webroot. I think this had something to do with it because other programs were also having network problems.
This is because windows IPV6 issue. Try adding the following VM option in the eclipse.ini
-Djava.net.preferIPv4Stack=true
Can you connect to internet at all through Eclipse?
Open the internal webbrowser. In Eclipse: Window -> show view -> Other -> General: Internal web browser.
Look up any normal adress, is it working?
Can you connect to another update site? Try for example Eclipse Emma: http://update.eclemma.org/ Do you see anything there?
What are your proxy preferences? Go to Window -> preferences -> General: Network connections.
The active provider:
Specifies the settings profile to be used when opening connections. Choosing the Direct provider causes all the connections to be opened without the use of a proxy server. Selecting Manual causes settings defined in Eclipse to be used. On some platforms there is also a Native provider available, selecting this one causes settings that were discovered in the OS to be used.
If internet is working fine outside of Eclipse, try changing to Native. After that, try Direct.
I have encountered problems where an update site would not load, then I had to remove it and add it again. This forces Eclipse to reread the contents of the site even if it has a cached copy. So, if you still get no connection to the indigo update site, but everything else is working, try that. Go to Window -> Preferences -> Install/update: Available Software sites. Then remove and add the indigo site. Just remember to copy the adress so you can add it again.
As suggested in a comment below by #lostiniceland, this is a simpler way to achieve the above:
Goto Preferences -> Install Update -> Available Software Sites => select the entry and click the "Reload" button to the right. This is sometimes also helpful when you have a local updatesite for testing custom plugins
first resolve proxy conflicts and if then too eclipse is not getting connected to internet *turnoff your firewall/antiviru*s and try again
To resolve proxy conflicts:Go to windows->prefernces-general tab->network settings
if you dont use proxy settings, cgange native to direct
if you use proxy, chenge native to manual and fill details of proxy for http and https by pressing 'edit' and clear SOCKS tab by pressing 'clear'
check if your SOCK is disabled on operating system too. or doing it open to 'Internet options' dailog box. Go to connections and press lan connection. press 'advanced' button ans clear the textboxes in front of 'socks' and uncheck the msg saying 'use same address for other network protocols'
I did this and worked for me
If you are using Fiddler2 (or any other web sniffer/debugger tool), it may be your problem, as it acts as a local proxy.
Sometimes, even if its not running, I find myself obligated to start it and disable traffic capture.
Hope that helps!
I'm using the latest version of Eclipse Galileo and I have to access the web from behind a proxy. I see where I can set the internet settings to manual and specify a proxy but there's no way to specify my authentication credentials that I can see and it doesn't prompt me for them either. So I'm not able to hit any plugin update sites etc... Does anyone else have this issue or know a good workaround? Or is there a better version of Eclipse to use?
In Eclipse, go to Window → Preferences → General → Network Connections. In the Active Provider combo box, choose "Manual". In the proxy entries table, for each entry click "Edit..." and supply your proxy host, port, username and password details.
If you have still problems, try deactivating ("Clear") SOCKS
see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=281384
"I believe the reason for this is because it uses the SOCKS proxy
instead of the HTTP proxy if SOCKS is configured."
Here is the workaround:
In eclipse.ini write the following:
-vmargs
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors= org.eclipse.ecf.provider.filetransfer.httpclient
-Dhttp.proxyHost=*myproxyhost*
-Dhttp.proxyPort=*myproxyport*
-Dhttp.proxyUser=*proxy username*
-Dhttp.proxyPassword=*proxy password*
-Dhttp.nonProxyHosts=localhost|127.0.0.1
After starting eclipse verify, that you use the Manual proxy method.
HTH
Window → Preferences → General → Network Connections
then under "Proxy ByPass" click "Add Host" and enter the link from which you will be getting your third-party plugin;
that's it bingo, now it should get the plugin no problem.
I struggle with this constantly, as it seems it is a different solution every time a new version of Eclipse is released. Here is a solution that doesn't involve displaying your password in the .ini file.
In Eclipse go to Window > Preferences > General > security Secure Storage
In the Password tab click on the "Change Password" button
Fill in the security questions. Don't make them to hard. Finish
Now go to Window > Preferences > General > Network connections. Choose "Manual" from drop down. Double click "HTTP" option and enter the Host, Port, Username and Password. Finish
Now go to Window > Preferences > General > security Secure Storage
In the Password tab click on the "Recover Password" button
Fill in the security questions. Finish
Eclipse now stores your username and password
This sometime works, sometime no.
I have installed 1 Eclipse - works.
Installed second - doesn't work.
And I cann't figure why!
After some time may be found a solution.
Need delete all setting for proxy (included credentials).
And re-insert for new.
After this for me getting work.
Try to fill only the HTTP schema
Add the following line at the end of your eclipse.ini file
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4
For eclipse Mar1 : -
Window > Preferences > General > Network connections. Choose "Manual" from drop down. Double click "HTTP" option and enter the Host, Port, Username and Password. Apply and Finish,,it will work as expected...