zoukankan      html  css  js  c++  java
  • Eclipse的Secure storage

    (大部分参考自Eclipse官方文档)

    在ubuntu下每次打开eclipse时会显示如下的提示框,要求输入Secure storage password,很麻烦

    Secure Storage是什么呢?

    1,什么是Secure Storage

    从Eclipse3.4增加的一种加密机制,可以通过密码方式保护配置文件。

    官方说明:

    secure storage以加密的形式保存数据。在某些操作系统上,它使用你的操作系统帐户信息提供单点登录体验。

    安全存储本身不包含加密的代码(encryption code)。它使用由Java虚拟机和/或操作系统提供的算法。

    2,工作原理

    Let's consider a concrete example of CVS integration. When you specify a password for a CVS connection, the application offers you an option to save your user name and password using secure storage.

    Schema of secure storage encrypting data

    Your CVS password is passed as data to secure storage. Secure storage uses a "master" password to encrypt it and store the encrypted CVS password in a file on disk.

    The master password is obtained from a password provider module. The master passwords are obtained in a "lazy" fashion, only when they are about to be used. Password providers can use different techniques:

    • on Windows, the master password is generated as a random value that is encrypted based on your Windows login information and stored in secure storage;
    • on Macintosh, the master password is initially created as a random value that is stored in the OS keyring;
    • the default password provider simply prompts you for a password;
    • other password providers might be supplied in your application.

    When data is saved with secure storage, the password provider is selected based on the priorities from the list of enabled password providers. Only that provider can be used in future to decrypt the data.

    3,如何去除

    方法一:删除相关目录

    $ rm -rf ~/.eclipse/org.eclipse.equinox.security/

    方法二:eclipse菜单操作

    Window -> Preferences 

    General -> Security -> Secure Storage -> "Contents"

    找到相关的密码,选择 “delete”。

  • 相关阅读:
    paip.提升性能并行多核编程哈的数据结构list,set,map
    paip.网页右键复制菜单限制解除解决方案
    paip.java swt 乱码问题解决
    paip.哈米架构CAO.txt
    paip.提升性能协程“微线程”的使用.
    paip.最省内存的浏览器评测 cah
    paip.云计算以及分布式计算的区别
    paip.提升性能string split
    paip.提升分词准确度常用量词表
    paip.提升中文分词准确度新词识别
  • 原文地址:https://www.cnblogs.com/rakuhin/p/2976829.html
Copyright © 2011-2022 走看看