diff --git a/bundles/org.eclipse.equinox.security.tests/META-INF/MANIFEST.MF b/bundles/org.eclipse.equinox.security.tests/META-INF/MANIFEST.MF index b2345d97fee..42c0b366b9e 100644 --- a/bundles/org.eclipse.equinox.security.tests/META-INF/MANIFEST.MF +++ b/bundles/org.eclipse.equinox.security.tests/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Equinox security tests Bundle-SymbolicName: org.eclipse.equinox.security.tests;singleton:=true -Bundle-Version: 1.3.0.qualifier +Bundle-Version: 1.3.100.qualifier Bundle-Activator: org.eclipse.equinox.internal.security.tests.SecurityTestsActivator Bundle-RequiredExecutionEnvironment: JavaSE-17 Bundle-Vendor: Eclipse.org diff --git a/bundles/org.eclipse.equinox.security.tests/src/org/eclipse/equinox/internal/security/tests/storage/SecurePreferencesTest.java b/bundles/org.eclipse.equinox.security.tests/src/org/eclipse/equinox/internal/security/tests/storage/SecurePreferencesTest.java index dfb75fc2f27..659cb12b66e 100644 --- a/bundles/org.eclipse.equinox.security.tests/src/org/eclipse/equinox/internal/security/tests/storage/SecurePreferencesTest.java +++ b/bundles/org.eclipse.equinox.security.tests/src/org/eclipse/equinox/internal/security/tests/storage/SecurePreferencesTest.java @@ -419,7 +419,7 @@ public void testIncorrectData() throws IOException { try { node.get("password1", "default"); } catch (StorageException e) { - assertEquals(StorageException.DECRYPTION_ERROR, e.getErrorCode()); + assertEquals(StorageException.INTERNAL_ERROR, e.getErrorCode()); exception = true; } assertTrue(exception); @@ -428,7 +428,7 @@ public void testIncorrectData() throws IOException { try { node.get("password2", "default"); } catch (StorageException e) { - assertEquals(StorageException.DECRYPTION_ERROR, e.getErrorCode()); + assertEquals(StorageException.INTERNAL_ERROR, e.getErrorCode()); exception = true; } assertTrue(exception); @@ -452,7 +452,7 @@ public void testIncorrectPassword() throws IOException { try { node.get("password", "default"); } catch (StorageException e) { - assertEquals(StorageException.DECRYPTION_ERROR, e.getErrorCode()); + assertEquals(StorageException.INTERNAL_ERROR, e.getErrorCode()); exception = true; } assertTrue(exception); diff --git a/bundles/org.eclipse.equinox.security/META-INF/MANIFEST.MF b/bundles/org.eclipse.equinox.security/META-INF/MANIFEST.MF index 0aa82fded05..2769a9773f8 100644 --- a/bundles/org.eclipse.equinox.security/META-INF/MANIFEST.MF +++ b/bundles/org.eclipse.equinox.security/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-SymbolicName: org.eclipse.equinox.security;singleton:=true -Bundle-Version: 1.4.0.qualifier +Bundle-Version: 1.4.100.qualifier Bundle-Vendor: %providerName Bundle-Localization: plugin Bundle-Activator: org.eclipse.equinox.internal.security.auth.AuthPlugin diff --git a/bundles/org.eclipse.equinox.security/pom.xml b/bundles/org.eclipse.equinox.security/pom.xml index e6dda58bc46..a41724abfa0 100644 --- a/bundles/org.eclipse.equinox.security/pom.xml +++ b/bundles/org.eclipse.equinox.security/pom.xml @@ -19,7 +19,7 @@ org.eclipse.equinox org.eclipse.equinox.security - 1.4.0-SNAPSHOT + 1.4.100-SNAPSHOT eclipse-plugin diff --git a/bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/storage/friends/IStorageConstants.java b/bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/storage/friends/IStorageConstants.java index e82adc026aa..a63d9628127 100644 --- a/bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/storage/friends/IStorageConstants.java +++ b/bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/storage/friends/IStorageConstants.java @@ -31,12 +31,12 @@ public interface IStorageConstants { /** * Default cipher algorithm to use in secure storage */ - public String DEFAULT_CIPHER = "PBEWithMD5AndDES"; //$NON-NLS-1$ + public String DEFAULT_CIPHER = "PBEWithHmacSHA512AndAES_256"; //$NON-NLS-1$ /** * Default key factory algorithm to use in secure storage */ - public String DEFAULT_KEY_FACTORY = "PBEWithMD5AndDES"; //$NON-NLS-1$ + public String DEFAULT_KEY_FACTORY = "PBEWithHmacSHA512AndAES_256"; //$NON-NLS-1$ /** * Preference contains list of disabled password provider modules