VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common
AgeCommit message (Collapse)AuthorFilesLines
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
2023-10-11Increment version to 1.26.9Mounir IDRASSI1-2/+2
2023-10-11Windows: Don't close Setup when exiting VeraCrypt process through system ↵Mounir IDRASSI1-1/+2
tray Exit menu
2023-10-10Increment version to 1.26.8Mounir IDRASSI1-2/+2
2023-10-10Windows: Fix writing wrong EFI configuration options to registryMounir IDRASSI1-1/+1
2023-10-08Fix warnings and throwing an exception instead of ignoring the error (#1229)kovalev01-2/+2
* EMVCard.cpp: ArrayToHexWideString: prohibit conversion of a string constant ../Common/EMVCard.cpp: In function 'std::wstring VeraCrypt::ArrayToHexWideString(con st unsigned char*, size_t)': ../Common/EMVCard.cpp:28:43: warning: ISO C++ forbids converting a string constant to 'wchar_t*' [-Wwrite-strings] 28 | static wchar_t* hexChar = L"0123456789ABCDEF"; | ^~~~~~~~~~~~~~~~~~~ Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org> * EMVCard.cpp: ArrayToHexWideString: fix of the comparison of different types ../Common/EMVCard.cpp: In function 'std::wstring VeraCrypt::ArrayToHexWideString(con st unsigned char*, size_t)': ../Common/EMVCard.cpp:32:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 32 | for (int i = 0; i < cbData; i++) | ~~^~~~~~~~ Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org> * SecurityTokenKeyfilesDialog.cpp: removed initialization of an unused variable Forms/SecurityTokenKeyfilesDialog.cpp:58:24: warning: unused variable 'i' [-Wunused- variable] 58 | size_t i = 0; | ^ Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org> * Core/Unix: throwing an exception instead of ignoring the error Fixes: 5a6b445f ("fix warnings and UB (#1164)") Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org> --------- Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org> Co-authored-by: Vasiliy Kovalev <kovalev@altlinux.org>
2023-10-08Windows: Modified implementation for Secure Desktop handling to overcome ↵Mounir IDRASSI1-54/+82
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-05Update various copyright datesMounir IDRASSI1-3/+3
2023-10-02Linux: Fix compilation error on some 32-bit machines.Mounir IDRASSI1-2/+5
2023-10-01Linux: use "-std=c++11" for gcc 4.8 and adapt code to old compilersMounir IDRASSI2-5/+5
2023-09-30Increment version to 1.26.7. Set release date to October 1st. Update Windows ↵Mounir IDRASSI1-3/+3
signed driver files.
2023-09-29Windows: enhancement to RAM encryptionMounir IDRASSI1-17/+55
- 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-29Windows Driver: Use KeQueryInterruptTimePrecise on Windows 8.1 and newer as ↵Mounir IDRASSI1-0/+4
better seed for internal RNG compared to KeQueryInterruptTime
2023-09-26Windows: during Setup, and if VeraCrypt already installed, open online help ↵Mounir IDRASSI2-3/+40
only if PC connected to Internet
2023-09-24Libzip 1.10.1 (#1209)DLL12518-32/+87
Updated to the latest version for the VeraCrypt 1.26.6 release.
2023-09-24Windows: always open online help in case of Setup because local help may be ↵Mounir IDRASSI1-0/+6
outdated
2023-09-24Windows: Add tooltip message and help button for new option to disable ↵Mounir IDRASSI4-2/+129
memory protection Also a dedicated page in the documentation was added for it.
2023-09-21Windows: Load Riched20.dll to use RichEdit control. Use InitCommonControlsEx ↵VeraCrypt_1.26.6Mounir IDRASSI1-2/+7
instead of InitCommonControls
2023-09-21Update Release Notes. Increment version to 1.26.6.Mounir IDRASSI1-3/+3
2023-09-21Windows: use separate name for SetProcessMitigationPolicy function point. ↵Mounir IDRASSI1-11/+5
Remove unneeded boolean
2023-09-20Windows: Add setting in main UI and setup wizard to disable memory protectionMounir IDRASSI4-3/+13
This can be useful for users who need Accessibility software that may not work when memory protection is active in VeraCrypt
2023-09-18Windows Security: make memory protection enabled by default. Add process ↵Mounir IDRASSI4-3/+136
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-15Update Language.xml (#1199)TigerxWood1-1/+1
Corrected small typo
2023-09-11Windows: replace CoInitialize calls with CoInitializeExMounir IDRASSI2-5/+5