Commit Graph

2350 Commits

Author SHA1 Message Date
Daniel Dias Rodrigues
addf94e214
Updated pt-br translation. (#1379) 2024-07-21 01:28:24 +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
82b9eef880
Documentation: Update release notes and other pages 2024-07-07 23:15:48 +02:00
Mounir IDRASSI
29878ae569
Documentation: Update BTC, ETH and LTC addresses QR codes to include the cryptocurrency name in the encoded address 2024-07-07 22:39:21 +02:00
Mounir IDRASSI
c54c458324
Documentation: Add warning note in TrueCrypt conversion page about TrueCrypt checkbox use after volume is converted 2024-07-07 18:31:25 +02:00
Mounir IDRASSI
cd90170f5d
Activate Github workflow for master branch 2024-07-06 16:40:16 +02:00
Mounir IDRASSI
9b87199ca5
Activate Github linux workflow for main branch 2024-07-06 16:39:22 +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
Sébastien Geeraert
3095fc265a
Fix typos in the French translation (#1373) 2024-07-06 08:23:05 +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
Ozero4
d7e442258a
Update Language.fr.xml (#1372) 2024-07-04 02:04:18 +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
f934f45c2d
Fix error in translation xml (#1368)
Needed to pass xml validator
2024-06-24 09:08:07 +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
Mounir IDRASSI
423352056e
Update copyright date in some files 2024-06-23 12:49:08 +02:00
Mounir IDRASSI
03ad95164b
Increment version to 1.26.11. Update Release Notes. 2024-06-23 12:43:26 +02:00
Mounir IDRASSI
edde1d45f6
MacOSX: Add for using FUSE-T instead of MacFUSE
The build script build_veracrypt_macosx.h now accepts the argument -f to enable fuse-t support.
It is also possible to set the environment variable VC_OSX_FUSET to 1 for FUSE-T support.
A change was done in CoreUnix::GetMountedVolumes to add a waiting loop  for control file to be accessible because when using FUSE-T there always a delay before control file can be serialized.
2024-06-22 01:13:20 +02:00
Mounir IDRASSI
8b01b533cf
MacOSX: Fix compilation error in build configurations other than official release 2024-06-21 09:48:18 +02:00
Mounir IDRASSI
c370d4887c
Linux: Fix assembly files not built on Linux
This is a regression caused by macOS changes. And endif statement was misplaced.
2024-06-19 09:02:31 +02:00
Mounir IDRASSI
779d755eac
fix: Correct missing 'endif' in Main.make for MacOSX section
Replaced an incorrect 'end' statement with 'endif' in the
MacOSX-specific section of the Main.make file. This resolves the make
error caused by an unclosed conditional block.
2024-06-18 23:36:16 +02:00
Deniz Türkoglu
688086011d
Improve documentation (#1360)
* Improve markdown documentation in README.md

This commit fixes some of the minor spelling mistakes and uses
markdown formatting to link to local files, for documentation.

* Remove reference to outdated packages installation

This is a legacy installation file that is no longer maintained.
2024-06-18 00:49:11 +02:00
Mounir IDRASSI
329866ae4c
MacOSX: Update macOS specifics part of the Readme 2024-06-16 21:32:05 +02:00
Mounir IDRASSI
8b73ccd07a
MacOSX: Fix whitespaces by using tabs in Makefile 2024-06-16 15:50:59 +02:00
Mounir IDRASSI
e4e83d30c1
MacOSX: Use wxWidgets 3.2.5. Detect SDK version dynamically. Remove unused "r" getopts option. 2024-06-16 15:28:33 +02:00
Mounir IDRASSI
978ebe6693
MacOSX: Fix skipping codesign and productsign for local development build 2024-06-16 15:10:57 +02:00
Mounir IDRASSI
a92cefa605
MacOSX: Add universal binary of yasm so that it can run on arm64 machines 2024-06-16 14:49:15 +02:00
Mounir IDRASSI
8a4962dc07
MacOSX: Better build flags logic handling. Suppress Xcode 15 linked warning. 2024-06-16 14:46:31 +02:00
Deniz Türkoglu
406a1686f5
Improve and simplify macOS builds (#1276)
* Add missing macOS requirement for 'make package'

We need packages for the last build step on macOS, update docs
to reflect the requirement.

* Add build instructions using homebrew

On macOS, we can use a package manager to easily install
dependencies. This simplifies onboarding and building Veracrypt.

* Add flag to use homebrew packages

When building, we can use prebuilt wxwidgets from homebrew to
simplify and speed up local building. We also put the package
behind a flag as it's optional during development.

* Skip signing for local builds

When building with homebrew, skip signing. This can be put behind
a flag to enable, if needed.

* Use system yasm on macOS if available

The binary in the repo is not universal (x86_64) and therefore
building fails on arm architecture if Rosetta is not installed.

Use local yasm if available.

* Build local arch only in development

When building via homebrew and locally, build only the local arch
which skips ASM for arm(Mx) for MacOS. This removes the need to
have rosetta installed for building.

* Fix compilation issue when COMPILE_ASM is undefined

Use a conditional check for COMPILE_ASM not being false instead of true.
This avoids passing the variable to other parts of the build script.

* Set SDK 12 as the minimum requirement and target

Align the requirement to SDK 12 in both the makefile and script,
and update the comment to remove confusion.
I chose to leave this on 12 to be on the side of err and support
as many building platforms as possible, when we can support.

The local script now also sets the target using the local sdk
version. This should improve the local development experience.

* Fix wrong architecture for macOS in x86 builds

We now build only the current arch for local development builds
in macOS. This change also fixes the x86 builds failing.

* Add instructions brew backed macOS local builds

Flags to build a local build using homebrew packages are not
default and require parameter -b to build. We also don't build
packages directly, which requires -p.

* Fix wxwidgets not linking in local x86 macOS development builds

* Clarify build location in the document
2024-06-16 10:39:18 +02:00
Mounir IDRASSI
455a4f2176
Avoid conflict with C++17 features std::byte by using uint8 type instead of byte 2024-06-12 12:30:04 +02:00
Jertzukka
bf9f3ec4f0
Avoid assert by verifying installed languages exist (#1354)
wxDir::GetAllFiles will throw an assert when opening the preferences dialog
if for some reason the user has not installed VeraCrypt properly and is
missing the intended folder. This patch adds a check to ensure the folder
first exists before querying its files.
2024-06-03 23:10:53 +02:00
Jertzukka
ea7489b93b
FreeBSD: Support automatic detection and mounting of ext2/3/4, exFAT, NTFS filesystems (#1350) 2024-06-03 15:57:46 +02:00
Jertzukka
bd1e772657
FreeBSD: Fix privilege escalation prompts not showing up (#1349)
The behaviour of `wc -l` is different on FreeBSD, in which the stdout
result is padded by spaces in the beginning, which causes that the
result[0] is not actually the value we care about. This patch adds
a translate removing all whitespace from the output.
2024-06-03 08:09:54 +02:00
Mounir IDRASSI
6ac3b02a24 Linux: enhancements to build_cmake_deb.sh script. Use wxWidgets 3.2.5 2024-05-21 00:34:17 +02:00