-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Closed
Copy link
Labels
Description
Describe the bug
After the recent update of VS Preview (I got the telemetry prompt earlier today), I'm not able to restore packages from feeds that use an encrypted password.
To Reproduce
- Make sure some password-protected feeds are registered and they use encrypted password
- Prepare a project that requests something from the feed
- Run
dotnet nuget locals all --clearjust in case to make sure the restore operation is needed - Run
dotnet restore
Exceptions (if any)
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.xyz.com/repository/nuget-prod/FindPackagesById()?id='Package'&semVerLevel=2.0.0'.
Password decryption is not supported on .NET Core for this platform. The following feed uses an encrypted password: 'repo-name'. You can use a clear text password as a workaround.
Windows Data Protection API (DPAPI) is not supported on this platform.
Detailed exception.
Further technical details
- Windows 10 21H2
- SDK
6.0.200-preview.21617.4
Workaround
Use global.json and downgrade to 6.0.100.
isaac-mcgarvey-tfs, KubaOczko, MichalVanzura, jasase, ekamer and 28 morewjrogers, cek-cek, UweKeim, StefanOssendorf, 0xced and 4 more