1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 19:08:26 -06:00
Commit Graph

1859 Commits

Author SHA1 Message Date
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
Marius Kjærstad
bb67a22ac4 Documentation: Update QR codes and logos (#1376)
* Documentation: Update QR codes and logos

* Add QR codes in 200x200 resolution
2024-07-11 23:19:09 +02:00
Mounir IDRASSI
526f03100f Linux: fix typo 2024-07-10 12:09:57 +02:00
Mounir IDRASSI
1312c537f5 Linux: fix crash when displaying Admin password dialog. Fix failure of Github action by using builtin GITHUB_TOKEN 2024-07-10 11:09:10 +02:00
Mounir IDRASSI
bc5c32ad14 Linux: Add Github CI workflow for Linux (#1374)
* 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-06 16:36:56 +02:00
Mounir IDRASSI
f83e252722 Linux/FreeBSD: Improve build scripts for Linux/FreeBSD to have correct name for generic GUI installer 2024-07-05 12:15:13 +02:00
Mounir IDRASSI
1ba6865ea1 Linux: Add linker flag for GCC version below 6.0 to improve ASLR security
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-05 10:36:04 +02:00
Jertzukka
ca69368ba4 MacOS: Support CommandLineTools for building (#1371)
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-07-01 22:35:31 +02:00
Mounir IDRASSI
9697416919 Linux: Make the C++ code compatible with old compilers (g++ 4.4.7 on CentOS 6) 2024-06-30 01:22:05 +02:00
Marius Kjærstad
1e7d6948c9 Line breaks between copyright holders (#1370) 2024-06-29 22:57:00 +02:00