veracrypt / VeraCrypt

Disk encryption with strong security based on TrueCrypt
https://www.veracrypt.fr
Other
6.89k stars 947 forks source link

Traveler Disk Setup Files can't be created due to error about distribution package being damaged (MSI Installer) #886

Closed AshleyHow closed 2 years ago

AshleyHow commented 2 years ago

Expected behavior

Traveler Disk Setup files are created successfully in the chosen folder.

Observed behavior

image

I am using the 64-bit MSI installer (VeraCrypt_Setup_x64_1.25.7.msi), I have verified the SHA256 hash (12D999BCA2B97A4F268087139D1606183E0CDB11C4B046B6C6DC5F0F965C3FD2) to ensure the file is not corrupt. I am using this installer as it supports silent install via Microsoft Intune.

I can confirm that the exe installer does not have this issue.

Previous reports of this error suggested a certificate error but I'm not sure this is the case in this instance as the certificate path for the file looks ok.

image

Steps to reproduce

  1. Open VeraCrypt.
  2. Click Tools.
  3. Click Traveler Disk Setup.
  4. Choose directory for traveler disk files
  5. Click create
  6. Error message appears 'This distribution package is damaged. Please try downloading it again (preferably from the official VeraCrypt website at https://www.veracrypt.fr).'

I have tested doing via both a standard user and administrator and get the same result.

Screenshots

Your Environment

Please tell us more about your environment

VeraCrypt version: 1.25.7 Operating system and version: This happens on multiple PC's where VeraCrypt has just been installed. Windows 10 20H2 Build 10941.1466 Windows 10 21H1 Build 10943.1466 System type: 64-bit

idrassi commented 2 years ago

Thank you for reporting this. The issue with MSI install was that it doesn't include files from other architectures (only x64 binaries exist) and also "VeraCrypt Setup.exe" was wrongly use a place holder for binaries. I have implemented a fix (https://github.com/veracrypt/VeraCrypt/commit/ebb67499f1eda64d3a6f7705fe6ec0c5fd12a1e3 and https://github.com/veracrypt/VeraCrypt/commit/5c319dec9460e58381f8e570ed9c075fc674fcd3) and now Travel Disk creation works. Only limitation is that it will contain only x64 binaries.

Below is a Beta build of upcoming 1.25.8 containing the fix (signed using official IDRIX certificate and with PGP signature using VeraCrypt official key). You can use it to validate that it works on your side too.

VeraCrypt_Setup_x64_1.25.8_BETA.zip

idrassi commented 2 years ago

The Release Candidate for version 1.25.8 and which contain the fix has been published to https://sourceforge.net/projects/veracrypt/files/VeraCrypt%20Nightly%20Builds/Windows/. Final 1.25.8 release should be out in few days if no issues discovered during testing.

idrassi commented 2 years ago

This has been fixed in version 1.25.9.