VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
3 daysWindows: Remove support for 32-bit driver code. Set build target as Windows ↵Mounir IDRASSI31-777/+512
10. Simplify code and fix all warnings in driver.
3 daysWindows: Use BCryptGenRandom instead of deprecated CryptGenRandom to ↵Mounir IDRASSI1-27/+21
generate secure random bytes
5 daysLinux: Fix build error caused by changes for dynamic CPU SHA support detectionMounir IDRASSI2-56/+61
5 daysLinux: Fix detection of SHA CPU support on virtualized environment by trying ↵Mounir IDRASSI1-0/+66
SHA instruction
5 daysLinux: Fix build error following SHA intrinsic support changesMounir IDRASSI2-4/+7
6 daysAdd support for SHA-256 x86 instrinsic for enhance performance of ↵Mounir IDRASSI16-3/+333
PBKDF2-HMAC-SHA256
2024-09-24Linux: Improve directory opening logic by prioritizing xdg-open and adding ↵Mounir IDRASSI1-46/+52
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-22Linux: Add Fedora as supported distribution in CMakeLists.txtMounir IDRASSI1-2/+13
2024-09-19Windows: Fix EFI configuration editor various issuesMounir IDRASSI2-7/+47
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-18Linux: fix assert by wxWidgets library included in Ubuntu.Mounir IDRASSI1-1/+4
2024-09-17Windows: Simplify error message related to IsEfiBoot since it always fail ↵Mounir IDRASSI1-20/+6
with ERROR_INVALID_FUNCTION Proposed by @kriegste on https://github.com/veracrypt/VeraCrypt/issues/360
2024-09-17macOS: fix regression in build script that caused it to ignore fuset switchMounir IDRASSI1-1/+1
fixed by Mattoje #1417
2024-09-17macOS: restrict --allow-screencapture switch to macOS only since screen ↵Mounir IDRASSI1-0/+2
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-17Add Option to Enable/Disable Screen Capture (#1418)Deniz Türkoglu6-0/+22
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-16Windows: Fix failed EFI detection on some PCs where BootOrder variable is ↵Mounir IDRASSI1-1/+1
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-16macOS: enhance macOS build script(allow local build, specify wxWidgets ↵Mounir IDRASSI1-26/+77
version, control packaging) Based on proposal by @Mattoje in https://github.com/veracrypt/VeraCrypt/issues/1417
2024-09-10Linux/macOS: Fix missing define that was causing compilation errorMounir IDRASSI1-0/+2
2024-09-08Windows: Add support for x86 and x64 build for driver and binaries using ↵Mounir IDRASSI26-168/+2518
Visual Studio 2019 We also enable Control Flow Guard and Spectre Mitigation
2024-09-08Windows: use wcstok_s instead of wcstok for more secure parsing of directory ↵Mounir IDRASSI2-107/+107
path
2024-09-02Windows: Fix bug in disabling of Windows privileges, they were completely ↵Mounir IDRASSI1-2/+2
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-02Windows: Fix truncated displayed error messageMounir IDRASSI1-4/+4
2024-09-01Windows: Ensure that installation folder is removed after MSI uninstall by ↵Mounir IDRASSI1-0/+90
scheduling removal on reboot if needed
2024-09-01Windows: Fix MSI not overwriting existing data files (chm, html, xml) with ↵Mounir IDRASSI1-470/+458
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-01Windows: Fix MSI not installing all new documentation file. Remove old files ↵Mounir IDRASSI39-148/+1067
left from old versions. Increment version to 1.26.15.
2024-08-30Wndows: Fix error 1603 returned by MSI silent install when ↵Mounir IDRASSI1-0/+1
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-25Linux: Add script to sign generated rpmsMounir IDRASSI1-0/+54
2024-08-25Increment version to 1.26.14. Set release date to August 25th.Mounir IDRASSI37-47/+47
2024-08-25Linux/MacOSX: Only load valid XML language files (Language.langid.xml format ↵Mounir IDRASSI1-5/+14
with langid one of the predefined language identifiers)
2024-08-24Windows: Fix regression causing crash when a wrong password is used when ↵Mounir IDRASSI3-3/+3
changing password of volumes
2024-08-22Revert "Add Hausa translation (#1404)" (#1407)Mounir IDRASSI7-7/+0
This reverts commit ce9537f2b847b9b3b89e8dfca377d2659b3f02fc.
2024-08-21Add Hausa translation (#1404)Marius Kjærstad7-0/+7
2024-08-21Windows: Only load valid XML language files (Language.xx.xml or ↵Mounir IDRASSI1-0/+44
Language.xx-yy.xml format)
2024-08-21Windows: Enhance packaging batch file to bundle only valid XML language filesMounir IDRASSI1-1/+17
This prevents the inadvertent inclusion of XML file artifacts (e.g., Language.fr - Copy.xml) during the creation of installers.
2024-08-17Update Release Notes. Set release date to August 17th.Mounir IDRASSI1-1/+1
2024-08-14Windows: better handling of reading EFI variable to display help error ↵Mounir IDRASSI1-4/+44
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-13Windows: fix build failure for x86/x64 with newer Visual Studio that use ↵Mounir IDRASSI1-1/+7
Windows 10/11 SDK We set Windows 8 as minimum API support fir Visual Studio 2015 and newer. Closes #1398
2024-08-11Fix another typo of "CPLC" is language files including English one.Mounir IDRASSI1-1/+1
2024-08-11Revert changes mistakenly included in previous commitMounir IDRASSI2-1/+2
2024-08-11Fix typo of "CPLC" is language files including English one.Mounir IDRASSI3-3/+2
2024-08-05Update mount failure error messages to mention removal of TrueCrypt support ↵Mounir IDRASSI1-6/+6
and old algorithms.
2024-08-05Windows: disable dropdown split button in volume expander (#1389)lollolong1-0/+4
2024-08-05Undeclared identifier for IDR_LANG_NB fixed (#1388)Marius Kjærstad5-0/+5
2024-08-04Update Release Notes. Set release date to August 4th.Mounir IDRASSI1-1/+1
2024-08-04Windows: Fix rare cases being stuck in Secure Desktop after it is used for ↵Mounir IDRASSI1-18/+38
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-03Add Norwegian Bokmål translation (#1382)Marius Kjærstad2-0/+2
* Add Norwegian Bokmål translation * Fix Norwegian Bokmål translation
2024-08-02Increment version to 1.26.13. Update release notes. Update signed Windows ↵Mounir IDRASSI45-54/+54
drivers.
2024-08-02Implement detection of volumes with vulnerable XTS master key.Mounir IDRASSI24-7/+186
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-07-24Update CHM documentation. Use correct date of 1.26.12 in header.Mounir IDRASSI1-2/+2
2024-07-24Windows: Update WiX and SDK paths in build bat filesMounir IDRASSI2-9/+11
2024-07-13Linux: fix linker type confusion that was causing crash.Mounir IDRASSI3-32/+32
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.