Bug 241223 - Make the secure storage password optional
Summary: Make the secure storage password optional
Status: RESOLVED DUPLICATE of bug 234509
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Security (show other bugs)
Version: 3.4   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Security Inbox CLA
QA Contact:
URL: http://youtube.com/watch?v=FxOIebkmrqs
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-17 06:39 EDT by Luigi R. Viggiano CLA
Modified: 2008-07-29 02:06 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luigi R. Viggiano CLA 2008-07-17 06:39:41 EDT
Build ID: I20080617-2000

Steps To Reproduce:
Secure storage is very annoying. Before there was no need to specify the master password, and it was pretty fine.
I hate this feature, but I understand somepeople wanting a more secure approach, but this should be optional. 

More information:
Comment 1 Thomas Watson CLA 2008-07-17 09:03:14 EDT
This can be done with Linux fragment to secure storage to integrate with the OS.

*** This bug has been marked as a duplicate of bug 234509 ***
Comment 2 Oleg Besedin CLA 2008-07-17 09:21:04 EDT
Another alternative is to run Eclipse with "-eclipse.password <path_to_password_file>" where contents of the file is used as a master password.
Comment 3 Axel Mueller CLA 2008-07-24 04:21:50 EDT
>in reply to comment #1
I do not have Gnome installed. I am using KDE.

>in reply to comment #2
>Another alternative is to run Eclipse with "-eclipse.password
><path_to_password_file>" where contents of the file is used as a master
>password.
This seems not to work.
- I created a file ~/.eclipse/master with the entry "masterpassword" (without quotes)
- I deleted the directory ~/.eclipse/org.eclipse.equinox.security
- i modified my eclipse.ini and added -eclipse.password /home/amueller/.eclipse/master (one line at the beginning)
- I started Eclipse
- I was asked to enter my CVS password
- I entered the password and marked "save password"
- I closed Eclipse and restarted it
PENG! I was asked to enter the master password.

I tried the above several times and it never worked.

Here is the ouput from the logfile:
java.version=1.6.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=de_DE
Framework arguments:  -showlocation -eclipse.password /home/amueller/.eclipse/master
Command-line arguments:  -os linux -ws gtk -arch x86 -showlocation -eclipse.password /home/amueller/.eclipse/master

!ENTRY org.eclipse.team.cvs.core 4 0 2008-07-24 10:12:24.025
!MESSAGE No password provided.
!STACK 0
org.eclipse.equinox.security.storage.StorageException: No password provided.


Any help would be appreciated.
Comment 4 Luigi R. Viggiano CLA 2008-07-24 04:29:45 EDT
> I tried the above several times and it never worked.
Same did I with same results: it doesn't work.

Luigi.
Comment 5 Oleg Besedin CLA 2008-07-28 11:22:04 EDT
(In reply to comment #3)
> - i modified my eclipse.ini and added -eclipse.password
> /home/amueller/.eclipse/master (one line at the beginning)

I think it should be two lines:
-eclipse.password
/home/amueller/.eclipse/master

To reset things:
close Eclipse process(es) [secure storage gets saved on shutdown]
delete the secure storage file [so that stored passwords are removed]
run Eclipse with this option

To check that the "-eclipse.password" property is set, find it in the Help -> About Eclipse SDK -> Configuration Details.
Comment 6 Axel Mueller CLA 2008-07-29 02:06:12 EDT
(In reply to comment #5)
Thank you! It worked that way.

>I think it should be two lines:
>-eclipse.password
>/home/amueller/.eclipse/master
That was the crucial point.