Skip to content

Conversation

@nkolev92
Copy link
Contributor

Fixes #12906

To double check:


private bool IsSigned(string path)
{
IEnumerable<ISignatureVerificationProvider> providers = SignatureVerificationProviderFactory.GetSignatureVerificationProviders();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the only change that actually changes behavior.

I'm unsure if this is still being used, but unlikely that this is related to the problems the .NET SDK encountered, since a lot of the types have changed. Example: SignatureVerificationProviderFactory does not exist in 4.9.

I'd be happy to revert this change if you prefer to minimize the risk.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @dtivel

Can you please take a look at this change?

The project is .NET Framework and likely only runs on windows.

https://github.com/NuGet/NuGet.Client/blob/16d8eb328c50cbc1c0a2063578745562e6a24792/src/NuGet.Core/NuGet.Packaging/Signing/SignatureVerificationProviderFactory.cs went away in 4.9.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does run, but only on Windows and .NET Framework.

@nkolev92
Copy link
Contributor Author

cc @riarenas @mmitche can you help review this?

Thanks.

@mmitche mmitche merged commit 1177b37 into main Mar 24, 2023
@nkolev92 nkolev92 deleted the dev-nkolev92-updateNuGetPackagingCore branch March 24, 2023 19:05
@dougbu dougbu mentioned this pull request Aug 31, 2023
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove NuGet.Packaging.Core references from arcade tasks.

4 participants