Commit Graph

1797 Commits

Author SHA1 Message Date
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
Mounir IDRASSI
34c4c19517
Linux/FreeBSD: Fix GNU Make syntax error in Main.make 2024-06-26 09:54:56 +02:00
Mounir IDRASSI
2148714651
Linux/FreeBSD: Update build scripts: use wxwidgets 3.2.5, drop explicit GTK3 config since it detected automatically
We also update copyrights date
2024-06-26 02:29:22 +02:00
Mounir IDRASSI
31898a38d4
Linux/FreeBSD: use GTK3 flavor for default generic gui installer. create GTK2 specific gui installer. 2024-06-26 02:23:57 +02:00
Mounir IDRASSI
6f29514191
Linux/FreeBSD: automatically detect presence of GTK3. Remove WITHGTK3 makefile argument. 2024-06-26 01:31:23 +02:00
Jertzukka
292fe82840
Fix regression in core service deserialization (#1367)
Introducing data into the standard out in the core service will
cause deserialization problems, as the pipes are used for interprocess
communication.
2024-06-24 09:07:19 +02:00
Mounir IDRASSI
0ea32b02b9
MacOSX: Fix compiler warning
Update friend declaration in FuseService.h and refactor GetCharWidth to ComputeCharWidth in WaitDialog.h to avoif hiding GetCharWidth inherited from wxWindow
2024-06-23 22:43:14 +02:00
Mounir IDRASSI
f1f626cc56
Increment version to 1.26.12 2024-06-23 21:37:59 +02:00
Mounir IDRASSI
01361e300f
MacOSX: set FUSE-T workaround max delay to 5 seconds. Make logic specific to FUSE-T volumes. 2024-06-23 16:57:18 +02:00
Mounir IDRASSI
a23da988d2
MacOSX: Disable libtiff support in wxWidget full build 2024-06-23 16:54:43 +02:00
Mounir IDRASSI
210827d27c
MacOSX: Add notarization script and entitlements file used to create official VeraCrypt dmg 2024-06-23 12:55:13 +02:00
Mounir IDRASSI
5ca2eee624
MacOSX: use same version define in Info.plist files. Indicate 12.0 as minimum supported macOS version 2024-06-23 12:52:35 +02:00
Mounir IDRASSI
875a1da0fb
macOSX: Add "FUSE-T build" in About dialog when linking against FUSE-T instead of MacFUSE 2024-06-23 12:50:40 +02:00