VeraCrypt
aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-09-03Windows: simpler and more robust safe dll loading combined with delay ↵Mounir IDRASSI15-968/+164
loading thanks to Windows 7 being minimum supported version. We also block execution on Windows versions older than Windows 7. A lot of code was removed thanks to this.
2023-09-03HTML Documentation: Update Russian translation by Dmitry YerokhinMounir IDRASSI46-195/+256
2023-09-03Language XML files: update Russian XML file by Dmitry Yerokhin.Mounir IDRASSI1-81/+81
2023-09-02Linux/macOS: preserve unknown entries in configuration fileMounir IDRASSI2-10/+28
This helps to preserve unknown entries that may be used by future versions of VeraCrypt (forward compatibility) or entries used by old versions that were removed from current version (backward compatibility)
2023-08-30Language XML files: update Czech translation (contributed by Lagardere)Mounir IDRASSI1-8/+8
2023-08-30Update Language.ro.xml (#1188)TigerxWood1-1/+1
Corrected a typo.
2023-08-29Update Language.ro.xml 1.26.5 (#1184)TigerxWood1-1/+1
* Update Language.ro.xml 1.26.5 * Update Language.ro.xml
2023-08-21Allow cross compilation. (#1182)Unit 1933-5/+6
2023-08-20Windows: Set minimum build target to Windows 7Mounir IDRASSI1-1/+1
2023-08-20Windows: delay load bcrypt.dll to reduce startup dependency loading until ↵Mounir IDRASSI9-62/+62
setting safe dll loading
2023-08-20Update zlib to latest (#1181)DLL12524-1486/+919
* Update zlib to latest * Update copyright Updated copyright of zlib.
2023-08-20Update Release Notes with latest Linux fix for hidden volume in CLIMounir IDRASSI2-0/+1
2023-08-19Linux: try use IOCTL BLKGETSIZE64 to get size of device instead of lseekMounir IDRASSI1-0/+11
2023-08-19Linux: Fix wrong max size for hidden volume in CLI direct mode creationMounir IDRASSI1-8/+15
There was a logical bug that made the code check the filesystem size of the device path "/dev" instead of using the actual size of the device Fix #1180
2023-08-16Update Language.zh-cn.xml (#1177)cjl32301-1/+1
https://github.com/veracrypt/VeraCrypt/blob/d3ecffac3b46abb0d6a91a82838c05b11fd6fe0c/Translations/Language.zh-cn.xml#L1608C89-L1608C89 Missing character n after backslash
2023-08-16Fix typo in Release NotesMounir IDRASSI2-1/+1
2023-08-16Update Language.de.xml (#1176)Mr-Update1-1/+1
2023-08-15Windows: Update MBR bootloader files to 1.26.5 buildMounir IDRASSI20-0/+0
2023-08-15Update Release Notes and set date of 1.26.5 to August 15thMounir IDRASSI3-4/+19
2023-08-14Update Language.zh-cn.xml (#1175)nkh04721-5/+5
2023-08-14Update Corsican translation on 2023-08 (#1174)Patriccollu1-3/+3
2023-08-14Translation XML: reintroduce new entry to zh-cn xml fileMounir IDRASSI1-0/+1
2023-08-14Update Language.zh-cn.xml (#1134)nkh04721-146/+146
* Update Language.zh-cn.xml * Update Language.zh-cn.xml * Update Language.zh-cn.xml * Update Language.zh-cn.xml * Update Language.zh-cn.xml unify the colon symbol ``:`` to Chinese style ``:`` * Update Language.zh-cn.xml unify symbols ``.`` ``,`` ``;`` to Chinese style ``。`` ``,`` ``;`` * Update Language.zh-cn.xml * Update Language.zh-cn.xml fix `:` in the bug report template
2023-08-14Translation XML: remove new entry for zh-cn to merge GH pull request without ↵Mounir IDRASSI1-1/+0
conflict This avoids using a merge strategy that would have polluted git history (no squash possible)
2023-08-14Update Polish translation (#1173)Matthaiks1-1/+1
2023-08-14Increment version to 1.26.5. Update signed Windows drivers.Mounir IDRASSI64-87/+87
2023-08-14Translations: Add new entry "PARTIAL_SYSENC_MOUNT_READONLY"Mounir IDRASSI41-0/+41
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