Skip to content

Commit ca79c28

Browse files
authored
Merge pull request #897 from GyulyVGC/sign-installer
Update CI/CD to sign the Windows Installer using SignPath
2 parents 9857679 + 1fa7ec9 commit ca79c28

3 files changed

Lines changed: 23 additions & 1 deletion

File tree

.github/workflows/package.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,9 +318,29 @@ jobs:
318318
cargo wix --no-build --nocapture --target ${{ matrix.target }}
319319
Move-Item -Path target\wix\sniffnet*.msi -Destination .\artifacts\Sniffnet_Windows_${{ matrix.arch }}.msi
320320
321-
- name: Upload package artifacts
321+
- name: Upload unsigned package artifacts
322+
id: upload-unsigned-artifact
323+
uses: actions/upload-artifact@v4
324+
with:
325+
name: msi-${{ matrix.arch }}
326+
path: artifacts/
327+
if-no-files-found: error
328+
329+
- name: Sign package artifacts
330+
uses: signpath/github-action-submit-signing-request@v1.1
331+
with:
332+
api-token: '${{ secrets.SIGNPATH_API_TOKEN }}'
333+
organization-id: '3b533e02-73c3-4908-a018-d09a34498a6a'
334+
project-slug: 'sniffnet'
335+
signing-policy-slug: 'release-signing'
336+
github-artifact-id: '${{ steps.upload-unsigned-artifact.outputs.artifact-id }}'
337+
wait-for-completion: true
338+
output-artifact-directory: './artifacts'
339+
340+
- name: Upload signed package artifacts (overwrite unsigned)
322341
uses: actions/upload-artifact@v4
323342
with:
324343
name: msi-${{ matrix.arch }}
325344
path: artifacts/
326345
if-no-files-found: error
346+
overwrite: true

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ All Sniffnet releases with the relative changes are documented in this file.
44

55
## [UNRELEASED]
66
- Added Dutch translation 🇳🇱 ([#854](https://github.com/GyulyVGC/sniffnet/pull/854))
7+
- The Windows Installer is now signed with a code signing certificate provided by the [SignPath Foundation](https://signpath.org/) ([#897](https://github.com/GyulyVGC/sniffnet/pull/897) — fixes [#894](https://github.com/GyulyVGC/sniffnet/issues/894))
78
- Updated some of the existing translations to v1.4:
89
- German ([#833](https://github.com/GyulyVGC/sniffnet/pull/833))
910
- Uzbek ([#834](https://github.com/GyulyVGC/sniffnet/pull/834))

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ ICED_BACKEND=tiny-skia
136136
- A big shout-out to [all the contributors](https://github.com/GyulyVGC/sniffnet/blob/main/CONTRIBUTORS.md) of Sniffnet!
137137
- The graphical user interface has been realized with [iced](https://github.com/iced-rs/iced), a cross-platform GUI library for Rust focused on simplicity and type-safety
138138
- IP geolocation and ASN data are provided by [MaxMind](https://www.maxmind.com)
139+
- Free code signing for Windows Installer is provided by [SignPath.io](https://about.signpath.io/), certificate by [SignPath Foundation](https://signpath.org/)
139140
- [Sniffnet](https://ads.fund/token/0xadfc251f8ef00ceaeca2b5c1882dabe5db0833df) project is supported by ADS.FUND
140141
- Last but not least, thanks to [every single stargazer](https://github.com/GyulyVGC/sniffnet/stargazers): all forms of support made it possible to keep improving Sniffnet!
141142

0 commit comments

Comments
 (0)