VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common
AgeCommit message (Collapse)AuthorFilesLines
25 hoursWindows Driver: Use system functions directly instead of dynamic loading ↵Mounir IDRASSI2-59/+12
since we are targeting Windows 10
2 daysWindows: Fix driver crash caused by 32-bit leftover code in ↵Mounir IDRASSI1-3/+0
derive_key_blake2s function
3 daysWindows: Avoid modifying BootArguments structure and use __unaligned keyword ↵Mounir IDRASSI2-2/+2
to inform compiler that pointer is unaligned. This avoids issues with existing bootloaders
3 daysWindows: remove 32-bit logic from the code since we support only 64-bit. ↵Mounir IDRASSI15-279/+41
remove 32-bit EFI bootloader files. We also fix intermediary files folder for Portable and Setup projects
3 daysWindows: Fix regression in self-test of hash algorithms that caused them to failMounir IDRASSI1-2/+2
3 daysWindows: remove VS 2019 solution and project files since we migrated to VS 2022.Mounir IDRASSI5-761/+0
3 daysWindows: move main project files and solution from VS 2010 to VS 2022. ↵Mounir IDRASSI3-17/+198
Delete unused files.
3 daysWindows: Fix warning when building Setup and Portable. No file elevation is ↵Mounir IDRASSI1-0/+8
used for them.
3 daysWindows: Upgrade VS 2019 solution/projects to VS 2022. Remove Win32 ↵Mounir IDRASSI2-24/+24
configuration for driver and binaries. Only setup remains 32-bit to be compatible with both x64 and arm64 Windows.
3 daysWindows: Fix build of MBR bootloaderMounir IDRASSI1-1/+1
3 daysWindows: Fix warning in driver build by make get_pkcs5_iteration_count have ↵Mounir IDRASSI1-40/+36
a single return statement at the end
4 daysWindows: Use VS builtin __fastfail intrinsic for fatal exception instead of ↵Mounir IDRASSI1-0/+3
affecting NULL pointer
4 daysWindows: Fix various compiler warningsMounir IDRASSI9-146/+150
6 daysUse adequate const qualifiers for pbkdf2 functions argumentsMounir IDRASSI2-16/+16
6 daysWindows: Remove support for 32-bit driver code. Set build target as Windows ↵Mounir IDRASSI19-376/+247
10. Simplify code and fix all warnings in driver.
6 daysWindows: Use BCryptGenRandom instead of deprecated CryptGenRandom to ↵Mounir IDRASSI1-27/+21
generate secure random bytes
2024-09-19Windows: Fix EFI configuration editor various issuesMounir IDRASSI2-7/+47
We always using Unicode functions to interact with UI. We convert UTF8 string to UTF16 and vis-versa. Overwrite input string instead of using resize that caused old test to remain. Fix case of readOnly by using correct message. change position of OK/cancel button to match other dialogs. Activate translation on this dialog.
2024-09-17Windows: Simplify error message related to IsEfiBoot since it always fail ↵Mounir IDRASSI1-20/+6
with ERROR_INVALID_FUNCTION Proposed by @kriegste on https://github.com/veracrypt/VeraCrypt/issues/360
2024-09-16Windows: Fix failed EFI detection on some PCs where BootOrder variable is ↵Mounir IDRASSI1-1/+1
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-10Linux/macOS: Fix missing define that was causing compilation errorMounir IDRASSI1-0/+2
2024-09-08Windows: Add support for x86 and x64 build for driver and binaries using ↵Mounir IDRASSI3-12/+37
Visual Studio 2019 We also enable Control Flow Guard and Spectre Mitigation
2024-09-02Windows: Fix bug in disabling of Windows privileges, they were completely ↵Mounir IDRASSI1-2/+2
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-02Windows: Fix truncated displayed error messageMounir IDRASSI1-4/+4
2024-09-01Windows: Fix MSI not installing all new documentation file. Remove old files ↵Mounir IDRASSI1-3/+3
left from old versions. Increment version to 1.26.15.
2024-08-25Increment version to 1.26.14. Set release date to August 25th.Mounir IDRASSI1-2/+2
2024-08-24Windows: Fix regression causing crash when a wrong password is used when ↵Mounir IDRASSI2-2/+2
changing password of volumes
2024-08-21Windows: Only load valid XML language files (Language.xx.xml or ↵Mounir IDRASSI1-0/+44
Language.xx-yy.xml format)
2024-08-17Update Release Notes. Set release date to August 17th.Mounir IDRASSI1-1/+1
2024-08-14Windows: better handling of reading EFI variable to display help error ↵Mounir IDRASSI1-4/+44
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-13Windows: fix build failure for x86/x64 with newer Visual Studio that use ↵Mounir IDRASSI1-1/+7
Windows 10/11 SDK We set Windows 8 as minimum API support fir Visual Studio 2015 and newer. Closes #1398
2024-08-11Fix another typo of "CPLC" is language files including English one.Mounir IDRASSI1-1/+1
2024-08-11Revert changes mistakenly included in previous commitMounir IDRASSI1-1/+1
2024-08-11Fix typo of "CPLC" is language files including English one.Mounir IDRASSI2-2/+2
2024-08-05Update mount failure error messages to mention removal of TrueCrypt support ↵Mounir IDRASSI1-6/+6
and old algorithms.
2024-08-04Update Release Notes. Set release date to August 4th.Mounir IDRASSI1-1/+1
2024-08-04Windows: Fix rare cases being stuck in Secure Desktop after it is used for ↵Mounir IDRASSI1-18/+38
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-02Increment version to 1.26.13. Update release notes. Update signed Windows ↵Mounir IDRASSI1-3/+3
drivers.
2024-08-02Implement detection of volumes with vulnerable XTS master key.Mounir IDRASSI8-1/+42
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-07-24Update CHM documentation. Use correct date of 1.26.12 in header.Mounir IDRASSI1-2/+2
2024-06-30Linux: Make the C++ code compatible with old compilers (g++ 4.4.7 on CentOS 6)Mounir IDRASSI5-15/+12
2024-06-23Increment version to 1.26.12Mounir IDRASSI1-2/+2
2024-06-23Update copyright date in some filesMounir IDRASSI1-2/+2
2024-06-23Increment version to 1.26.11. Update Release Notes.Mounir IDRASSI1-4/+4
2024-06-12Avoid conflict with C++17 features std::byte by using uint8 type instead of byteMounir IDRASSI34-443/+441
2024-05-08Windows: Enhance memory protection mechanism by preventing process owner ↵Mounir IDRASSI1-2/+31
from granting permissions to itself.
2024-04-10Fix: 7 typos (#1324)RoboSchmied1-3/+3
Signed-off-by: RoboSchmied <github@roboschmie.de>
2024-04-10update zlib + copyright (#1302)DLL12513-81/+1736
2023-11-19Linux/FreeBSD/macOS: Implement language selection settings (#1253)Jertzukka1-0/+3
* Implement Language selection into settings Initial commit to create a new tab in PreferencesNotebook for Language selection. By default, if nothing is chosen, it uses the current behaviour of using the language from system environment variables. If another language is chosen from the settings, it is saved into the Configuration.xml and this is used instead. * Fix SetStringSelection() assert issue on macOS * Add header include to fix build * Add current language pack, authors and way to use literal strings * Translations also for FreeBSD * Minimal GTK3 WX build on FreeBSD requires wxGraphicsContext * Get Preferences properly instead of workaround function * Use WrapSizer instead of BoxSizer for author line This forces long author lists to be put on a new line, reducing the need to increase window width. * Update Finnish translation * Borrow translation from IDM_LANGUAGE where it makes sense * Remove colon and thus unneeded function * Simplify Language tab layout * Reintroduce macOS specific fixes to Forms.cpp * cleanup
2023-11-13wolfCrypt as crypto backend for VeraCrypt (#1227)lealem477-75/+162
* wolfCrypt as crypto backend for VeraCrypt * Refactor to use EncryptionModeWolfCryptXTS class
2023-11-09Increment version to 1.26.10. Update signed Windows drivers.Mounir IDRASSI1-3/+3