| title | NuGet Warning NU3016 | |
|---|---|---|
| description | NU3016 Warning code | |
| author | mishra14 | |
| ms.author | jodou | |
| ms.date | 8/16/2018 | |
| ms.topic | reference | |
| ms.reviewer | anangaur | |
| f1_keywords |
|
Package 'SamplePackage v1.0.0' from source 'https://contoso.com/index.json': The package hash uses an unsupported hash algorithm.
NuGet client tried to verify a package which was signed using an unsupported hash algorithm.
Please ensure that the package was signed with one of the following hash algorithms -
sha256sha384sha512
Note
When NuGet’s signature validation mode is set to accept (default), NU3016 is raised as a warning.
When NuGet’s signature validation mode is set to require, or when running the nuget verify -signatures command, NU3016 is elevated from a warning to an error.