Commit Graph
100 Commits
Author SHA1 Message Date
Mounir IDRASSI fcf0cb94f1 Increment version to 1.26.5. Update signed Windows drivers. 2023-08-14 01:45:37 +02:00
Mounir IDRASSI ed53857b2f Translations: Add new entry "PARTIAL_SYSENC_MOUNT_READONLY" 2023-08-14 01:11:27 +02:00
Mounir IDRASSI f84d235cf1 Windows: Implement support for mounting partially encrypted system partitions
For now, we force ReadOnly mounting for such partitions.
2023-08-13 22:50:37 +02:00
Mounir IDRASSI 8c7962bda7 Windows: Better way to enable required privileges for FastCreate Options
If we can set required privilege, we ask the user using UAC to enable them.
2023-08-13 00:56:49 +02:00
Mounir IDRASSI f48c21a54b Documentation: Update Windows build guide to mention Windows Test Mode and steps to avoid signature check failures 2023-08-10 01:27:57 +02:00
Mounir IDRASSI c15b84b32d Windows: Fix failure creating Traveler Disk caused by outdated hardcoded value of MS certificate
We also rename the variables gpbSha256CodeSignCertFingerprint and gpbSha256MSCodeSignCertFingerprint to gpbSha512CodeSignCertFingerprint and gpbSha512MSCodeSignCertFingerprint respectively to reflect the fact that they are actually SHA512 hash values and not SHA256 ones.
2023-08-10 01:23:24 +02:00
Mounir IDRASSI 0e32e5f398 FAQ: Add entry for solving Operation no permitted issue on macOS 2023-08-09 00:59:00 +02:00
Mounir IDRASSI fba1943d87 Linux/macOS: Add explicit include of <sys/types.h> to define ssize_t
Some systems (e.g. Alpine Linux) seems to require this.
2023-08-06 10:28:42 +02:00
Mounir IDRASSI dab261c694 Linux: capture both stdout and stderr in popen call to avoid printing anything
If an error happens, error message will be read from popen pipe and so
libpcsclite.so will not be found. This is the same outcome as when
stdout is empty.
2023-08-06 01:06:19 +02:00
Mounir IDRASSI 16bb1de3a6 Security: ensure that XTS primary key is different from secondary key when creating volumes
This is unlikely to happen thanks to random generator properties but we much add this check to prevent an attack described in page 3 of https://csrc.nist.gov/csrc/media/Projects/crypto-publication-review-project/documents/initial-comments/sp800-38e-initial-public-comments-2021.pdf
2023-08-05 10:55:46 +02:00
Mounir IDRASSI e8f83544ea Windows: Fix false positive detection of new device insertion when clear keys option is enable
When this option is enabled, we first build the list of currently inserted devices then we start listening to insertion events.
When a device insertion occurs, we check if this device is on our list and if yes, we ignore its insertion.
We also ignore devices whose Device ID starts with "SWD\" and "ROOT\" since these are not real devices.
2023-08-05 00:45:39 +02:00
Mounir IDRASSI be5c28c481 Release Notes: Fix typo 2023-07-25 22:26:16 +02:00
Mounir IDRASSI b7fc6897b9 Linux/macOS: Increment version to 1.26.4 in installation packages 2023-07-25 22:25:46 +02:00
Mounir IDRASSI e80dd29c0d Windows: remove unused variable 2023-07-24 09:20:43 +02:00
Mounir IDRASSI d4fdba1d29 Update Release Notes and set date of 1.26.4 to July 24th 2023-07-24 09:13:34 +02:00
Mounir IDRASSI 3f976c24d2 Linux/macOS: Remove TrueCrypt support 2023-07-24 08:48:52 +02:00
Mounir IDRASSI ba74b9d5b8 Linux/macOS:Add EMV option checkbox to the fbp file. Remove TrueCrypt checkboxes.
We also update to wxFormBuilder 3.10.1
2023-07-23 21:45:16 +02:00
Mounir IDRASSI ea1dfde8e6 Language XML files: update Russian XML file by Dmitry Yerokhin. 2023-07-23 15:12:00 +02:00
Mounir IDRASSI b28cf591c0 XML Language files: remove \r from new entries as it is automatically added by code 2023-07-23 12:00:34 +02:00
Mounir IDRASSI 5b1ed38659 Windows: update signed drivers 2023-07-23 11:15:58 +02:00
Mounir IDRASSI 2111084fc6 Windows: Update driver inf file to meet new requirements for Microsoft driver submission 2023-07-23 11:15:05 +02:00
Mounir IDRASSI b1cc49e3d7 Documentation: Indicate that TrueCrypt support is dropped starting from version 1.26 2023-07-23 10:05:10 +02:00
Mounir IDRASSI 75334fc37d Translations: Add new entries. update Russian XML file by Dmitry Yerokhin. Increment version to 1.26.4 2023-07-23 10:03:26 +02:00
Mounir IDRASSI 334ea9c0b9 Windows: Make Expander progress messages translatable 2023-07-23 10:00:45 +02:00
Mounir IDRASSI fa6359d424 Windows: Remove TrueCrypt support. Increment version to 1.26.4. 2023-07-22 10:25:22 +02:00
Mounir IDRASSI 34b00fa825 Windows: Fix compiler warnings 2023-07-18 08:38:02 +02:00
Mounir IDRASSI c0785aa1d4 Windows: Fix buffer overrun caused by bug in UpperCaseCopy function 2023-07-17 14:28:45 +02:00
Mounir IDRASSI 9607b9708c Windows: Fix link error with latest libzip by adding new file zip_source_pass_to_lower_layer.c tp VS projects 2023-07-17 14:26:53 +02:00
Mounir IDRASSI 6267b91931 Windows: fix issue with fastCreate by requesting SE_MANAGE_VOLUME_NAME privilege before calling CreateFile
This ensures that the returned handle inherits the privilege
2023-07-16 11:08:24 +02:00
Mounir IDRASSI c759c2230b Language XML files: update Russian XML file by Dmitry Yerokhin. 2023-07-16 11:02:41 +02:00
Mounir IDRASSI 8491d5df65 HTML Documentation: Add Russian translation by Dmitry Yerokhin 2023-07-16 11:01:28 +02:00
Mounir IDRASSI 7ada94d36b Windows: enhance secure desktop handling to try to workaround Windows 11 issue
Several enhancements implemented:
 - replace CreateThread by _beginthreadex to avoid potential issues when using C runtime
 - use an event to notify monitoring thread to stop instead of a volatile boolean
 - perform switch to the regular desktop in the main thread and not in the secure desktop thread
