1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2026-06-13 08:17:00 -05:00

Windows: Fix MSI traveler disk creation with WHQL-signed drivers

Make MSI-installed VeraCrypt use the IDRIX-signed COMReg package as the
source for traveler files, matching the EXE installer flow. COMReg now
packages the x64 traveler payload, so traveler creation no longer has to
copy the installed x64 driver from appDir\veracrypt.sys and verify it
against a Microsoft WHQL certificate fingerprint.

Keep Microsoft WHQL certificate verification only for the loose portable
driver fallback, where driver files cannot be signed with the IDRIX code
signing certificate. The normal VerifyModuleSignature path now remains
IDRIX-only.

Also validate that an MSI COMReg package actually contains the required
x64 traveler files before reporting success, avoiding partial traveler
directories when the package payload is incomplete.
This commit is contained in:
Mounir IDRASSI
2026-04-14 18:43:07 +09:00
parent 250a488a84
commit 976bb3767b
4 changed files with 76 additions and 82 deletions
+6 -2
View File
@@ -21,8 +21,12 @@ int APIENTRY _tWinMain(HINSTANCE hInstance,
if (s)
s[1] = 0;
/* Create self-extracting package */
MakeSelfExtractingPackage (NULL, SetupFilesDir, TRUE);
/*
* Create a self-extracting package containing the traveler files.
* The MSI traveler creation path verifies this IDRIX-signed package
* instead of verifying individual WHQL-signed driver files.
*/
MakeSelfExtractingPackage (NULL, SetupFilesDir, FALSE);
}
return 0;