VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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.
2024-07-11Documentation: Update QR codes and logos (#1376)Marius Kjærstad1-2/+2
* Documentation: Update QR codes and logos * Add QR codes in 200x200 resolution
2024-07-10Linux: fix typoMounir IDRASSI1-1/+1
2024-07-10Linux: fix crash when displaying Admin password dialog. Fix failure of ↵Mounir IDRASSI1-27/+26
Github action by using builtin GITHUB_TOKEN
2024-07-06Linux: Add Github CI workflow for Linux (#1374)Mounir IDRASSI7-74/+239
* Linux/MacOSX: during build, fallback to /tmp if wxWidgets sources not found in parent directory * Linux: Add Github workflow to build .deb files and test generated binaries * Linux: fix wrong wxWidgets extract path in yaml * fix: fix wrong wxWidgets extract path in yaml * Linux: harmonize content of test volumes and update Github workflow for this * Fix corrupted test container * Linux: optimize Github workflow by caching wxBuildConsole and wxBuildGUI folders We also modify build script to detect the presence of wxBuildConsole and wxBuildGUI folders and reuse them * Remove files mistakenly added * Linux: Fix wrong test for Github workflow * Linux: use static build of wxWidgets for GUI in Github workflow * Linux: upload also .deb SHA256SUM file if it is generated in Github workflow * Linux: fix detection logic of parent folder in build scripts * Github workflow: add build_cmake_deb.sh as trigger to build-linux.yml * Github workflow: add wxWidgets source code to the cache of workflow
2024-07-05Linux/FreeBSD: Improve build scripts for Linux/FreeBSD to have correct name ↵Mounir IDRASSI1-3/+28
for generic GUI installer
2024-07-05Linux: Add linker flag for GCC version below 6.0 to improve ASLR securityMounir IDRASSI1-0/+6
Reported on https://sourceforge.net/p/veracrypt/discussion/technical/thread/90f967e642 reference: https://grsecurity.net/toolchain_necromancy_past_mistakes_haunting_aslr script to check: https://github.com/opensrcsec/paxtest/blob/master/contrib/check_align.sh
2024-07-01MacOS: Support CommandLineTools for building (#1371)Jertzukka2-11/+9
Full Xcode application which can take up-to 40GB of disk space is not necessary for building VeraCrypt, rather the CommandLineTools for XCode are sufficient which only take few gigabytes. Instead of hardcoding the SDK location, use xcrun --show-sdk-path to support also the CommandLineTools instance. The reason for switching the logic for the XCode version is because the xcodebuild will not report a correct XCode version for the CommandLineTools, thus it can't be relied for whether to use the -Wl,-ld_classic flags. Instead, we can just check the ld version in use in the active developer directory, and see whether we are using dyld (the new) or ld64 (the old).
2024-06-30Linux: Make the C++ code compatible with old compilers (g++ 4.4.7 on CentOS 6)Mounir IDRASSI13-130/+138