Mounir IDRASSI
cb97351250
Windows: Remove support for 32-bit driver code. Set build target as Windows 10. Simplify code and fix all warnings in driver.
2024-11-13 02:08:51 +01:00
Mounir IDRASSI
ec4b44c238
Windows: Use BCryptGenRandom instead of deprecated CryptGenRandom to generate secure random bytes
2024-11-13 02:04:13 +01:00
Mounir IDRASSI
a1ade61c59
Linux: Fix build error caused by changes for dynamic CPU SHA support detection
2024-11-11 00:04:46 +01:00
Mounir IDRASSI
262b745940
Linux: Fix detection of SHA CPU support on virtualized environment by trying SHA instruction
2024-11-10 23:36:57 +01:00
Mounir IDRASSI
73684e56d8
Linux: Fix build error following SHA intrinsic support changes
2024-11-10 21:42:24 +01:00
Mounir IDRASSI
04c747fb2d
Add support for SHA-256 x86 instrinsic for enhance performance of PBKDF2-HMAC-SHA256
2024-11-10 21:08:00 +01:00
Mounir IDRASSI
92ad97ef33
Linux: Improve directory opening logic by prioritizing xdg-open and adding fallback mechanisms ( #1420 )
...
- Use xdg-open as the primary method for opening directories, ensuring compatibility with most Linux environments.
- Implemented fallback logic to try other known file managers (e.g., nautilus, dolphin, caja, thunar) if xdg-open is unavailable or fails.
Based on proposal by @bugtracker2019
2024-09-24 03:55:33 +02:00
Mounir IDRASSI
ba8dd5137a
Linux: Add Fedora as supported distribution in CMakeLists.txt
2024-09-22 11:46:01 +02:00
Mounir IDRASSI
68e2e01745
Windows: Fix EFI configuration editor various issues
...
We always using Unicode functions to interact with UI. We convert UTF8 string to UTF16 and vis-versa.
Overwrite input string instead of using resize that caused old test to remain.
Fix case of readOnly by using correct message.
change position of OK/cancel button to match other dialogs.
Activate translation on this dialog.
2024-09-19 00:36:31 +02:00
Mounir IDRASSI
aaf42a84a7
Linux: fix assert by wxWidgets library included in Ubuntu.
2024-09-18 15:08:31 +02:00
Mounir IDRASSI
380850787e
Windows: Simplify error message related to IsEfiBoot since it always fail with ERROR_INVALID_FUNCTION
...
Proposed by @kriegste on https://github.com/veracrypt/VeraCrypt/issues/360
2024-09-17 18:25:52 +02:00
Mounir IDRASSI
866fc8f513
macOS: fix regression in build script that caused it to ignore fuset switch
...
fixed by Mattoje #1417
2024-09-17 17:57:14 +02:00
Mounir IDRASSI
5c485e80b6
macOS: restrict --allow-screencapture switch to macOS only since screen protection doesn't work on Linux
...
In the code we also enable it for TC_WINDOWS but actually we don't use wxWidgets for Windows build.
2024-09-17 00:12:28 +02:00
Deniz Türkoglu
e0a46f6b2b
Add Option to Enable/Disable Screen Capture ( #1418 )
...
Veracrypt currently appears in screenshots and screen captures,
which can unintentionally expose sensitive information, such as
the fact that Veracrypt is running or the location of your volumes.
Both Windows and macOS offer mechanisms to exclude specific windows
from being captured. While not foolproof, this is a useful preventative
measure. The method is a no-op for Linux/FreeBSD.
For more details on the wxWidgets API, see:
https://docs.wxwidgets.org/3.2/classwx_top_level_window.html#a337b9cec62b0cbd3b1b1545a83270f64
2024-09-17 00:05:21 +02:00
Mounir IDRASSI
eb0eec7b39
Windows: Fix failed EFI detection on some PCs where BootOrder variable is not defined.
...
we now report that EFI is not support only when GetFirmwareEnvironmentVariable fails with error ERROR_INVALID_FUNCTION.
Proposed by @kriegste on https://github.com/veracrypt/VeraCrypt/issues/360
2024-09-16 23:11:37 +02:00
Mounir IDRASSI
3a1c8bac59
macOS: enhance macOS build script(allow local build, specify wxWidgets version, control packaging)
...
Based on proposal by @Mattoje in https://github.com/veracrypt/VeraCrypt/issues/1417
2024-09-16 22:42:43 +02:00
Mounir IDRASSI
01dfd0e72b
Linux/macOS: Fix missing define that was causing compilation error
2024-09-10 23:32:42 +02:00
Mounir IDRASSI
4a8f068ba5
Windows: Add support for x86 and x64 build for driver and binaries using Visual Studio 2019
...
We also enable Control Flow Guard and Spectre Mitigation
2024-09-08 17:14:31 +02:00
Mounir IDRASSI
66ce6998b6
Windows: use wcstok_s instead of wcstok for more secure parsing of directory path
2024-09-08 17:10:56 +02:00
Mounir IDRASSI
0970a98c84
Windows: Fix bug in disabling of Windows privileges, they were completely removed instead
...
This started to cause issues after latest changes to disable privileges when they are no more needed.
Because of the bug, the privileges could not be enabled again because they were wrongly removed.
2024-09-02 14:08:26 +02:00
Mounir IDRASSI
f024653450
Windows: Fix truncated displayed error message
2024-09-02 14:02:46 +02:00
Mounir IDRASSI
dd33a16bb0
Windows: Ensure that installation folder is removed after MSI uninstall by scheduling removal on reboot if needed
2024-09-01 22:19:07 +02:00
Mounir IDRASSI
279b3455a1
Windows: Fix MSI not overwriting existing data files (chm, html, xml) with new version
...
We use Checksum attribute so that MSI compares hash of file on disk with expected value and trigger overwrite if they differ
2024-09-01 18:01:26 +02:00
Mounir IDRASSI
71dc18aaa2
Windows: Fix MSI not installing all new documentation file. Remove old files left from old versions. Increment version to 1.26.15.
2024-09-01 17:20:01 +02:00
Mounir IDRASSI
28b20acab0
Wndows: Fix error 1603 returned by MSI silent install when REBOOT=ReallySuppress specified and a reboot is required
...
In this case, installation was done by the customer action VC_CustomAction_DoChecks was returning the error ERROR_INSTALL_FAILURE (1603)nevertheless.
Now we return success code correctly.
2024-08-30 15:21:21 +02:00
Mounir IDRASSI
fa874cc611
Linux: Add script to sign generated rpms
2024-08-25 18:56:41 +02:00
Mounir IDRASSI
af734f41df
Increment version to 1.26.14. Set release date to August 25th.
2024-08-25 09:55:44 +02:00
Mounir IDRASSI
d6f0250901
Linux/MacOSX: Only load valid XML language files (Language.langid.xml format with langid one of the predefined language identifiers)
2024-08-25 09:36:38 +02:00
Mounir IDRASSI
380ca35c6d
Windows: Fix regression causing crash when a wrong password is used when changing password of volumes
2024-08-24 18:02:16 +02:00
Mounir IDRASSI
25c88fe3d3
Revert "Add Hausa translation ( #1404 )" ( #1407 )
...
This reverts commit ce9537f2b8 .
2024-08-22 06:53:26 +02:00
Marius Kjærstad
ce9537f2b8
Add Hausa translation ( #1404 )
2024-08-21 20:20:46 +02:00
Mounir IDRASSI
695d1735a0
Windows: Only load valid XML language files (Language.xx.xml or Language.xx-yy.xml format)
2024-08-21 09:24:57 +02:00
Mounir IDRASSI
0f94015041
Windows: Enhance packaging batch file to bundle only valid XML language files
...
This prevents the inadvertent inclusion of XML file artifacts (e.g., Language.fr - Copy.xml) during the creation of installers.
2024-08-21 07:32:04 +02:00
Mounir IDRASSI
2ea486e856
Update Release Notes. Set release date to August 17th.
2024-08-17 15:14:33 +02:00
Mounir IDRASSI
17ad739405
Windows: better handling of reading EFI variable to display help error messages in case of failure.
...
Now we accept the possibility of BootOrder EFI variable to be empty in order to try to solve issues on some PCs.
2024-08-14 10:58:52 +02:00
Mounir IDRASSI
c167799506
Windows: fix build failure for x86/x64 with newer Visual Studio that use Windows 10/11 SDK
...
We set Windows 8 as minimum API support fir Visual Studio 2015 and newer.
Closes #1398
2024-08-13 15:12:21 +02:00
Mounir IDRASSI
34ecb3a74d
Fix another typo of "CPLC" is language files including English one.
2024-08-11 04:31:19 +02:00
Mounir IDRASSI
81f7d9997c
Revert changes mistakenly included in previous commit
2024-08-11 01:24:14 +02:00
Mounir IDRASSI
d0fdc29d25
Fix typo of "CPLC" is language files including English one.
2024-08-11 01:22:24 +02:00
Mounir IDRASSI
715380afbb
Update mount failure error messages to mention removal of TrueCrypt support and old algorithms.
2024-08-05 21:42:31 +02:00
lollolong
321637e0e0
Windows: disable dropdown split button in volume expander ( #1389 )
2024-08-05 20:52:01 +02:00
Marius Kjærstad
d4f2176e25
Undeclared identifier for IDR_LANG_NB fixed ( #1388 )
2024-08-05 19:32:00 +02:00
Mounir IDRASSI
29c78490ef
Update Release Notes. Set release date to August 4th.
2024-08-04 11:27:49 +02:00
Mounir IDRASSI
c8b9a73916
Windows: Fix rare cases being stuck in Secure Desktop after it is used for password entry
...
Cause seems to be IME as documented in KeePass project (https://keepass.info/help/kb/sec_desk.html#ime ). We use the same approach as KeePass to disable IME in Secure Desktop.
This commit also add few changes:
- we switch to secure desktop only if SetThreadDesktop succeeds
- we call SwitchDesktop to switch to original desktop only if we actually succeeded in displaying secure desktop
2024-08-04 10:25:12 +02:00
Marius Kjærstad
75b2512dba
Add Norwegian Bokmål translation ( #1382 )
...
* Add Norwegian Bokmål translation
* Fix Norwegian Bokmål translation
2024-08-03 05:52:44 +02:00
Mounir IDRASSI
86bc9b56f0
Increment version to 1.26.13. Update release notes. Update signed Windows drivers.
2024-08-02 00:55:32 +02:00
Mounir IDRASSI
ed1263bf8c
Implement detection of volumes with vulnerable XTS master key.
...
If vulnerability detected, a warning message is displayed during mount or backup/restore header, and changing the password is disallowed since it will not change the master key.
2024-08-02 00:20:53 +02:00
Mounir IDRASSI
70cd0c0b1b
Update CHM documentation. Use correct date of 1.26.12 in header.
2024-07-24 14:01:07 +02:00
Mounir IDRASSI
462c10fbbd
Windows: Update WiX and SDK paths in build bat files
2024-07-24 13:55:55 +02:00
Mounir IDRASSI
1ee93df3b4
Linux: fix linker type confusion that was causing crash.
...
The class AdminPasswordRequestHandler was defined in several places in the same namespace and the linker was picking up one definition for constructor and the other one when calling virtual method.
Now we use different named for different implementations.
2024-07-13 10:14:52 +02:00