Commit Graph
100 Commits
Author SHA1 Message Date
Mounir IDRASSI f58a796ae6 Pkcs5.c: Fix typos where SHA256 is mentionned instead of Blake2s
This didn't cause any issue because SHA256_DIGESTSIZE is equal to
BLAKE2S_DIGESTSIZE
2023-05-28 17:36:29 +02:00
Mounir IDRASSI 7ae63335ac Linux/macOS: Make RNG implementation match documentation and the Windows implementation 2023-05-27 17:24:11 +02:00
Mounir IDRASSI f4b310b23f Linux/macOS: explicitely initialize hash algo before hashing random pool
The lack of explicit hash initialization was causing issue with Blake2s
because it doesn't allow further processing once a digest value was
returned.
Other hash algorithms don't have this restriction.
Not we explicitely initialize all hash algorithms which is the correct
way to do things.
2023-05-27 10:25:56 +02:00
Mounir IDRASSI 40caafdb1b Windows: Add missing Blake2s source files to VS 2019 crypto project 2023-05-26 00:36:05 +02:00
Mounir IDRASSI 28aff67293 Windows: Add missing update of libzip zip_err_str.c and fix libzip related project configuration 2023-05-26 00:35:58 +02:00
Mounir IDRASSI b872702309 Linux: Fix printing error when checking freespace during volume creation
No parent directory specified in the path, we assume current directory
We first check if parent directory exists before checking its free space
using wxgetDiskSpace

