Commit Graph
100 Commits
Author SHA1 Message Date
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
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
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
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
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
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
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
Mounir IDRASSI 6ac3b02a24 Linux: enhancements to build_cmake_deb.sh script. Use wxWidgets 3.2.5 2024-05-21 00:34:17 +02:00
Mounir IDRASSI 01d414c3fe Linux: Update dependencies for debian packages on Ubuntu 24.04 and Debian 13
packages were renamed and we linked statically against wxWidgets in GUI mode because of a bug in wxWidegts that was solved in 3.2.5 (https://github.com/wxWidgets/wxWidgets/issues/24081)
2024-05-21 00:32:31 +02:00
Mounir IDRASSI e96f3035d9 Windows: Enhance memory protection mechanism by preventing process owner from granting permissions to itself. 2024-05-08 17:31:57 +02:00
Mounir IDRASSI 6d37bd662e Update Korean translations (By Kangjun Heo, 0x00000FF@github) 2024-04-19 09:25:12 +02:00
Mounir IDRASSI 5679f4fcae Spanish translation file: fix minor punctuation error (double period) 2024-04-10 23:58:07 +02:00
Mounir IDRASSI 6e28375060 Translations: Update Spanish translation 2023-12-16 00:51:36 +01:00
Mounir IDRASSI 34664e338d Spanish Translation: fix typos and enhancements 2023-12-15 00:46:39 +01:00
Mounir IDRASSI 1a21ea8d73 Linux/MacOSX: put entries at line start and use tabs instead of spaces 2023-11-19 16:44:48 +01:00
Mounir IDRASSI 65a5bf914e MacOSX: update version field in pkg project files 2023-11-19 16:04:04 +01:00
Mounir IDRASSI c5a725bc60 Continue update Bitcoin donation address and its QR code 2023-11-19 14:23:05 +01:00
Mounir IDRASSI fbca8496db New Bitcoin donation address since current one is affected by Randstorm vulnerability 2023-11-19 13:03:20 +01:00
Mounir IDRASSI 5a4dcc3cb6 Translations: Add back new strings to the Turkish language file. 2023-11-19 09:54:56 +01:00
Mounir IDRASSI 36ed58345c Revert changes to Language.tr.xml to allow merging Github translation PR 2023-11-19 09:29:03 +01:00
Mounir IDRASSI 458be85f84 Translations: update Russian translation file and documentation by Dmitry Yerokhin. 2023-11-13 00:26:02 +01:00
Mounir IDRASSI 48141ef697 Remove unneeded redundant OS name in Release Notes 2023-11-09 22:37:31 +01:00
Mounir IDRASSI e9492f1c06 Update MBR bootloader to 1.26.10 version 2023-11-09 00:13:30 +01:00
Mounir IDRASSI 7e7d776338 Increment version to 1.26.10. Update signed Windows drivers. 2023-11-09 00:09:00 +01:00
Mounir IDRASSI 1688779bc3 Windows: Fix failure to format some disks (e.g. VHDX) caused by partition offset not 4K aligned
Now we set offset to 1MB which is a typical values used for MBR disks.
We also use a more standard way to calculate legacy number of cylinders
2023-11-08 22:43:18 +01:00
Mounir IDRASSI 3f0e0b8cdd Documentation: Remove Flattr as donation platform since it is shutting down 2023-11-05 18:40:54 +01:00
Mounir IDRASSI 64bfd03414 Documentation: Mention that TRIM is not supported on macOS 2023-11-05 18:25:23 +01:00
Mounir IDRASSI 09833e0942 Documentation: Add more information about TRIM behavior in VeraCrypt 2023-11-05 18:06:20 +01:00
Mounir IDRASSI 3239e5d83e Documentation: Update bank account details for USD donations 2023-11-03 17:53:25 +01:00
Mounir IDRASSI 5a8fcd3037 Documentation: Mention default PIM values when no PIM is specified 2023-10-31 09:16:05 +01:00
Mounir IDRASSI 1514d77d5e Documentation: Update supported macOSX versions to remove Big Sur and add Sonoma 2023-10-23 08:52:08 +02:00
Mounir IDRASSI 5e0aec534f Windows: fallback to absolute positioning if relative positioning fails
This can serve as workaround if a disk rejects relative positioning for
some reason.
2023-10-13 23:55:19 +02:00
Mounir IDRASSI 4cfb4b03a7 Increment version to 1.26.9 2023-10-11 23:59:02 +02:00
Mounir IDRASSI bfd1abcabb Windows: Don't close Setup when exiting VeraCrypt process through system tray Exit menu 2023-10-11 22:09:09 +02:00
Mounir IDRASSI 06b3095e20 Increment version to 1.26.8 2023-10-10 23:15:18 +02:00
Mounir IDRASSI 92acca91f2 Translations: Fix missing "uk" lang key in some Ukrainian translations 2023-10-10 23:13:08 +02:00
Mounir IDRASSI a47f67bcc1 Windows: Fix writing wrong EFI configuration options to registry 2023-10-10 10:35:50 +02:00
Mounir IDRASSI 95bc7d55fe HTML Documentation: Update Russian translation by Dmitry Yerokhin 2023-10-09 00:24:23 +02:00
Mounir IDRASSI 35135cd1fb Windows: Fix expansion of volumes on devices with sector size!=512 (by skl0n6) 2023-10-08 15:56:42 +02:00
Mounir IDRASSI c91e5792ef Windows: Modified implementation for Secure Desktop handling to overcome Windows 11 issues
We use only alphanumeric characters for the name in addition to the '_' character
We ensure the random desktop name doesn't already exist
We create the random desktop on the Secure Desktop thread and we look over SwitchDesktop until it works.
We call SetThreadDesktop (hOriginalDesk) in main thread once we finish
2023-10-08 01:55:07 +02:00
Mounir IDRASSI 22ac25dde7 Harmonize copyright date and statements across various files 2023-10-06 00:13:28 +02:00
Mounir IDRASSI 42857b4930 Update various copyright dates 2023-10-05 09:07:35 +02:00
Mounir IDRASSI af5d91387e Translations: update Russian translation file and documentation by Dmitry Yerokhin. 2023-10-03 00:19:11 +02:00
Mounir IDRASSI d6964b38d3 Documentation: Fix wrong version and URL of Language Pack file. 2023-10-03 00:18:07 +02:00
Mounir IDRASSI bd843ffa05 Linux: Fix compilation error on some 32-bit machines. 2023-10-02 18:02:33 +02:00
Mounir IDRASSI 8f8c871ae3 Fix typo in Release Notes 2023-10-02 09:16:26 +02:00
Mounir IDRASSI 9d36f15bfc MacOS: Fix Blake2s SSE 4.1 not being built
For now, we set GCC_GTEQ_430 to 1 to each OS. Later we will always
suppose that gcc is newer than 4.3 and remove this logic.
2023-10-01 18:52:55 +02:00
Mounir IDRASSI 8eb232a4a3 MacOS: set minimum target to OSX 12. Fix About menu not working.
The modification to Forms.cpp is temporary until we find a better
approach
2023-10-01 18:51:20 +02:00
Mounir IDRASSI 19fa1f8684 Linux: use "-std=c++11" for gcc 4.8 and adapt code to old compilers 2023-10-01 11:06:46 +02:00
Mounir IDRASSI da49ebb927 Linux: Better detection of gcc version to correctly enable c++11
This allows to build correctly under CentOS 6 and CentOS 7
2023-10-01 00:48:57 +02:00
Mounir IDRASSI 0df7976e32 XML translations: increment version to 1.26.7 in Simplified Chinese file 2023-09-30 15:12:20 +02:00
Mounir IDRASSI 54ef22ce0a XML translations: downgrade version of Simplified Chinese to be able to merge PR 2023-09-30 15:09:08 +02:00
Mounir IDRASSI 8d87b6a778 Windows: Update MBR bootloader for version 1.26.7 2023-09-30 11:24:05 +02:00
Mounir IDRASSI 53cbe028cd Increment version to 1.26.7. Set release date to October 1st. Update Windows signed driver files. 2023-09-30 11:20:46 +02:00
Mounir IDRASSI b96ae29abd Documentation: Add documentation for RAM Encryption 2023-09-30 11:08:59 +02:00
Mounir IDRASSI c0f8179f2a Windows: enhancement to RAM encryption
- use a more standard-looking memory value tag instead of fully random one that will look suspicious and outstanding
 - If we fail to allocate 1MiB for derivation area, we device the size by two in a loop until we succeed. This is better than falling back directly to 8KiB size
 - Better method to derive actual encryption key: instead of simply duplicating 128bit key value, we combine a xor addition and self-encryption to build a 256-bit key
 - use both encID and pbKeyDerivationArea to derive IV for encryption and not only endID
2023-09-29 22:26:54 +02:00
Mounir IDRASSI 5192eac233 Windows Driver: Use KeQueryInterruptTimePrecise on Windows 8.1 and newer as better seed for internal RNG compared to KeQueryInterruptTime 2023-09-29 22:14:43 +02:00
Mounir IDRASSI 5234c479a4 Translations: update Russian translation file by Dmitry Yerokhin. 2023-09-29 01:50:24 +02:00
Mounir IDRASSI 662b8d1b2f Windows: during Setup, and if VeraCrypt already installed, open online help only if PC connected to Internet 2023-09-26 01:22:24 +02:00
Mounir IDRASSI 4cb4ec3500 Documentation: Mention Upgrade/Repair/Reinstall case in Memory Protection help page 2023-09-26 01:20:34 +02:00
Mounir IDRASSI 7f902227b0 Documentation: Add entry in FAQ about ghost drive that maybe listed by VeraCrypt on Windows
Behavior report in Github: https://github.com/veracrypt/VeraCrypt/issues/1212.
There is also a Reddit thread about it: https://www.reddit.com/r/VeraCrypt/comments/r9sg11/veracrypt_showing_a_hdd_which_does_not_exist/

Closes #1212
2023-09-24 22:24:21 +02:00
Mounir IDRASSI bbced81c6e Documentation: mention that OS reboot is required after changing memory protection status 2023-09-24 21:53:29 +02:00
Mounir IDRASSI 718f11d9c3 Windows: make Setup correctly manage option to disable memory protection during upgrade 2023-09-24 12:48:34 +02:00
Mounir IDRASSI 937c5cd5cd Windows: always open online help in case of Setup because local help may be outdated 2023-09-24 01:41:35 +02:00
Mounir IDRASSI 76c64d49ea Windows: Add tooltip message and help button for new option to disable memory protection
Also a dedicated page in the documentation was added for it.
2023-09-24 01:26:02 +02:00
Mounir IDRASSI 07c827c849 Language XML files: update Russian XML file by Dmitry Yerokhin. 2023-09-23 10:08:57 +02:00
Mounir IDRASSI 91b3f0af0c Linux/MacOSX: Increment packaging version to 1.26.6 2023-09-22 22:23:13 +02:00
Mounir IDRASSI 81c87a8f0b Windows: Load Riched20.dll to use RichEdit control. Use InitCommonControlsEx instead of InitCommonControls 2023-09-21 22:42:35 +02:00
Mounir IDRASSI d02734dfaa Update Release Notes. Increment version to 1.26.6. 2023-09-21 01:31:35 +02:00
Mounir IDRASSI 273d285c5c Documentation: Update the list of supported OSs 2023-09-21 01:28:45 +02:00
Mounir IDRASSI 340b773ed2 Translations: Add missing entries to Estonian XML file 2023-09-21 01:27:41 +02:00
Mounir IDRASSI 0fe6ef22f5 Translations: Add newly added string entry IDC_DISABLE_MEMORY_PROTECTION 2023-09-21 01:21:30 +02:00
Mounir IDRASSI 6c7e055f3f Windows: use separate name for SetProcessMitigationPolicy function point. Remove unneeded boolean 2023-09-21 01:16:11 +02:00
Mounir IDRASSI 0f3ae268a4 Windows: Add setting in main UI and setup wizard to disable memory protection
This can be useful for users who need Accessibility software that may not work when memory protection is active in VeraCrypt
2023-09-20 09:39:22 +02:00
Mounir IDRASSI b1657e88e4 Windows Security: make memory protection enabled by default. Add process mitigation (ASLR, Dynamic code, extension points)
Memory protection can be disabled using registry value "VeraCryptEnableMemoryProtection" under the key "HKLM\SYSTEM\CurrentControlSet\Services\veracrypt"
2023-09-18 00:13:52 +02:00
Mounir IDRASSI fb8ae98c73 Windows: use same manifest structure for Expander as in Mount and Format 2023-09-18 00:07:10 +02:00
Mounir IDRASSI d2f2defca9 Windows: replace CoInitialize calls with CoInitializeEx 2023-09-11 00:03:28 +02:00