These steps are performed on a trusted build machine.
Ensure the following software is installed:
Visual Studio 2019
or later.Windows Driver Kit (WDK)
version10.0.18362.1
or later.Windows 10, version 2004
or later.
Configure signing locally:
- Install
Safenet Authentication Client
. - Register EV certificate in user store.
Configure signing in Microsoft partner portal:
- Partner portal login page (use Azure account): Partner Portal
- Instructions for registering EV certificate with Microsoft: Add or Update a code signing certificate
- Instructions for configuring attestation signing: Attestation signing a kernel driver for public release
- Ensure changelog is updated and includes all relevant changes.
- Make appropriate changes to version number components in
src/version.h
. Push changes. - Create and push a signed Git tag which is named after the current updated version, e.g.
v1.2.3.4
.
- Clone/pull updated driver code on trusted build machine.
- Launch
Developer Command Prompt for VS 2019
. cd
into driver repository.- Run
build.bat <certificate-sha1-thumbprint>
to build and sign the driver. - Artifacts are prepared under
bin/dist/
:mullvad-split-tunnel-amd64.cab
is an intermediate driver package for Windows 10.mullvad-split-tunnel.pdb
contains debug information.
- Upload intermediate driver package to Microsoft for attestation signing.
- Download attestation signed driver package.
- In the
mullvadvpn-app-binaries
repository:- In subfolder
x86_64-pc-windows-msvc/split-tunnel/
:- Extract attestation signed driver package.
- Update driver PDB file.
- Merge file updates into
master
.
- In subfolder
- In the
mullvadvpn-app
repository:- Update the
mullvadvpn-app-binaries
submodule reference. - Merge reference update into
master
.
- Update the