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

2677 Commits

Author SHA1 Message Date
Mounir IDRASSI
0a8848de6c Update PayPal donation links 2025-05-11 18:09:43 +09:00
Mounir IDRASSI
b673901503 Move copyright and links to "AM Crypo", amcrypto.jp and veracrypt.jp 2025-05-11 16:02:20 +09:00
Mounir IDRASSI
4944477b5a Linux: implement automatic creation of AppImage bundle during build of generic binaries 2025-05-10 23:32:55 +09:00
Zaphod a Priest
b80e6b329b typo Readme.txt (#1538) 2025-05-10 19:12:27 +09:00
Mounir IDRASSI
3edae48717 Linux: Correct handling of documentation in case of AppImage. Code refactoring. 2025-05-10 19:09:31 +09:00
Mounir IDRASSI
01cfc169c6 Linux: Fix link error with gcc 4.8 by build AESNI version of SM4 from gcc 4.4
AESNI support was enabled starting from gcc 4.4 and so AESNI code of SM4 should be built starting from this version.
2025-05-10 17:47:28 +09:00
Mounir IDRASSI
745fab60e9 Linux: Fix AppImage compatibility by using AppImage file for sudo elevation
When VeraCrypt is run as an AppImage, the veracrypt binary resides in a SquashFS mount under /tmp which is inaccessible to root. Using this path with sudo results in a "command not found" error.

This patch detects the AppImage environment by checking both APPIMAGE and APPDIR variables, ensuring the executable path starts with APPDIR and that APPDIR starts with the expected "/tmp/.mount_Veracr" prefix. In this scenario, the AppImage file itself (APPIMAGE) is used as the executable for sudo, resolving the elevation issue.
2025-05-10 15:21:19 +09:00
Patriccollu
58dd4e031d Update Corsican translation on 2025-05 (#1535) 2025-05-08 23:58:15 +09:00
Mounir IDRASSI
26924cb277 Linux: Fix typo in CMakeLists.txt after last change 2025-05-06 08:24:07 +09:00
Mounir IDRASSI
4cd6b4cd4d Linux: remove pcsclite dependency from .deb/.rpm packages since it is detected/loaded dynamically at runtime. 2025-05-06 07:26:40 +09:00
Mounir IDRASSI
bbc9fbf175 Increment version to 1.26.21 2025-05-04 03:43:45 +09:00
Matthaiks
7021200f71 Update Polish translation (#1533) 2025-05-04 03:20:16 +09:00
Mounir IDRASSI
0c5dccd6f9 Linux: Fix self-test by making the code supports key length in a generic way
This change allows to support SM4 self-test which uses a 128-bit key.
2025-05-04 03:15:16 +09:00
Mounir IDRASSI
4a371f807e Linux: Fix build issues caused by changes after SM4 addition 2025-05-04 02:45:09 +09:00
Mounir IDRASSI
7924f06e39 Initial support of SM4 cipher for normal volumes 2025-05-04 02:27:05 +09:00
Mounir IDRASSI
798985bf25 Windows: Refactor EncryptData.ps1 script. Parameterize, add cluster size auto, robust exFAT sizing, and safety features
- Added parameters for cluster size (auto/manual), encryption/hash, safety margin, VeraCrypt overhead, and VeraCrypt path override
- Switched to iterative exFAT size calculation for accurate FAT/bitmap sizing
- Auto-selects optimal cluster size based on data size
- Supports -WhatIf/-Confirm (SupportsShouldProcess) for safe operation
- Allows password via pipeline or prompt; improved error handling and cleanup
- Enhanced output, free space checks, and force-overwrite option
- Improved code structure, comments, and user feedback
2025-04-30 18:38:05 +09:00
Steven Lee
43ea5108e5 modify unix default mounting point prefix (use /run/media/veracrypt t… (#1524)
* modify unix default mounting point prefix (use /run/media/veracrypt to replace /mnt/veracrypt).

* bugfix

* add trailling semicolon

* add ifdef TC_LINUX
2025-04-30 14:44:26 +09:00
Mounir IDRASSI
e946de7241 Documentation: Harmonize Microsoft Help Workshop project files names. Add Russian localized CHM. 2025-04-29 15:49:00 +09:00
Mounir IDRASSI
b85e7ef602 Windows: Update libzip to version 1.11.3 2025-04-29 12:24:08 +09:00
Mounir IDRASSI
97e01098d4 Documentation: various fixes. Add Russian CHM file. 2025-04-29 11:45:12 +09:00
Mounir IDRASSI
ae8f511c01 Documentation: Update various pages to be in sync with online version 2025-04-28 23:56:32 +09:00
Mounir IDRASSI
1f9f1474a7 Documentation: Add missing English documentation HTML files 2025-04-28 23:48:32 +09:00
Mounir IDRASSI
d19c89d602 Windows: modify build batch files to use tar instead of 7zip and to support new layout of localized documentation 2025-04-27 23:43:03 +09:00
Mounir IDRASSI
07b53541e0 Windows: reorganize localized documentation, each in a dedicated folder. Adapt installers and documentation URL logic.
Now we have 3 folders under html directory:en, ru, zh-cn. Similar separation exist in online version:
https://veracrypt.fr/en
https://veracrypt.fr/ru
https://veracrypt.fr/zh-cn
2025-04-27 23:33:08 +09:00
Mounir IDRASSI
7c13d21d96 Windows: Update code signing certificate after renewal of expired one 2025-04-27 22:11:16 +09:00
Mounir IDRASSI
eed17ea92b Documentation: remove reference to veracrypt.fr/code git repository. Use Code.html for Source Code menu 2025-04-26 18:47:32 +09:00
风之暇想
9412b1e119 Fix a mistake (#1530)
* Fix a mistake

* Fix a mistake
2025-04-23 16:55:26 +09:00
pingwcy
dc12fb746f Fix the whirlpool for big-endian platform (#1529) 2025-04-21 13:55:49 +02:00
Yeung, Tim Ming
e33452049b Update Tradition Chinese (Hong Kong) (#1486)
- Follow commit 42b716f847 to use ALT+U as new accelerator key for Unmount instead of ALT+S
- Refine wordings
2025-04-21 11:45:24 +02:00
风之暇想
8ca31c3fe2 User Guide with THML (#1523)
* Create VeraCrypt_zh-cn.hhk

* Add files via upload

* Create Documentation.html

* Add files via upload

* Add files via upload

* Add files via upload

* Update Kuznyechik.html

* Update Twofish.html

* Update Disclaimers.html

* Add files via upload

* Add files via upload

* Add files via upload
2025-04-21 11:40:05 +02:00
Bernard Ladenthin
0478be3626 Add alignment constants for derived key and KEY_INFO buffers to ensure SIMD compatibility. (#1526) 2025-04-21 11:26:34 +02:00
Bernard Ladenthin
5eb358ca18 Refactor: Use symbolic constants for volume header magic numbers (#1525)
Replaced hardcoded 0x56455241 ('VERA') with TC_HEADER_MAGIC for better readability and maintainability.
Also replaced 0x5645524142455854 with TC_BOOT_DRIVE_FILTER_EXTENSION_MAGIC and added 'ULL' suffix for 64-bit safety.
2025-04-21 11:24:02 +02:00
Mounir IDRASSI
1f4f6d09d8 Translations: Refine Italian localization for clarity and naturalness
This commit updates several strings in the Italian language file
based on an expert review.

The changes focus on:
- Using more idiomatic phrasing (e.g., "negazione plausibile").
- Employing standard IT terminology (e.g., "Codice di errore").
- Adjusting formality for better UX (e.g., informal commands, recommendations).
- Improving sentence structure for system messages (e.g., impersonal "si").
2025-04-21 09:54:25 +02:00
Mounir IDRASSI
2f8161af34 Translations: Fix Italian translation following report by Alessandro Muccioli
https://sourceforge.net/p/veracrypt/tickets/593/
2025-03-29 07:16:56 +01:00
Jertzukka
004fdc2a45 Linux/FreeBSD: Improvements on installation scripts (#1514)
This patch moves away from gnome-terminal -e options which is deprecated
and subject to possibly be removed in the future. The -- option is nearly
equivalent in behaviour. Also ensures that uninstallation script has correct
privileges, adds window title to xmessage and ensures correct files are
used during installation.
2025-03-24 13:16:08 +01:00
Mounir IDRASSI
56301ea64b Linux/macOS: Fix failure to use Hungarian language cause by issue in XML parser.
The method GetNodes implementation didn't parse multiple attributes correctly and it failed with Hungarian XML because of the presence of '>' character in an attribute value.

Issue reported in https://github.com/veracrypt/VeraCrypt/pull/1516
2025-03-24 07:55:03 +01:00
Mounir IDRASSI
865ee6c429 Github workflows: Fix issue running XML validation workflow by using fixed version of fast-xml-parser 4.5.2
latest version 5.x of fast-xml-parser causes described in https://github.com/veracrypt/VeraCrypt/pull/1497#issuecomment-2671395468
2025-02-20 16:05:39 +01:00
Mounir IDRASSI
fc7037b670 Linux/macOS: use absolute path of 'true' command when checking if sudo session is active. 2025-02-19 10:29:27 +01:00
Thomas De Rocker
8574033ded Update Language.nl.xml (#1502) 2025-02-18 15:06:50 +01:00
白庭
33d1de0d31 Fix SetupDLL and ExpandVolume Error (#1495)
* Fix SetupDLL [ReleaseCustomEFI] Building Error

* Fix Lib Problem
2025-02-15 11:59:43 +01:00
Jertzukka
98fa395f29 CI: Enable XML Validation Workflow (#1497) 2025-02-15 11:40:27 +01:00
Mounir IDRASSI
974a3909ec Windows: remove dependency towards Mount/Format when building setup to fix Win32 build issue (#1487)
MainCom_i.c and FormatCom_i.c are needed only for mount/format type libraries GUIDs. Since they don't change, we just define them directly.
2025-02-08 12:00:05 +01:00
Mounir IDRASSI
a2f11e1102 Windows: Fix link error in 32-bit build by removing crypto.lib reference and implementing sha512 using BCrypt API. 2025-02-08 01:17:55 +01:00
bugtracker2019
effabb4c53 Update Language.de.xml (#1489)
Fixed wrong line breaks.
2025-02-07 13:53:20 +01:00
Mounir IDRASSI
42b716f847 Rename "Dismount All" to "Unmount All" in UI. Use ALT+u as new accelerator key instead of ALT+s 2025-02-05 21:30:33 +01:00
Mounir IDRASSI
c3d7c9e45a Windows: Update version to 1.26.20 in MSI project and packaging bat files. VeraCrypt_1.26.20 2025-02-04 13:25:10 +01:00
Mounir IDRASSI
c9387caa03 Update Release Notes. Update Windows signed drivers. Update MBR bootloader. 2025-02-04 01:20:08 +01:00
Mounir IDRASSI
2180020cee Windows driver: Fix regression that always allowed defragmentation and caused other side effects
Now we properly honor the AllowDefrag configuration.

This regression introduced other issues because, in order to allow defragmentation, we must provide Windows with an actual physical disk number. As a result, we assign the number of the physical disk where the VeraCrypt volume resides. This, in turn, causes Windows to send IOCTLs directly to this disk instead of to VeraCrypt. If these IOCTLs return values and properties not supported by VeraCrypt, inconsistencies arise, leading to failures.
2025-02-04 00:02:08 +01:00
Mounir IDRASSI
e73ea7193e Widnows driver: use correct value for HiddenSectors field in structures to match read MBR disks 2025-02-03 23:48:51 +01:00
Mounir IDRASSI
6cd32af1c1 macOS: correct error message in FUSE-T pkg installer to remove mention of OSXFuse. 2025-02-03 18:59:15 +01:00