From 7e6b47363820914d7f6e52f9517459e4ae625b73 Mon Sep 17 00:00:00 2001 From: Zhi Li Date: Fri, 10 Jun 2016 11:00:47 -0700 Subject: [PATCH] Changed password encryption and decryption error message Fixed https://github.com/NuGet/Home/issues/2942 --- src/NuGet.Core/NuGet.Configuration/Resources.Designer.cs | 4 ++-- src/NuGet.Core/NuGet.Configuration/Resources.resx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/NuGet.Core/NuGet.Configuration/Resources.Designer.cs b/src/NuGet.Core/NuGet.Configuration/Resources.Designer.cs index 91e73bc4458..2b05b079334 100644 --- a/src/NuGet.Core/NuGet.Configuration/Resources.Designer.cs +++ b/src/NuGet.Core/NuGet.Configuration/Resources.Designer.cs @@ -159,7 +159,7 @@ public static string Unknown_Config_Exception { } /// - /// Looks up a localized string similar to Password decryption failed for source : '{0}' is unsupported on this platform. A clear text password may be used instead.. + /// Looks up a localized string similar to Password decryption is not supported on this platform (Windows/.NET Core). The following feed uses an encrypted password: '{0}'. You can use a clear text password as a workaround, or pass it on the commandline. /// public static string UnsupportedDecryptPassword { get { @@ -168,7 +168,7 @@ public static string UnsupportedDecryptPassword { } /// - /// Looks up a localized string similar to Password encryption failed for source : '{0}' is unsupported on this platform. A clear text password may be used instead.. + /// Looks up a localized string similar to Password encryption is not supported on this platform (Windows/.NET Core). The following feed try to use an encrypted password: '{0}'. You can use a clear text password as a workaround, or pass it on the commandline. /// public static string UnsupportedEncryptPassword { get { diff --git a/src/NuGet.Core/NuGet.Configuration/Resources.resx b/src/NuGet.Core/NuGet.Configuration/Resources.resx index b0f2ad2c8a4..c270aeb8719 100644 --- a/src/NuGet.Core/NuGet.Configuration/Resources.resx +++ b/src/NuGet.Core/NuGet.Configuration/Resources.resx @@ -151,10 +151,10 @@ Unexpected failure reading NuGet.Config. Path: '{0}'. - Password decryption failed for source : '{0}' is unsupported on this platform. A clear text password may be used instead. + Password decryption is not supported on this platform (Windows/.NET Core). The following feed uses an encrypted password: '{0}'. You can use a clear text password as a workaround, or pass it on the commandline. - Password encryption failed for source : '{0}' is unsupported on this platform. A clear text password may be used instead. + Password encryption is not supported on this platform (Windows/.NET Core). The following feed try to use an encrypted password: '{0}'. You can use a clear text password as a workaround, or pass it on the commandline. Unable to parse config file '{0}'.