Skip to content

Commit 418118c

Browse files
authored
Update CLI reference for certificate fingerprint options (NU3043 promoted to error) (#3475)
1 parent 134229b commit 418118c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/reference/cli-reference/cli-ref-sign.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ where `<package(s)>` is one or more `.nupkg` files.
3333

3434
Starting with NuGet.exe 6.12, this option can be used to specify the SHA-1, SHA-256, SHA-384, or SHA-512 fingerprint of the certificate.
3535
However, a `NU3043` warning is raised when a SHA-1 certificate fingerprint is used because it is no longer considered secure.
36+
In NuGet.exe 7.0 and later versions, the warning is elevated to an error.
37+
Only SHA-2 family fingerprints (SHA-256, SHA-384, and SHA-512) are supported.
3638

3739
All the previous versions of the NuGet.exe continue to accept only SHA-1 certificate fingerprint.
3840

0 commit comments

Comments
 (0)