NuGet Error NU3005

Scenario 1

Package 'SamplePackage v1.0.0' from source 'https://contoso.com/index.json': The package contains an invalid package signature file.

Issue

NuGet client tried to verify a package with a signature file which has an invalid Local File Header.

Solution

Please request the package author to re-sign the package using the nuget sign command as described in NuGet docs. If the problem persists, then please file an issue at NuGet/Home along with the package that generated this problem.

Scenario 2

Package 'SamplePackage v1.0.0' from source 'https://contoso.com/index.json': The package contains multiple package signature files.

Issue

NuGet client tried to verify a package which contains multiple signature files.

Solution

Please request the package author to re-sign the package using the nuget sign command as described in NuGet docs. If the problem persists, then please file an issue at NuGet/Home along with the package that generated this problem.

Scenario 3

Package 'SamplePackage v1.0.0' from source 'https://contoso.com/index.json': The package does not contain a valid package signature file.

Issue

NuGet client tried to verify a package which does not contain a package signature file.

Solution

Please file an issue at NuGet/Home along with the package that generated this problem.