VeraCrypt
aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-08-13Windows: Implement support for mounting partially encrypted system partitionsMounir IDRASSI7-5/+34
For now, we force ReadOnly mounting for such partitions.
2023-08-13Windows: Better way to enable required privileges for FastCreate OptionsMounir IDRASSI10-8/+183
If we can set required privilege, we ask the user using UAC to enable them.
2023-08-12Linux: Flush stdout explicitly when reading stdin (#1172)Jertzukka1-1/+1
Rules of automatic flushing of stdout buffer is implementation-defined behaviour. In glibc this is automatically flushed, but we can't rely on it for other implementations such as musl.
2023-08-12Linux: Typo fix and consistency in help command (#1169)Jertzukka1-1/+2
2023-08-10Documentation: Update Windows build guide to mention Windows Test Mode and ↵Mounir IDRASSI2-6/+17
steps to avoid signature check failures
2023-08-10Windows: Fix failure creating Traveler Disk caused by outdated hardcoded ↵Mounir IDRASSI1-10/+10
value of MS certificate We also rename the variables gpbSha256CodeSignCertFingerprint and gpbSha256MSCodeSignCertFingerprint to gpbSha512CodeSignCertFingerprint and gpbSha512MSCodeSignCertFingerprint respectively to reflect the fact that they are actually SHA512 hash values and not SHA256 ones.
2023-08-09FAQ: Add entry for solving Operation no permitted issue on macOSMounir IDRASSI2-0/+30
2023-08-09Update Language.ro.xml (#1168)TigerxWood1-696/+696
* Update Language.ro.xml * Update Language.ro.xml Final version
2023-08-07Call EnsureVisible() for OSX in OnActivate (#1167)Deniz Türkoglu1-0/+1
When using multiple monitors, the resolution can change in OSX, during plug-in/off off the display(s). To avoid window becoming non-usable, there is EnsureVisible, that is called in several places. However, if you minimize VeraCrypt on the bigger screen, and restore it in the main screen of a MacBook, after unplugging, the window will become unusable (unless you know that clicking 'About' calls EnsureVisible :-)). Call EnsureVisible OnActivate so MainFrame is always functional across screens, even when minimized.
2023-08-06Linux/macOS: Add explicit include of <sys/types.h> to define ssize_tMounir IDRASSI1-0/+2
Some systems (e.g. Alpine Linux) seems to require this.
2023-08-06Linux: capture both stdout and stderr in popen call to avoid printing anythingMounir IDRASSI1-2/+2
If an error happens, error message will be read from popen pipe and so libpcsclite.so will not be found. This is the same outcome as when stdout is empty.
2023-08-05Security: ensure that XTS primary key is different from secondary key when ↵Mounir IDRASSI2-0/+14
creating volumes This is unlikely to happen thanks to random generator properties but we much add this check to prevent an attack described in page 3 of https://csrc.nist.gov/csrc/media/Projects/crypto-publication-review-project/documents/initial-comments/sp800-38e-initial-public-comments-2021.pdf
2023-08-05Windows: Fix false positive detection of new device insertion when clear ↵Mounir IDRASSI13-9/+255
keys option is enable When this option is enabled, we first build the list of currently inserted devices then we start listening to insertion events. When a device insertion occurs, we check if this device is on our list and if yes, we ignore its insertion. We also ignore devices whose Device ID starts with "SWD\" and "ROOT\" since these are not real devices.
2023-08-04fix warnings and UB (#1164)kovalev04-5/+8
* Crypto: fix warning mismatched bound ../Crypto/cpu.c:67:32: warning: argument 2 of type 'uint32[4]' {aka 'unsigned int[4]'} with mismatched bound [-Warray-parameter=] 67 | int CpuId(uint32 input, uint32 output[4]) | ~~~~~~~^~~~~~~~~ In file included from ../Crypto/cpu.c:3: ../Crypto/cpu.h:236:33: note: previously declared as 'uint32 *' {aka 'unsigned int *'} 236 | int CpuId(uint32 input, uint32 *output); Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org> * Core/Unix: fix warning ignoring return value Unix/CoreUnix.cpp: In member function 'virtual std::shared_ptr<VeraCrypt:\ :VolumeInfo> VeraCrypt::CoreUnix::MountVolume(VeraCrypt::MountOptions&)': Unix/CoreUnix.cpp:682:55: warning: ignoring return value of 'int chown(const char*, __uid_t, __gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 682 | chown (mountPoint.c_str(), GetRealUserId(), GetRealGroupId()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org> * Main/Forms: fix warning cast to pointer from integer of different size Forms/MainFrame.cpp: In member function 'void VeraCrypt::MainFrame:\ :UpdateVolumeList()': Forms/MainFrame.cpp:1718:106: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1718 | Gui->InsertToListCtrl (SlotListCtrl, ++prevItemIndex, fields, 0, (void *) volume->SlotNumber); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Forms/MainFrame.cpp:1753:114: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1753 | Gui->InsertToListCtrl (SlotListCtrl, ++prevItemIndex, fields, 0, (void *) slotNumber); | ^~~~~~~~~~~~~~~~~~~ Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org> * Crypto: fix undefined behavior signed integer overflow In function 'twofish_set_key': cc1: warning: iteration 4 invokes undefined behavior [-Waggressive-loop-optimizations] ../Crypto/Twofish.c:626:23: note: within this loop 626 | for (i = 0; i != 40; i += 2) | ~~^~~~~ 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-07-31Update Corsican translation on 2023-07 (2nd) (#1162)Patriccollu1-11/+11
2023-07-29Windows: Add installer language support for rest of the translations (#1160)Jertzukka6-0/+156
Currently there are a lot of translated strings that are never seen anywhere as the installer doesn't offer all the available languages as options in the installer wizard (sans Burmese).
2023-07-25Release Notes: Fix typoMounir IDRASSI2-1/+1
2023-07-25Linux/macOS: Increment version to 1.26.4 in installation packagesMounir IDRASSI5-8/+8
2023-07-24Windows: remove unused variableMounir IDRASSI1-1/+0
2023-07-24Update Release Notes and set date of 1.26.4 to July 24thMounir IDRASSI3-9/+13
2023-07-24Language Translations files: update Chinese (Hong Kong) translation (#843)harryytm1-434/+434
* Update Chinese (Hong Kong) translation - replace Mainland China wordings with Hong Kong wordings - correcting size unit to use KiB, MiB, GiB, TiB - using Windows default Chinese Traditional fonts * Update Language.zh-hk.xml * Update Language.zh-hk.xml - translated some untranslated lines - minor wording refinements * Update Language.zh-hk.xml daily commit for translation progress * Update Language.zh-hk.xml * Update Language.zh-hk.xml * Update Language.zh-hk.xml * Update Language.zh-hk.xml * Update Language.zh-hk.xml * Update Language.zh-hk.xml * translated some more untranslated strings * Update Language.zh-hk.xml * Language Translations files: update Chinese (Hong Kong) translation # minor wording changes # corrected lang attribute to en on some untranslated entries + translated some untranslated entries + translated some new entries * Language Translations files: update Chinese (Hong Kong) translation - translated some new entries * Language Translations files: update Chinese (Hong Kong) translation - minor changes * Language Translations files: update Chinese (Hong Kong) translation - translated some new entries * Language Translations files: update Chinese (Hong Kong) translation - translated some new entries for Linux * Language Translations files: update Chinese (Hong Kong) translation - translated some new entries * Update Language.zh-hk.xml - add back and translated missing line 298 - minor wording changes - major progress * Update Language.zh-hk.xml - refine wordings - correct mismatch translations in lines 635-640 - minor progress * Update Language.zh-hk.xml - refine wordings - correct line 470 - minor progress * Update Language.zh-hk.xml - correct line 164 and 273 * Update Language.zh-hk.xml
2023-07-24Update Language.de.xml (#1158)Mr-Update1-8/+8
2023-07-24Update Polish translation (#1157)Matthaiks1-8/+8
2023-07-24Linux/macOS: Remove TrueCrypt supportMounir IDRASSI42-348/+133
2023-07-23Linux/macOS:Add EMV option checkbox to the fbp file. Remove TrueCrypt ↵Mounir IDRASSI3-9698/+2294
checkboxes. We also update to wxFormBuilder 3.10.1
2023-07-23Language XML files: update Russian XML file by Dmitry Yerokhin.Mounir IDRASSI1-1/+1
2023-07-23XML Language files: remove \r from new entries as it is automatically added ↵Mounir IDRASSI42-294/+294
by code
2023-07-23Windows: update signed driversMounir IDRASSI6-0/+0
2023-07-23Windows: Update driver inf file to meet new requirements for Microsoft ↵Mounir IDRASSI1-10/+16
driver submission
2023-07-23Documentation: Indicate that TrueCrypt support is dropped starting from ↵Mounir IDRASSI2-0/+3
version 1.26
2023-07-23Translations: Add new entries. update Russian XML file by Dmitry Yerokhin. ↵Mounir IDRASSI41-93/+420
Increment version to 1.26.4
2023-07-23Windows: Make Expander progress messages translatableMounir IDRASSI2-7/+14
2023-07-23Update UserInterface.cpp (#1155)Springfield Data Recovery1-1/+1
Docs specify cascading encryption should be specified as "AES(Twofish)" but on Linux it requires "AES-Twofish".
2023-07-22Windows: Remove TrueCrypt support. Increment version to 1.26.4.Mounir IDRASSI46-533/+167
2023-07-18Windows: Fix compiler warningsMounir IDRASSI2-3/+1
2023-07-17Windows: Fix buffer overrun caused by bug in UpperCaseCopy functionMounir IDRASSI1-3/+3
2023-07-17Windows: Fix link error with latest libzip by adding new file ↵Mounir IDRASSI3-0/+5
zip_source_pass_to_lower_layer.c tp VS projects
2023-07-17Libzip (#1152)DLL12577-541/+1376
* Update LZMA to latest * Update Libzip Libzip updated to latest.
2023-07-16Windows: fix issue with fastCreate by requesting SE_MANAGE_VOLUME_NAME ↵Mounir IDRASSI1-26/+28
privilege before calling CreateFile This ensures that the returned handle inherits the privilege
2023-07-16Language XML files: update Russian XML file by Dmitry Yerokhin.Mounir IDRASSI1-2/+2
2023-07-16HTML Documentation: Add Russian translation by Dmitry YerokhinMounir IDRASSI23-112/+1960
2023-07-15Windows: enhance secure desktop handling to try to workaround Windows 11 issueMounir IDRASSI1-30/+49
Several enhancements implemented: - replace CreateThread by _beginthreadex to avoid potential issues when using C runtime - use an event to notify monitoring thread to stop instead of a volatile boolean - perform switch to the regular desktop in the main thread and not in the secure desktop thread
2023-07-13Language XML files: update Russian XML file by Dmitry Yerokhin.Mounir IDRASSI1-58/+58
2023-07-11Windows: when overwriting an existing file container, add its current size ↵Mounir IDRASSI1-0/+7
to the available free space
2023-07-11Update the Release Notes with URL related to the EMV project by the studentsMounir IDRASSI2-11/+11
2023-07-11Language XML files: update Czech translation (contributed by Lagardere)Mounir IDRASSI1-55/+55
2023-07-07Windows: Add a PowerShell script that can be used to create a volume from a ↵Mounir IDRASSI1-0/+250
given directory or file The script will try to calculate the minimal required size to store the given directory or file in the exFAT formatted volume
2023-07-07Release Notes: Fix typoMounir IDRASSI2-2/+2
2023-07-06Update Language.de.xml (#1148)Mr-Update1-59/+59
- Translation completed - Salutation pronouns corrected
2023-07-05Linux: Overwriting file container allows you to use its space (#1147)Jertzukka1-0/+6
When replacing a file container, we increase the `diskSpace` by the file container's size. This doesn't affect the hidden volume space logic, as in that case we use `MaxVolumeSize` when `MaxVolumeSizeValid` is true instead of `AvailableDiskSpace`.