Skip to content

Commit 9c4076e

Browse files
FireGiantDocsrobmen
authored andcommitted
Document use of trusted signers for WiX package
Closes 7821
1 parent 02723f1 commit 9c4076e

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

src/content/docs/wix/using-wix.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,29 @@ wix --version
101101
- [Wix.exe command-line reference](../tools/wixexe/)
102102

103103

104+
## Trusting WiX Packages
105+
106+
The official WiX Toolset packages are signed so you can harden your build process by configuring your [`nuget.config`](https://learn.microsoft.com/en-us/nuget/reference/nuget-config-file) file to validate the signatures.
107+
108+
```xml
109+
<?xml version="1.0" encoding="utf-8"?>
110+
<configuration>
111+
<config>
112+
<add key="signatureValidationMode" value="require" />
113+
</config>
114+
<trustedSigners>
115+
<author name="firegiant">
116+
<certificate
117+
fingerprint="D95336DD2022934D80E3F3A4F938DD66EC7076BBBA680F76C11F2B54B346D61D"
118+
hashAlgorithm="SHA256" allowUntrustedRoot="false" />
119+
</author>
120+
</trustedSigners>
121+
</configuration>
122+
```
123+
124+
See the [Manage package trust boundaries](https://learn.microsoft.com/en-us/nuget/consume-packages/installing-signed-packages) NuGet documentation for more details.
125+
126+
104127
## Using development builds
105128

106129
WiX development builds with all the latest bug fixes are available in a NuGet package feed on GitHub. To add that feed as a package source:

0 commit comments

Comments
 (0)