Commit Graph
100 Commits
Author SHA1 Message Date
Mounir IDRASSI 06b3095e20 Increment version to 1.26.8 2023-10-10 23:15:18 +02:00
Mounir IDRASSI 92acca91f2 Translations: Fix missing "uk" lang key in some Ukrainian translations 2023-10-10 23:13:08 +02:00
Mounir IDRASSI a47f67bcc1 Windows: Fix writing wrong EFI configuration options to registry 2023-10-10 10:35:50 +02:00
Mounir IDRASSI 95bc7d55fe HTML Documentation: Update Russian translation by Dmitry Yerokhin 2023-10-09 00:24:23 +02:00
Mounir IDRASSI 35135cd1fb Windows: Fix expansion of volumes on devices with sector size!=512 (by skl0n6) 2023-10-08 15:56:42 +02:00
Mounir IDRASSI c91e5792ef Windows: Modified implementation for Secure Desktop handling to overcome Windows 11 issues
We use only alphanumeric characters for the name in addition to the '_' character
We ensure the random desktop name doesn't already exist
We create the random desktop on the Secure Desktop thread and we look over SwitchDesktop until it works.
We call SetThreadDesktop (hOriginalDesk) in main thread once we finish
2023-10-08 01:55:07 +02:00
Mounir IDRASSI 22ac25dde7 Harmonize copyright date and statements across various files 2023-10-06 00:13:28 +02:00
Mounir IDRASSI 42857b4930 Update various copyright dates 2023-10-05 09:07:35 +02:00
Mounir IDRASSI af5d91387e Translations: update Russian translation file and documentation by Dmitry Yerokhin. 2023-10-03 00:19:11 +02:00
Mounir IDRASSI d6964b38d3 Documentation: Fix wrong version and URL of Language Pack file. 2023-10-03 00:18:07 +02:00
Mounir IDRASSI bd843ffa05 Linux: Fix compilation error on some 32-bit machines. 2023-10-02 18:02:33 +02:00
Mounir IDRASSI 8f8c871ae3 Fix typo in Release Notes 2023-10-02 09:16:26 +02:00
Mounir IDRASSI 9d36f15bfc MacOS: Fix Blake2s SSE 4.1 not being built
For now, we set GCC_GTEQ_430 to 1 to each OS. Later we will always
suppose that gcc is newer than 4.3 and remove this logic.
2023-10-01 18:52:55 +02:00
Mounir IDRASSI 8eb232a4a3 MacOS: set minimum target to OSX 12. Fix About menu not working.
The modification to Forms.cpp is temporary until we find a better
approach
2023-10-01 18:51:20 +02:00
Mounir IDRASSI 19fa1f8684 Linux: use "-std=c++11" for gcc 4.8 and adapt code to old compilers 2023-10-01 11:06:46 +02:00
Mounir IDRASSI da49ebb927 Linux: Better detection of gcc version to correctly enable c++11
This allows to build correctly under CentOS 6 and CentOS 7
2023-10-01 00:48:57 +02:00
Mounir IDRASSI 0df7976e32 XML translations: increment version to 1.26.7 in Simplified Chinese file 2023-09-30 15:12:20 +02:00
Mounir IDRASSI 54ef22ce0a XML translations: downgrade version of Simplified Chinese to be able to merge PR 2023-09-30 15:09:08 +02:00
Mounir IDRASSI 8d87b6a778 Windows: Update MBR bootloader for version 1.26.7 2023-09-30 11:24:05 +02:00
Mounir IDRASSI 53cbe028cd Increment version to 1.26.7. Set release date to October 1st. Update Windows signed driver files. 2023-09-30 11:20:46 +02:00
Mounir IDRASSI b96ae29abd Documentation: Add documentation for RAM Encryption 2023-09-30 11:08:59 +02:00
Mounir IDRASSI c0f8179f2a Windows: enhancement to RAM encryption
- use a more standard-looking memory value tag instead of fully random one that will look suspicious and outstanding
 - If we fail to allocate 1MiB for derivation area, we device the size by two in a loop until we succeed. This is better than falling back directly to 8KiB size
 - Better method to derive actual encryption key: instead of simply duplicating 128bit key value, we combine a xor addition and self-encryption to build a 256-bit key
 - use both encID and pbKeyDerivationArea to derive IV for encryption and not only endID
2023-09-29 22:26:54 +02:00
Mounir IDRASSI 5192eac233 Windows Driver: Use KeQueryInterruptTimePrecise on Windows 8.1 and newer as better seed for internal RNG compared to KeQueryInterruptTime 2023-09-29 22:14:43 +02:00
Mounir IDRASSI 5234c479a4 Translations: update Russian translation file by Dmitry Yerokhin. 2023-09-29 01:50:24 +02:00
Mounir IDRASSI 662b8d1b2f Windows: during Setup, and if VeraCrypt already installed, open online help only if PC connected to Internet 2023-09-26 01:22:24 +02:00
Mounir IDRASSI 4cb4ec3500 Documentation: Mention Upgrade/Repair/Reinstall case in Memory Protection help page 2023-09-26 01:20:34 +02:00
Mounir IDRASSI 7f902227b0 Documentation: Add entry in FAQ about ghost drive that maybe listed by VeraCrypt on Windows
Behavior report in Github: https://github.com/veracrypt/VeraCrypt/issues/1212.
There is also a Reddit thread about it: https://www.reddit.com/r/VeraCrypt/comments/r9sg11/veracrypt_showing_a_hdd_which_does_not_exist/

Closes #1212
2023-09-24 22:24:21 +02:00
Mounir IDRASSI bbced81c6e Documentation: mention that OS reboot is required after changing memory protection status 2023-09-24 21:53:29 +02:00
Mounir IDRASSI 718f11d9c3 Windows: make Setup correctly manage option to disable memory protection during upgrade 2023-09-24 12:48:34 +02:00
Mounir IDRASSI 937c5cd5cd Windows: always open online help in case of Setup because local help may be outdated 2023-09-24 01:41:35 +02:00
Mounir IDRASSI 76c64d49ea Windows: Add tooltip message and help button for new option to disable memory protection
Also a dedicated page in the documentation was added for it.
2023-09-24 01:26:02 +02:00
Mounir IDRASSI 07c827c849 Language XML files: update Russian XML file by Dmitry Yerokhin. 2023-09-23 10:08:57 +02:00
Mounir IDRASSI 91b3f0af0c Linux/MacOSX: Increment packaging version to 1.26.6 2023-09-22 22:23:13 +02:00
Mounir IDRASSI 81c87a8f0b Windows: Load Riched20.dll to use RichEdit control. Use InitCommonControlsEx instead of InitCommonControls 2023-09-21 22:42:35 +02:00
Mounir IDRASSI d02734dfaa Update Release Notes. Increment version to 1.26.6. 2023-09-21 01:31:35 +02:00
Mounir IDRASSI 273d285c5c Documentation: Update the list of supported OSs 2023-09-21 01:28:45 +02:00
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