Eclipse 安全存储
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4223059/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Eclipse secure storage
提问by yannisf
Is it possible to disable completely the secure storage password of Eclipse? I am running Eclipse Helios on Windows 7.
是否可以完全禁用 Eclipse 的安全存储密码?我在 Windows 7 上运行 Eclipse Helios。
回答by exo_cw
To disable the master password prompt you have to specifiy a file containing the password with -eclipse.password
, see Eclipse SDK Helpand Bug 241223.
要禁用主密码提示,您必须指定一个包含密码的文件-eclipse.password
,请参阅Eclipse SDK 帮助和错误 241223。
The complete procedure is as follows (this is on Linux, on Windows it should work as well if you change the paths):
完整的过程如下(这是在 Linux 上,在 Windows 上,如果您更改路径,它应该也能正常工作):
- 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.
- 退出 Eclipse
- 删除目录 ~/.eclipse/org.eclipse.equinox.security
- 创建一个包含您的主密码的文本文件,例如
echo "secret" > ~/.eclipse/master
添加到eclipse.ini的最上面,在Eclipse程序目录中找到(两行,不要合二为一)
-eclipse.password /home/user/.eclipse/master
- 再次启动 Eclipse。
回答by User1
- Windows->preferences->then type "secure storage"
- In the Contents tab, select [Default Secure Storage].
- Click Delete.
- Let Eclipse restart.
- Windows->首选项->然后输入“安全存储”
- 在内容选项卡中,选择 [默认安全存储]。
- 单击删除。
- 让 Eclipse 重新启动。
回答by Andrew
Here's my solution in Nano.2 on Windows, and it's nice and easy and seems to be working:
这是我在 Windows 上的 Nano.2 中的解决方案,它既简单又好用,而且似乎正在运行:
- Window -> Preferences -> General -> Security -> Security Storage
- Password tab: in the Master password providers section, uncheck Windows Integration and UI Prompt
- 窗口 -> 首选项 -> 常规 -> 安全 -> 安全存储
- 密码选项卡:在主密码提供程序部分,取消选中 Windows 集成和 UI 提示
I also tried deleting the [Default Secure Storage] in the Contents tab like some other answers suggested, but this is not neededand it gets recreated upon restart anyways.
我还尝试像建议的其他一些答案一样删除“内容”选项卡中的 [默认安全存储],但这不是必需的,并且无论如何都会在重新启动时重新创建。
回答by MattC
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.
你现在可以删除它,假设你不需要它做任何事情。转到“窗口”>“首选项”>“常规”>“安全”>“安全存储”,然后单击“内容”选项卡。如果单击“删除”按钮,然后重新启动 Eclipse,您将不再看到弹出窗口。
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.
据我了解,安全存储主要用于 Git 和 SVN 等存储库。就我而言,我的家用电脑不需要它。我在工作中使用 Git,但即便如此,我之前从未见过安全存储弹出。
回答by Manish Kumar
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.
在打开 Eclipse 或导入项目时,您有时可能会收到名为Salt must be 8 bytes long 的错误。这是因为 Java 和 OS 密钥库之间存在冲突。
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***.
? 解决方案 1:从系统中删除文件 <USERHOME>.eclipse\org.eclipse.equinox.security\secure_ storage。之后请重启机器并尝试使用 Eclipse***。
? Solution 2: Uncheck the Windows Integration (64 bit)and UI Promptfrom Password tab of Windows -> Preferences -> General -> Security -> Secure Storage. After that please restart machine and try to use Eclipse.
? 解决方案 2:从 Windows 的密码选项卡中取消选中 Windows 集成(64 位)和UI 提示-> 首选项 -> 常规 -> 安全性 -> 安全存储。之后请重新启动机器并尝试使用 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.
? 解决方案 3:从 Windows 的目录选项卡 -> 首选项 -> 常规 -> 安全性 -> 安全存储中删除[默认安全存储]。之后请重新启动机器并尝试使用 Eclipse。
回答by GRR
In windows 7 enerprise 64 bits + java 8 In eclipse go to :
在 windows 7 enerprise 64 bits + java 8 在 eclipse 中去:
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
然后转到常规-网络连接-代理并编辑您的代理设置。出现一个创建安全存储的向导
回答by steros
On Ubuntu 11.10 with Eclipse Indigo installed the folder org.eclipse.equinox.security is hidden in the /root/.eclipse folder. Do a
在安装了 Eclipse Indigo 的 Ubuntu 11.10 上,文件夹 org.eclipse.equinox.security 隐藏在 /root/.eclipse 文件夹中。做一个
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.
然后(重新)启动eclipse,密码就会消失。