Mounir IDRASSI
340b773ed2
Translations: Add missing entries to Estonian XML file
2023-09-21 01:27:41 +02:00
Mounir IDRASSI
0fe6ef22f5
Translations: Add newly added string entry IDC_DISABLE_MEMORY_PROTECTION
2023-09-21 01:21:30 +02:00
Mounir IDRASSI
6c7e055f3f
Windows: use separate name for SetProcessMitigationPolicy function point. Remove unneeded boolean
2023-09-21 01:16:11 +02:00
Mounir IDRASSI
0f3ae268a4
Windows: Add setting in main UI and setup wizard to disable memory protection
...
This can be useful for users who need Accessibility software that may not work when memory protection is active in VeraCrypt
2023-09-20 09:39:22 +02:00
Mounir IDRASSI
b1657e88e4
Windows Security: make memory protection enabled by default. Add process mitigation (ASLR, Dynamic code, extension points)
...
Memory protection can be disabled using registry value "VeraCryptEnableMemoryProtection" under the key "HKLM\SYSTEM\CurrentControlSet\Services\veracrypt"
2023-09-18 00:13:52 +02:00
Mounir IDRASSI
fb8ae98c73
Windows: use same manifest structure for Expander as in Mount and Format
2023-09-18 00:07:10 +02:00
Mounir IDRASSI
d2f2defca9
Windows: replace CoInitialize calls with CoInitializeEx
2023-09-11 00:03:28 +02:00
Mounir IDRASSI
aa311a6fad
Windows: Indicate in manifest files that support starts from Windows 7
2023-09-10 23:57:53 +02:00
Mounir IDRASSI
83f3839b37
Translations: Add new field IDC_LINK_KEYFILES_EXTENSIONS_WARNING to language files
2023-09-10 09:37:25 +02:00
Mounir IDRASSI
a8972c6569
Documentation: Indicate in System Encryptiom documentation that pasting passwords from clipboard is disabled during System Encryption wizard.
2023-09-09 18:04:18 +02:00
Mounir IDRASSI
a903049858
Linux/macOS: simplify logic of handling /dev/random reading failure (proposed by @Lavode in #1187 )
...
Fixes #1187
2023-09-08 09:49:07 +02:00
Mounir IDRASSI
f15052e68d
Windows: Add link in keyfiles dialog to documentation page for risks of third-party file extensions usage.
2023-09-08 09:38:51 +02:00
Mounir IDRASSI
0ad5c43eb4
Windows: remove recommendation of keyfiles files extensions and update documentation to mention risks of third-party file extensions.
...
This commit also adds red color to the warning text about keyfiles in keyfiles dialogs.
2023-09-06 01:42:23 +02:00
Mounir IDRASSI
2a6726b00e
Windows: Replace legacy file/dir selection APIs with modern IFileDialog interface
...
We remove usage of GetOpenFileNameW/GetSaveFileNameW/SHBrowseForFolderW which are deprecated by Microsoft
2023-09-03 23:42:41 +02:00
Mounir IDRASSI
201d09ff5a
Windows: remove legacy code (XP, Vista). Simplify code since Windows 7 is now minimal OS version.
2023-09-03 16:47:41 +02:00
Mounir IDRASSI
d68b9546bd
Windows: simpler and more robust safe dll loading combined with delay loading thanks to Windows 7 being minimum supported version.
...
We also block execution on Windows versions older than Windows 7.
A lot of code was removed thanks to this.
2023-09-03 00:58:34 +02:00
Mounir IDRASSI
7b48d16fbd
HTML Documentation: Update Russian translation by Dmitry Yerokhin
2023-09-03 00:50:37 +02:00
Mounir IDRASSI
87834fb330
Language XML files: update Russian XML file by Dmitry Yerokhin.
2023-09-03 00:48:41 +02:00
Mounir IDRASSI
14fee0da1a
Linux/macOS: preserve unknown entries in configuration file
...
This helps to preserve unknown entries that may be used by future
versions of VeraCrypt (forward compatibility) or entries used by old
versions that were removed from current version (backward compatibility)
2023-09-02 01:37:52 +02:00
Mounir IDRASSI
8e2329bf9e
Language XML files: update Czech translation (contributed by Lagardere)
2023-08-30 11:33:12 +02:00
Mounir IDRASSI
fd0d2e3353
Windows: Set minimum build target to Windows 7
2023-08-20 09:59:47 +02:00
Mounir IDRASSI
0dc4754c63
Windows: delay load bcrypt.dll to reduce startup dependency loading until setting safe dll loading
2023-08-20 09:57:38 +02:00
Mounir IDRASSI
89d340271c
Update Release Notes with latest Linux fix for hidden volume in CLI
2023-08-20 00:28:06 +02:00
Mounir IDRASSI
34ef189a92
Linux: try use IOCTL BLKGETSIZE64 to get size of device instead of lseek
2023-08-19 20:47:43 +02:00
Mounir IDRASSI
9d8afdad93
Linux: Fix wrong max size for hidden volume in CLI direct mode creation
...
There was a logical bug that made the code check the filesystem size of
the device path "/dev" instead of using the actual size of the device
Fix #1180
2023-08-19 20:44:32 +02:00
Mounir IDRASSI
d3ecffac3b
Fix typo in Release Notes
2023-08-16 01:25:10 +02:00
Mounir IDRASSI
9bd6a46785
Windows: Update MBR bootloader files to 1.26.5 build
2023-08-15 10:17:04 +02:00
Mounir IDRASSI
e47f6e900c
Update Release Notes and set date of 1.26.5 to August 15th
2023-08-15 09:48:51 +02:00
Mounir IDRASSI
d555ecf3c9
Translation XML: reintroduce new entry to zh-cn xml file
2023-08-14 09:50:46 +02:00
Mounir IDRASSI
4e6268e5d5
Translation XML: remove new entry for zh-cn to merge GH pull request without conflict
...
This avoids using a merge strategy that would have polluted git history (no squash possible)
2023-08-14 09:48:06 +02:00
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