-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Change Hash field to SHA256 for package integrity #11252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -53,7 +53,7 @@ The `PackageFiles` element contains `PackageFile` elements, which define the ins | |
| | `HomeSite` | Optional. The location of the package on the remote server, if it is not included with the installer. | | ||
| | `CopyOnBuild` | Optional. Specifies whether the bootstrapper should copy the package file onto the disk at build time. The default is true. | | ||
| | `PublicKey` | The encrypted public key of the package's certificate signer. Required if `HomeSite` is used; otherwise, optional. | | ||
| | `Hash` | Optional. An SHA1 hash of the package file. This is used to verify the integrity of the file at install time. If the identical hash cannot be computed from the package file, the package will not be installed. | | ||
| | `Hash` | Optional. An SHA256 hash of the package file. This is used to verify the integrity of the file at install time. If the identical hash cannot be computed from the package file, the package will not be installed. (Note this was a SHA1 Hash for .NET 3.5 and earlier) | | ||
|
||
|
|
||
| ## Example | ||
| The following code example defines packages for the .NET Framework redistributable package and its dependencies, such as the Windows Installer. | ||
|
|
@@ -70,4 +70,4 @@ The `PackageFiles` element contains `PackageFile` elements, which define the ins | |
| ## See also | ||
| - [\<Product> element](../deployment/product-element-bootstrapper.md) | ||
| - [\<Package> element](../deployment/package-element-bootstrapper.md) | ||
| - [Product and package schema reference](../deployment/product-and-package-schema-reference.md) | ||
| - [Product and package schema reference](../deployment/product-and-package-schema-reference.md) | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wording/terminology is inconsistent with the rest of the deployment docs: use the standard hyphenated forms (e.g., “SHA-256” / “SHA-1”) and lowercase “hash”. Also “An SHA256” is grammatically incorrect; it should be “A SHA-256 …” (or rephrase to avoid the article).