Error codes regression for validating signatures #7492
Labels
Area:ErrorHandling
warnings and errors/log messages & related error codes.
Functionality:Signing
RegressionFromPreviousRTM
A regression from the last RTM. Example: worked in 6.2, doesn't work in 6.3
Type:Bug
Milestone
It looks like the change: https://github.com/NuGet/NuGet.Client/pull/2391/files#diff-c6fa634239b1e7654fa549386f77ed3cL206 introduced regressions. The earlier route would return NU3028, however, this change is returning NU3018 error codes.
@PatoBeltran knows the context.
This change has broken NuGet/NuGet.Jobs SignatureValidatorIntegrationTests It expects the logged messages to contain
However, actual logged messages are something like:
Also, following tests are broken due to same issues:
https://github.com/NuGet/NuGet.Jobs/blob/352ce8d5a2306ce735703e2fa2bc48ebe82ce24b/tests/Validation.PackageSigning.ProcessSignature.Tests/SignatureValidatorIntegrationTests.cs#L363
https://github.com/NuGet/NuGet.Jobs/blob/352ce8d5a2306ce735703e2fa2bc48ebe82ce24b/tests/Validation.PackageSigning.ProcessSignature.Tests/SignatureValidatorIntegrationTests.cs#L1452
https://github.com/NuGet/NuGet.Jobs/blob/352ce8d5a2306ce735703e2fa2bc48ebe82ce24b/tests/Validation.PackageSigning.ProcessSignature.Tests/SignatureValidatorIntegrationTests.cs#L1511
The text was updated successfully, but these errors were encountered: