Skip to content

Commit 5d6225c

Browse files
kartheekp-msadegeo
andauthored
deprecate SHA-1 usage in dotnet nuget sign command (#42697)
* deprecate SHA-1 usage in dotnet nuget sign command * update docs * update docs * fix typo * Update docs/core/tools/dotnet-nuget-sign.md Co-authored-by: Andy (Steve) De George <[email protected]> --------- Co-authored-by: Kartheek Penagamuri <[email protected]> Co-authored-by: Andy (Steve) De George <[email protected]>
1 parent 11081c4 commit 5d6225c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/core/tools/dotnet-nuget-sign.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,12 @@ The `dotnet nuget sign` command signs all the packages matching the first argume
7171
7272
- **`--certificate-fingerprint <FINGERPRINT>`**
7373

74-
SHA-1 fingerprint of the certificate used to search a local certificate store for the certificate.
74+
Specifies the fingerprint of the certificate used to search a local certificate store for the certificate.
75+
76+
Starting with .NET 9, this option can be used to specify the SHA-1, SHA-256, SHA-384, or SHA-512 fingerprint of the certificate.
77+
However, a `NU3043` warning is raised when a SHA-1 certificate fingerprint is used because it is no longer considered secure.
78+
79+
All the previous versions of the .NET SDK continue to accept only SHA-1 certificate fingerprint.
7580

7681
- **`--certificate-password <PASSWORD>`**
7782

0 commit comments

Comments
 (0)