Based on idea proposed by @bogdro in PR#1025
2023-05-22 01:05:17 +02:00
Mounir IDRASSI eb61010ce2 Linux/macOS: Better handling of wrong PIM value in text mode (enhances PR#1026) 2023-05-21 17:27:33 +02:00
Mounir IDRASSI 76df737ae5 Update Language.zh-cn.xml to remove unused string after revert of newsysenc commit 2023-05-20 17:43:06 +02:00
Mounir IDRASSI 1f3ebcd7c6 Update Language.nl.xml to fix format of some entries and remove strings that don't exist anymore after revert of sysenc commit 2023-05-20 17:42:10 +02:00
Mounir IDRASSI 8e443c25cc Linux/macOS: Suppress asserts displayed by wxWidgets 3.1.6+ for sizer flags until we fix all sizer flags in our UI. 2023-05-18 21:25:07 +02:00
Mounir IDRASSI 0fdf2edda7 Linux: Fix .deb package compatibility with Ubuntu 23.04 2023-05-18 21:22:24 +02:00
Mounir IDRASSI 49de3de994 Windows MSI: fix failure to create MSI because of missing html files during packaging 2022-12-11 23:04:02 +01:00
Mounir IDRASSI 13dc3da6a6 Windows MSI: Add reference to newly added documentation files. Remove reference to RIPEMD-160 html file. 2022-12-11 21:26:58 +01:00
Mounir IDRASSI 4056f58add Documentation: remove usage of CSS collapsible to avoid breaking CHM generation. Add new entries to CHM. Remove example script file since its content is described inline in the documentation
We need to generate CHM from the same HTML files as the documentation and so we are limited by CHM compatibility
2022-12-11 18:40:33 +01:00
Mounir IDRASSI e04bf339f7 Documentation: Add missing file Miscellaneous.html 2022-12-11 17:50:38 +01:00
Mounir IDRASSI 44c9c077f3 Revert "New sys enc wizard (#957)"
This reverts commit c0ff7a7c52.
2022-12-11 13:01:14 +01:00
Mounir IDRASSI 99c3cda01a Windows: use newer MEMORYSTATUSEX structure in call to GlobalMemoryStatusEx 2022-08-25 09:38:49 +02:00
Mounir IDRASSI 0871695403 Update zlib to version 1.2.12 2022-03-31 00:52:40 +02:00
Mounir IDRASSI 2be0b2e88f HTML Documentation: Add Russian translation by Dmitry Yerokhin 2022-03-31 00:52:33 +02:00
Mounir IDRASSI a077eb94ef Documentation: clearer description of how number of iterations are calculated 2022-03-27 16:34:42 +02:00
Mounir IDRASSI 762065917f Windows: Add various checks to address Coverity reported issues. 2022-03-26 21:15:11 +01:00
Mounir IDRASSI a0809fe85c Windows: check result of WriteFile and don't block if it is failing (Coverity) 2022-03-26 21:15:04 +01:00
Mounir IDRASSI 05fd14006d Remove dead code from chacha_ECRYPT_encrypt_bytes (Coverity) 2022-03-26 21:14:57 +01:00
Mounir IDRASSI 533269ca9a Windows: Fix wrong parameter to CloseHandle function in case of failure of CreateEvent (Coverity) 2022-03-26 21:14:49 +01:00
Mounir IDRASSI 69a9c6b394 Update release notes for 1.26.0 and set its date to March 21st 2022 2022-03-22 00:56:54 +01:00
Mounir IDRASSI 165df2188e Language Translations files: update polish translation 2022-03-21 07:59:31 +01:00
Mounir IDRASSI fbdcd35b00 Language XML files: Add newly added entry to the XML files of supported languages 2022-03-21 01:19:17 +01:00
Mounir IDRASSI 5124775236 Windows: Add latest 1.26 EFI bootloader files that are signed by Microsoft that come with the following modifications: - Fix bug in PasswordTimeout value handling that caused it to be limited to 255 seconds. - Rescue Disk: enhance "Boot Original Windows Loader" by using embedded backup of original Windows loader if it is missing from disk - Addition of Blake2s and removal of RIPEMD160 & GOST89 2022-03-21 01:19:09 +01:00
Mounir IDRASSI 67acba4b4f Increment version to 1.26 and update windows driver and MBR bootloader files 2022-03-21 01:19:02 +01:00
Mounir IDRASSI a239789317 Add missing Blake2s source files 2022-03-21 01:18:55 +01:00
Mounir IDRASSI a57a79c61d Update documentation to add Blake2s-256 and remove RIPEMD-160 2022-03-21 01:18:48 +01:00
Mounir IDRASSI 4a1be156f7 Language XML files: update Russian XML file by Dmitry Yerokhin. 2022-03-21 01:18:41 +01:00
Mounir IDRASSI 03e29434e8 Windows: Display message to recreate Rescue Disk when upgrading from version 1.25 or earlier because of the changes in the supported algorithms 2022-03-21 01:18:34 +01:00
Mounir IDRASSI 5383190518 Windows: Block upgrade of VeraCrypt is the system is encrypted using RIPEMD-160 or GOST89 since they are not supported anymore. 2022-03-21 01:18:27 +01:00
Mounir IDRASSI dd0f3cd167 Windows: use "HMAC-BLAKE2s-256" instead of "HMAC-BLAKE2s" for BLAKE2s PRF name 2022-03-21 01:18:20 +01:00
Mounir IDRASSI 36795a688f Implement support of Blake2s-256 hash algorithm and remove deprecated algorithms RIPEMD-160 and GOST89. 2022-03-08 00:29:26 +01:00
Mounir IDRASSI 3cab3ce37a Increment version to 1.25.9 and update Release Notes. 2022-02-19 22:54:59 +01:00
Mounir IDRASSI c145b337cb Linux/MacOSX: Fix hidden volume settings not correctly displayed when enabling hidden volume protection in mount options window 2022-02-19 22:35:34 +01:00
Mounir IDRASSI b52ce86040 Linux: Fix code dump when built with -D_GLIBCXX_ASSERTIONS caused by an assert in libstdc++.
The variable has enough capacity so pointer &buffer[0] is valid but since clear method was called, we are not supposed to access element at index 0.
Related to Github issue #896
2022-02-18 01:24:32 +01:00
Mounir IDRASSI 662bb60fe4 Windows: Fix wrong Debug reference in VS2019 solution file 2022-02-16 23:44:18 +01:00
Mounir IDRASSI 8a1f6d904b Update Release Notes and release date 2022-02-16 23:22:32 +01:00
Mounir IDRASSI c2b2f80d4f Increment version to 1.25.8.2 and update signed Windows drivers 2022-02-16 23:22:22 +01:00
Mounir IDRASSI d417b2806c Linux/FreeBSD: Enable building without AESNI support by setting environment variable DISABLE_AESNI to 1 during build or passing NOAESNI=1 to make command
This comes following Github issue #892 and which should be solved thanks to this.
2022-02-13 18:42:27 +01:00
Mounir IDRASSI be5bcbf42f Language XML files: Update French translation 2022-02-13 18:42:21 +01:00
Mounir IDRASSI 4483d23fad Add missing copyright to README.md 2022-02-13 18:42:12 +01:00
Mounir IDRASSI 5ef553d18f Windows: remove debugging left over call to MessageBox 2022-02-11 00:37:39 +01:00
Mounir IDRASSI 11800e429d Windows: Activate lzma project build for x64 target 2022-02-11 00:37:33 +01:00
Mounir IDRASSI b1ae5f4740 Update copyrights following integration of LZMA SDK 2022-02-11 00:37:25 +01:00
Mounir IDRASSI b5b252107d Update Release Notes and set release date to February 10th. 2022-02-11 00:37:17 +01:00
Mounir IDRASSI e925dd2f1a Windows: Increment version to 1.25.8.1 and update signed Windows drivers 2022-02-11 00:37:09 +01:00
Mounir IDRASSI c3bb028dfa Update Turkish translation (FabSec; By Fabriel) 2022-02-10 01:30:39 +01:00
Mounir IDRASSI aebb099da2 Windows Driver: Don't cache the password if outer volume mounting succeeds but hidden volume mounting fails 2022-02-10 01:21:25 +01:00
Mounir IDRASSI 1ef05f24e2 Windows: Reduce the size of installers by almost 50% by using LZMA compression instead of DEFLATE 2022-02-10 01:21:17 +01:00
Mounir IDRASSI 302dc37fb9 Windows: Make Travel Disk contains 32-bit and arm64 binaries when VeraCrypt installed using MSI 2022-02-10 01:20:25 +01:00
Mounir IDRASSI 2da115ffb4 Update Release Notes and add signed Windows driver. 2022-02-06 09:53:07 +01:00
Mounir IDRASSI c51a209879 Windows: Add registry setting to disable erasing encryption keys on Windows shutdown/reboot. This helps solve BSOD during shutdown/reboot on some machines.
Under "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\veracrypt", create a REG_DWORD value named "VeraCryptEraseKeysShutdown" and set its value to 0.
2022-02-06 09:52:24 +01:00
Mounir IDRASSI 6f3fc5b9e3 Update Release Notes 2022-02-05 22:52:25 +01:00
Mounir IDRASSI 0b78115084 Windows: Update MBR bootloader files. 2022-02-05 22:52:18 +01:00
Mounir IDRASSI 0e4c8f91af Windows: remove unneeded reference to XML files from Setup Visual Studio project 2022-02-05 22:52:09 +01:00
Mounir IDRASSI 91d308857a Translations: Fix minor typo in zh-CN translation (close #879) 2022-02-05 22:52:00 +01:00
Mounir IDRASSI 463ae8e6aa Increment version to 1.25.8 2022-02-05 22:51:52 +01:00
Mounir IDRASSI 3cf9364592 Linux: avoid overriding /usr/sbin if it is a symlink (close #888) 2022-02-05 22:51:41 +01:00
Mounir IDRASSI 4ef324df1a Linux: make generic uninstaller remove all VeraCrypt related files that were copied by the generic installer 2022-02-05 22:51:33 +01:00
Mounir IDRASSI 5c319dec94 Windows: Fix failure to verify driver file signature since it is signed by Microsoft not us.
This caused a failure when creating Traveler Disk
2022-02-02 01:55:23 +01:00
Mounir IDRASSI ebb67499f1 Windows: Fix failure to create Traveler Disk when VeraCrypt is installed using MSI 2022-02-02 01:23:34 +01:00
Mounir IDRASSI 06841f67c7 Windows MSI: set minimum support for MSI installation to Windows 7 2022-02-01 23:33:03 +01:00
Mounir IDRASSI 9b88625d97 Windows: Make MSI installer compatible with System Encryption by leveraging VeraCrypt service capabilities 2022-02-01 23:32:55 +01:00
Mounir IDRASSI 8ad93e6648 Windows: Fix wrong check on IUnknown_QueryService function pointer 2022-01-30 17:25:09 +01:00
Mounir IDRASSI 87efa35c38 Windows: Enhancement to CVE-2019-19501 fix to using IShellDispatch2::ShellExecuteW if RunAsDesktopUser fails. Also we don't use the fix if UAC is disabled since in this case the Shell Explorer.exe will be elevated anyway so we can't use to reduce elevation. 2022-01-30 16:48:49 +01:00
Mounir IDRASSI 0d92195c91 Windows MSI: set minimum support for MSI installation to Windows 8 as it was before 2022-01-16 15:18:48 +01:00
Mounir IDRASSI abfef8821d MacOSX: remove write permission also from group on application bundle 2022-01-08 11:08:47 +01:00
Mounir IDRASSI 46a32bea19 Update some translations from Transifex 2022-01-08 09:51:38 +01:00
Mounir IDRASSI 2d3771c45d Increment version to 1.25.7 and update Release Notes 2022-01-07 00:35:46 +01:00
Mounir IDRASSI 897b676e61 Windows: Update IDRIX SHA-256 code signing certificate to latest one 2022-01-07 00:35:31 +01:00
Mounir IDRASSI 9ee48b9d60 Windows: Remove adding signing certificate to TrustedPublishers on XP since it doesn't bring any benefits 2022-01-07 00:35:21 +01:00
Mounir IDRASSI 47f542bfa7 Windows: Fix text truncation in setup wizard and modaless waiting dialog 2022-01-07 00:33:44 +01:00
Mounir IDRASSI b1333b067b Update Italian translation from Transifex 2022-01-07 00:33:36 +01:00
Mounir IDRASSI 2d7d7ad968 Windows: Don't sign drivers with our certificate since we now use single attestation signing (no dual signing) 2022-01-02 21:52:57 +01:00
Mounir IDRASSI c490a75102 Update documentation and Release Notes for restored Windows 7 support. Set 1.25.6 release date at January 3rd 2022 2022-01-02 21:52:49 +01:00
Mounir IDRASSI 88e4a6cb0d Windows: Restore support of Windows 7, 8/8.1 by using single attestation signature for driver and add checks on needed KBs for Windows Vista and Windows 7. Add signed driver files.
- Windows 7 needs KB3033929 or KB4474419
 - Windows Vista needs KB4039648 or KB4474419
2022-01-02 21:52:39 +01:00
Mounir IDRASSI 88955393b2 Set 1.25.6 release date to January 1st 2022 2022-01-02 21:52:31 +01:00
Mounir IDRASSI ce733d547e Update copyright year to 2022 2022-01-02 21:52:23 +01:00
Mounir IDRASSI 656b1c5902 Update Release Notes and add signed Windows driver. 2021-12-30 15:35:58 +01:00
Mounir IDRASSI f63c2ec13c Windows driver: Set maximum values for encryption queue parameters. Add IOCTL code to read used values from user space maximum value for EncryptionFragmentSize is 2048 maximum value for EncryptionIoRequestCount is 8192 maximum value for EncryptionItemCount is (EncryptionIoRequestCount/2) 2021-12-30 00:42:39 +01:00
Mounir IDRASSI fac35ab08a Windows Driver: Better code for EncryptionFragmentSize variable handling 2021-12-30 00:42:30 +01:00
Mounir IDRASSI 7e20f65e68 Windows: Update precompiled MBR bootloader files for version 1.25.6 2021-12-28 00:31:45 +01:00
Mounir IDRASSI e3267f289b Increment version to 1.25.6. Update Release Notes and add signed Windows driver. 2021-12-27 22:40:28 +01:00
Mounir IDRASSI 7b8ba151b2 Documentation: clarify that non-cascaded encryption algorithm for system encryption can be inferred from VeraCrypt bootloader only in the case of MBR boot mode. 2021-12-27 20:14:44 +01:00
Mounir IDRASSI 7fcd4bce71 Windows (MSI install only): Fix double-clicking .hc file inserting %1 instead of volume name in UI path field when 2021-12-27 19:51:50 +01:00
Mounir IDRASSI 68131ac91b MacOSX: correct permission of VeraCrypt application bundle during packaging 2021-12-24 23:57:27 +01:00
Mounir IDRASSI bb0cef759b MacOSX: Increment version to 1.24.5 and update release notes. 2021-12-24 21:21:09 +01:00
Mounir IDRASSI 2f45be1219 MacOSX: make sure that no files inside VeraCrypt application bundle are world-writable.
Currently, documentation HTML files and XML language files embedded inside VeraCrypt application bundle are world-writable.
2021-12-24 21:21:00 +01:00
Mounir IDRASSI e373e72cda Increment version to 1.25.5 and update release notes 2021-12-20 00:19:10 +01:00
Mounir IDRASSI 5640de3584 Windows Driver: Add registry settings to control driver internal encryption queue Under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\veracrypt: - VeraCryptEncryptionFragmentSize (REG_DWORD): size of encryption data fragment in KiB. Default is 256. - VeraCryptEncryptionIoRequestCount (REG_DWORD): maximum number of parallel I/O requests. Default is 16. - VeraCryptEncryptionItemCount (REG_DWORD): maximum number of encryption queue items processed in parallel. Default is 8. 2021-12-20 00:18:58 +01:00
Mounir IDRASSI 4ed2bf5427 Language XML files: update Czech translation (contributed by Lagardere) 2021-12-16 23:27:55 +01:00
Mounir IDRASSI e2ed21ff8b Windows: Don't use version string suffix in language files version check. It is empty by default and for special build we want to use the same language files as standard build 2021-12-04 23:59:09 +01:00
Mounir IDRASSI a21b2270e8 Windows: Implement TESTSIGNING build configuration that allows running under Windows Vista,7, 8 and 8.1. 2021-12-04 23:59:01 +01:00
Mounir IDRASSI 0bc3e36f76 Windows: Add pre-compiled MBR bootloader binaries for version 1.25.4 to make it easier to build VeraCrypt without legacy VC compiler 2021-12-02 22:24:03 +01:00
Mounir IDRASSI d3e9fa9664 Language Translations files: update polish translation 2021-11-30 23:45:25 +01:00
Mounir IDRASSI bf9866e812 Increment version to 1.25.4 and set release date to December 3rd 2021 2021-11-30 23:45:17 +01:00