Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 324397

Summary: ssh auth by public key first tries to auth by password anyway
Product: [Technology] Subversive Reporter: Al <alexander.kshevetskiy>
Component: CoreAssignee: Igor Burilo <igor.burilo>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: a.gurov, kentarou, ob1.eclipse, tomasz.zarna
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Al CLA 2010-09-03 07:03:42 EDT
What steps will reproduce the problem?
1. 
2. 
3. 


-- Error Details --
Date: Fri Sep 03 11:40:10 BST 2010
Message: No password was found. Value of "password" is being stored as a non-encrypted value in the node  "/SVN/svn:\2f\2famm52\2fqube\2ftrunk\2fsrc:309e2b59139f001f1465991c19ca0a7b".
Severity: Error
Product: Eclipse 1.3.0.20100617-0520 (org.eclipse.epp.package.cpp.product)
Plugin: org.eclipse.equinox.security
Session Data:
eclipse.buildId=I20100608-0911
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Framework arguments:  -product org.eclipse.epp.package.cpp.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.cpp.product


Exception Stack Trace:
org.eclipse.equinox.security.storage.StorageException: No password was found. Value of "password" is being stored as a non-encrypted value in the node  "/SVN/svn:\2f\2famm52\2fqube\2ftrunk\2fsrc:309e2b59139f001f1465991c19ca0a7b".
at org.eclipse.equinox.internal.security.storage.SecurePreferences.put(SecurePreferences.java:234)
at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.put(SecurePreferencesWrapper.java:110)
at org.eclipse.team.svn.core.svnstorage.AbstractSVNStorage.saveAuthInfo(AbstractSVNStorage.java:557)
at org.eclipse.team.svn.core.svnstorage.AbstractSVNStorage.saveLocations(AbstractSVNStorage.java:515)
at org.eclipse.team.svn.core.svnstorage.AbstractSVNStorage.saveConfiguration(AbstractSVNStorage.java:298)
at org.eclipse.team.svn.core.SVNTeamPlugin.stop(SVNTeamPlugin.java:190)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:843)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:836)
at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:501)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:550)
at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1097)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:597)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:266)
at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:690)
at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:588)
at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:415)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:198)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Comment 1 Oleg Besedin CLA 2010-11-03 10:40:27 EDT
I am not sure where SVN belongs to, so sending to Team (org.eclipse.team.svn.core.svnstorage.AbstractSVNStorage).

Alexander, can you provide description of the problem - what were the steps to duplicate it, what's the effect?
Comment 2 Tomasz Zarna CLA 2011-01-31 12:24:01 EST
Moving to Subversive for comment.
Comment 3 Alexander Gurov CLA 2012-12-22 05:26:55 EST
The problem has nothing to do with the SSH authentication. It seems to me like a "Secure Storage" misconfiguration (since "org.eclipse.equinox.security.storage.StorageException: No password was found."  the written data can't be encrypted).