2023-07-15 02:59:13 +02:00
Mounir IDRASSI 49fff71d0a Language XML files: update Russian XML file by Dmitry Yerokhin. 2023-07-13 20:14:31 +02:00
Mounir IDRASSI 014ed77130 Windows: when overwriting an existing file container, add its current size to the available free space 2023-07-11 21:21:18 +02:00
Mounir IDRASSI b1f578f0ef Update the Release Notes with URL related to the EMV project by the students 2023-07-11 19:43:27 +02:00
Mounir IDRASSI 1a46ed9aef Language XML files: update Czech translation (contributed by Lagardere) 2023-07-11 19:07:37 +02:00
Mounir IDRASSI 210968bed1 Windows: Add a PowerShell script that can be used to create a volume from a given directory or file
The script will try to calculate the minimal required size to store the given directory or file in the exFAT formatted volume
2023-07-07 23:55:21 +02:00
Mounir IDRASSI 26fffec1e3 Release Notes: Fix typo 2023-07-07 23:49:12 +02:00
Mounir IDRASSI 4956acd3aa Fix typos in Release Notes 2023-07-02 22:37:02 +02:00
Mounir IDRASSI 0e49b7bc33 Windows: Fix regression when creating multiple keyfiles with a fixed size 2023-07-02 22:36:33 +02:00
Mounir IDRASSI efa815a6da Indicate in Release Notes that EMV support must be enabled in the settings 2023-07-02 16:34:03 +02:00
Mounir IDRASSI d2caa77207 Fix compiler type-cast warnings 2023-07-02 15:25:21 +02:00
Mounir IDRASSI fe30ebe3f3 Update Release Notes with latest changes. 2023-07-02 15:01:28 +02:00
Mounir IDRASSI 2a728dec88 Windows: Use full list of supported cluster sizes for NTFS, ReFS and exFAT filesystems
We keep FAT32 list of supported cluster sizes as it is today for compatibility with existing FAT code
2023-07-01 23:36:05 +02:00
Mounir IDRASSI 580423b5dd Windows: Add missing header changes needed for previous commit 2023-07-01 23:32:44 +02:00
Mounir IDRASSI 7a3daa389c Windows: Make API formatting fallback to format.com in case of elevation. remove dead code from ExternalFormatFs
We also modify UacFormatNtfs/UacFormatFs to return actual error code in case of failure
2023-07-01 22:46:01 +02:00
Mounir IDRASSI a388262a2e Windows: fix compilation warnings 2023-07-01 15:17:24 +02:00
Mounir IDRASSI 0bfed6553d Windows: Fix formatting issue during volume creation by using /Y for format.com and specifying removal parameter in FormatEx
The usage of /Y parameter in format.com simplifies the logic and makes the code robust since we don't need to send \n to the format.com process.
Specifying RemovableMedia parameter to FormatEx fixes its failure in Windows 10 and later to perform quick format. This is also more adequate since we are mounting the volume as removable media for the formatting process.
We also add better error management in order to display adequate error message to the user in case of failure
2023-07-01 15:16:46 +02:00
Mounir IDRASSI 17dcd73936 Windows: Don't make Mount button split button if it is for dismounting
If the currently selected item in the drive list is a mounted volume that can be dismounted, the Mount button displays "Dismount" and so we should not add the popup menu of "mount without cache" to it.
2023-07-01 09:58:36 +02:00
Mounir IDRASSI a438e19f61 Windows: Support drag-n-drop of files in Expander for mounting. Fix drag-n-drop of keyfiles.
To fix drag-n-drop of keyfiles, we remove the password drop target since it was blocking the standard drop of files and drop target doesn't work because of UIPI restrictions across privilege levels since Expander is started elevated
2023-06-30 23:03:56 +02:00
Mounir IDRASSI 14eef978ad Increment version to 1.26.3 in XML language files 2023-06-30 00:35:48 +02:00
Mounir IDRASSI d2efeaffe7 Correctly detect ARM builds when listing CPU features in headers 2023-06-30 00:34:16 +02:00
Mounir IDRASSI df62c0227c Linux: Fix wrong size for hidden volume when selecting the option to use all free space (fix by @Jertzukka) 2023-06-29 23:24:47 +02:00
Mounir IDRASSI 417ff5564e Linux/FreeBSD: Make pcsclite a dependency of the packages and the generic installer 2023-06-29 23:15:03 +02:00
Mounir IDRASSI b750c67810 Translations: Add new messages related to EMV to XML files 2023-06-29 21:30:40 +02:00
Mounir IDRASSI 034b64f415 EMV keyfile support: Overall code improvements and bug fixes 2023-06-29 00:06:20 +02:00
Mounir IDRASSI 342f78c090 Increment version to 1.26.3. Update Release Notes 2023-06-28 19:18:35 +02:00
Mounir IDRASSI 47c081792c Windows: Add comboxbox to Format wizard to choose QuickFormat/FastCreate/FullFormat
This required changes to internal logic and addition of new UI strings
2023-06-28 18:12:17 +02:00
Mounir IDRASSI e0e043157f Documentation: Fix typos 2023-06-28 09:39:52 +02:00
Mounir IDRASSI 579ce2fd31 Windows: Better handling of quick format for file container
We write a zeroed sector every 128 MiB, leaving other sectors untouched
This helps users visualize the progress of actual file creation while forcing Windows to allocate the disk space of each 128 MiB chunk immediately, otherwise, Windows would delay the allocation until we write the backup header at the end of the volume which would make the user think that the format process has stalled after progress bar reaches 100%.
2023-06-28 00:47:58 +02:00
Mounir IDRASSI 9836fdccd9 Translations: Add new messages to XML files where it was missing 2023-06-27 15:40:38 +02:00
Mounir IDRASSI 83064d6cec Update language XML files with new Expander entries 2023-06-25 18:30:20 +02:00
Mounir IDRASSI 78d22e569b Windows: 100% localization of Expander UI strings 2023-06-25 18:08:59 +02:00
Mounir IDRASSI 394ed5d867 Windows: Better language localization support for Expander.
More work is needed to localize remaining string resources
2023-06-25 00:41:02 +02:00
Mounir IDRASSI 52b3e0113a Windows: Add 7zWindows.h file to Lzma project files 2023-06-24 22:01:12 +02:00
Mounir IDRASSI bb55343f63 Windows: if /fastCreateFile set, request SE_MANAGE_VOLUME_NAME privileges (credits: @xnoreq)
Display a warning if request failed and allow to continue without fast creation
2023-06-23 00:36:07 +02:00
Mounir IDRASSI 0e4f1ecee3 Windows: Make SetPrivilege return error if AdjustTokenPrivileges cannot adjust privileges 2023-06-23 00:32:24 +02:00
Mounir IDRASSI fbb1d18034 Windows: Allow selecting size unit (KB/MB/GB) for generated keyfiles
This change also makes it possible to generate keyfiles larger than 1 MiB although only the first 1 MiB will be taken into account by VeraCrypt.
Update strings in XML files
2023-06-20 23:15:46 +02:00
Mounir IDRASSI 2bfeba160c Windows: make Expander first check file existence before proceeding further 2023-06-18 23:31:18 +02:00
Mounir IDRASSI 031748a988 Linux: make .deb package compatible with Debian 12 2023-06-18 00:28:08 +02:00
Mounir IDRASSI 36a055f669 Linux/macOS: only wipe password/PIM text controls if they are not empty
This fixes a crash on macOS with latest wxWidgets 3.2.2.1 where
GetLineLength returns -1
2023-06-14 00:31:46 +02:00
Mounir IDRASSI 440df02355 Linux: Fix compatibility of generic installers with old Linux distros
In old Linux distributions, tar command doesn't support
"--keep-directory-symlink" so we now dynamically detect if this switch
is support and then we use it if it is available
2023-06-13 23:34:04 +02:00
Mounir IDRASSI 4cc203e7b3 Crypto: Fix detection of SSSE3 intrinsics in compiler
We use correct define CRYPTOPP_BOOL_SSSE3_INTRINSICS_AVAILABLE
2023-06-13 23:26:02 +02:00
Mounir IDRASSI 41516242d5 Linux: use wxWidgets 3.2.2.1 for official VeraCrypt Linux packages 2023-06-13 23:23:18 +02:00
Mounir IDRASSI 2639e39976 Linux: fix static build against wxWidgets 3.2.2.1
libcurl support must be explicitely disabled
GKT2 must be explicitely set as defaut in VeraCrypt Makefile since
wxWidgets 3.2.2.1 uses GKT3 as default
2023-06-13 23:16:39 +02:00
Mounir IDRASSI b0d0fbbcfd Documentation: Clarify various points in the documentation 2023-06-13 00:32:41 +02:00
Mounir IDRASSI 9ad75aaa0f Translations: restore lost change in Language.fr.xml. Translate two strings. 2023-06-10 00:51:33 +02:00
Mounir IDRASSI d5ef46ef74 Documentation: Document difference between normal dismount and force dismount 2023-06-09 22:37:53 +02:00
Mounir IDRASSI e7f5bca0b5 Update compilation doc to match website version 2023-06-09 20:16:49 +02:00
Mounir IDRASSI 9d9a73d4eb Update copyright in CHM file 2023-06-06 00:06:42 +02:00
Mounir IDRASSI 5ced64881c Update copyright on various files 2023-06-06 00:03:12 +02:00
Mounir IDRASSI b25ebeb7b4 Linux/macOS: Fix error during creation of installation package
"-R" switch was missing from the "cp" command
2023-06-05 22:46:20 +02:00
Mounir IDRASSI 4b46bdc253 Update copyrights in Readme.txt 2023-06-04 17:18:53 +02:00
Mounir IDRASSI 9086232d17 Increment version to 1.26.2. Update Release Notes 2023-06-04 17:17:54 +02:00
Mounir IDRASSI 22466535f1 Windows: Possible workaround for logarithmic slowdown for Encrypt-In-Place on large volumes (relates to #1063)
We replace absolute file pointer moving by relative moving with respect to current position. This was implemented as a workaround to address the performance issues related to in-place encryption. When using SetFilePointerEx() with FILE_BEGIN as the reference point, reaching the end of large drives during in-place encryption can cause significant slowdowns. By moving the file pointer relatively, these performance issues are mitigated.
2023-06-04 16:25:55 +02:00
Mounir IDRASSI 5e4e2e0483 Windows: Add dropdown menu to Mount button to allow mounting without cache 2023-06-02 09:39:14 +02:00
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