1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-12 03:18:26 -06:00
Commit Graph

289 Commits

Author SHA1 Message Date
Mounir IDRASSI
7d88577c61 Windows: fix another typo in code comment (hopefully last one!) 2019-09-27 18:23:32 +02:00
Mounir IDRASSI
d8ac0f7ec7 Windows: fix typo in code comment 2019-09-27 00:33:22 +02:00
Mounir IDRASSI
684259b438 Windows: Fix sporadic keyboard issue in Secure Desktop for password dialog by not using the trick to put it reliably in foreground. The trick is based on a emulation of ALT+TAB but sometimes ALT key would remain pressed in case of Secure Desktop making it impossible to type the password (a workaround was to press CTRL key which reset the state of ALT key) 2019-09-26 23:01:46 +02:00
Mounir IDRASSI
6d2cef1fd8 Fix formatting of credits in About dialog and documentation 2019-03-03 23:48:42 +01:00
Mounir IDRASSI
453ef927ef Windows: Add option to use legacy maximum password length (64 characters) instead of new maximum length (128) in UI and command line. This will users who were relying on the UI truncating the passwords to the first 64 characters in the previous versions of VeraCrypt. 2019-03-03 00:20:49 +01:00
Mounir IDRASSI
ea88c6175c Windows: fix compilation error 2019-03-02 14:50:22 +01:00
Mounir IDRASSI
f7bc58b38f Windows: mitigate some memory attacks by making VeraCrypt applications memory inaccessible by non-admin users. Implementation borrowed from KeePassXC source code (https://github.com/keepassxreboot/keepassxc/blob/release/2.4.0/src/core/Bootstrap.cpp#L150) 2019-03-02 14:45:38 +01:00
Mounir IDRASSI
321715202a Windows: Generalize RAM encryption for keys to VeraCrypt binaries, especially Format and Expander 2019-03-02 10:23:39 +01:00
Mounir IDRASSI
1b76823ea5 Add copyright and license information of JitterEntropy library by Stephan Mueller 2019-02-12 19:06:22 +01:00
Mounir IDRASSI
2061b4c28c Windows: Ensure that only one thread at a time can create a secure desktop 2019-02-10 22:54:45 +01:00
Mounir IDRASSI
6bb1f24ed5 Automatically truncate passwords for TrueCrypt volumes and System Encryption to the first 64 characters. This fix issues encountered by users of TrueCrypt volumes who were using passwords longer than 64 characters that were truncated in previous version. 2019-02-04 11:39:47 +01:00
Mounir IDRASSI
cdd1179c63 Increase password maximum length to 128 bytes from 64 bytes 2019-01-28 17:16:33 +01:00
Mounir IDRASSI
a20b3083b0 Windows: Add a build configuration containing EFI bootloader signed with custom SecureBoot key instead 2019-01-26 01:20:51 +01:00
Mounir IDRASSI
ee0a2659da Windows driver: remove volumes master keys from CRYPTO_INFO since they are not needed after their key schedule is created 2019-01-21 00:45:31 +01:00
Mounir IDRASSI
1967bd862e Windows: Add mount option that allows mounting a volume without attaching it to the specified drive letter. This is useful in situation where Windows has issue with the filesystem (e.g. ReFS on Windows 10 1809) and we need to use third party software to be able to use the filesystem under Windows through low level VeraCrypt virtual device (e.g. \Device\VeraCryptVolumeX). 2018-12-19 00:41:37 +01:00
Mounir IDRASSI
d3060a97b6 Windows: fix regression when language selected in the setup during fresh install and that caused VeraCrypt background task to be disabled. 2018-09-03 01:00:54 +02:00
Mounir IDRASSI
95748751df Windows: handle case of some disk drivers not supporting IOCTL_DISK_GET_DRIVE_GEOMETRY_EX IOCTL. 2018-09-01 01:15:30 +02:00
Mounir IDRASSI
f5a765e860 Windows: fix language selected in the installer not used by "Create Volume" wizard until reboot or exiting VeraCrypt main process. 2018-08-24 00:49:52 +02:00
Mounir IDRASSI
558746c482 Windows: Fix regression that caused the system encryption wizard to crash when displaying password field. 2018-08-16 01:12:46 +02:00
Mounir IDRASSI
c2b69b248c Windows: Add various checks and replace STL code after Coverity report 2018-08-15 14:44:34 +02:00
Mounir IDRASSI
652dfd43d6 Windows Installer: implement language selection mechanism at the start of the installer to make easier for international users. 2018-08-12 18:30:21 +02:00
Mounir IDRASSI
41ba7a06d3 Windows: Display a balloon tip warning or error message when the value pasted to password field is truncated or when there is no room for additional characters because of maximum password length reached 2018-08-07 00:58:49 +02:00
Mounir IDRASSI
6971b65512 Windows: fix warning in debug build 2018-08-06 00:13:17 +02:00
Mounir IDRASSI
c1bc9dee0e Windows: avoid timeout of Secure Desktop display by waiting for the user to be really authenticated. Under Windows 10, a user session can be started in the background even before the user has been authenticated and this was causing VeraCrypt to be started before the user has logged in, in turn this was causing Secure Desktop to fail. 2018-08-06 00:13:16 +02:00
Mounir IDRASSI
eb22f70065 Windows: in DEBUG mode, disable verification to Authenticode signature of binaries. 2018-06-24 01:15:23 +02:00
Mounir IDRASSI
98ff65045e Windows: Support machines without "EFI\Boot" folder for EFI system encryption (e.g. Windows LTSB). Compatibility enhancements for EFI system encryption. 2018-05-03 08:25:22 +02:00
Mounir IDRASSI
4f0d1c02bd Windows: Don't start EFI system encryption process if SecureBoot is enabled and VeraCrypt-DCS custom keys were not loaded in the machine firmware. 2018-04-23 16:59:40 +02:00
Mounir IDRASSI
4519bb494e Windows: implement compatibility for Windows 10 major updates using ReflectDrivers mechanism whose support started from Windows 10 version 1607. 2018-04-23 16:59:33 +02:00
Mounir IDRASSI
cce74aaee0 Windows: handle case when parameter of VerifyModuleSignature is enclosed between quotation marks 2018-04-23 16:59:31 +02:00
Mounir IDRASSI
0a737c8c87 Windows: implement internal verification of Authenticode digital signature for all modules to protect against simple binaries tampering. 2018-04-23 16:59:27 +02:00
Mounir IDRASSI
f38c4cfee8 Windows: handle rare case where call to SwitchDestop fails when trying to display password dialog in our secure desktop. This can happen for example if VeraCrypt process is launched early when user session is opened and it tries to load favorites before user workstation becomes visible. 2018-03-25 22:00:28 +02:00
Mounir IDRASSI
b206988531 Windows: use cleaner approach to implement bringing our windows to foreground. The previous implementation was causing issues with other application, like random freezing. 2018-03-25 22:00:27 +02:00
Mounir IDRASSI
e412c0458b Windows: ensure that out secure desktop has always user input to avoid cases where another application switch to default desktop while our password dialog is displayed. 2018-03-25 22:00:27 +02:00
Mounir IDRASSI
fd693b3a0c Windows: Fix some cases of external applications freezing during mount/dismount by using an internal window as parent to the waiting dialog instead of the desktop window. 2018-03-20 00:21:58 +01:00
Mounir IDRASSI
eafac3be5c Update various copyright dates. 2018-03-18 23:30:29 +01:00
Mounir IDRASSI
d20df7c990 Windows: when /silent specified in command line, avoid performing any WIN32 UI calls. This fixes issue of current application losing focus when VeraCrypt is run with /quit /silent (cf https://github.com/veracrypt/VeraCrypt/issues/274) 2018-03-13 18:34:21 +01:00
Mounir IDRASSI
aaa9a08bd4 Windows: when mounting system favorites using VolumeID feature, query all disks each time instead of caching previous call results. This is not efficient but it should fix rare cases where issues happen. 2017-07-27 00:30:54 +02:00
Mounir IDRASSI
72b7147021 Windows: use large output buffer for IOCTL_DISK_GET_DRIVE_GEOMETRY_EX calls to avoid failure with disk drivers that don't support returning only sizeof(DISK_GEOMETRY_EX). 2017-07-27 00:30:53 +02:00
Mounir IDRASSI
3dfd4a5332 Windows: display notice about creating new Rescue Disk at first boot after upgrade. 2017-07-23 14:52:12 +02:00
Mounir IDRASSI
fb317ebc48 Windows: enable secure desktop feature for VeraCrypt Format application. 2017-07-20 23:23:21 +02:00
Mounir IDRASSI
7f2981f257 Windows: use Secure Desktop for smart card PIN dialog if it is activated for password dialog. 2017-07-20 23:23:18 +02:00
Mounir IDRASSI
fe26ed8a5d Windows: in case of mounting system favorites, call driver to get list of drives instead of using SetupAPI in order to fix some rare issues where some disks were not detected at boot. 2017-07-20 23:23:16 +02:00
Mounir IDRASSI
9833a753dd Windows: when listing connected devices, consider that a partition exists if CreateFile returns ERROR_ACCESS_DENIED 2017-07-09 09:49:35 +02:00
Mounir IDRASSI
1ebb0bf00f Windows: correctly initialize global critical sections in case if system favorites service. 2017-07-09 00:19:17 +02:00
Mounir IDRASSI
b7ed0c4892 Windows: Don't remove last digit of version string if it is zero. This is a legacy code that applied to previous versioning scheme. 2017-07-07 11:52:40 +02:00
Mounir IDRASSI
a0f2ffb90b Windows: when mounting multiple favorites, use PIM of previous favorite alongside its password if option "Include PIM when caching password" is selected alongside option "Temporarily cache password during Mount Favorite Volumes operations". 2017-07-02 19:36:52 +02:00
Mounir IDRASSI
0ebc26e125 Update IDRIX copyright year 2017-06-23 22:15:59 +02:00
Mounir IDRASSI
ce2aa639f4 Windows: various fixes following Coverity analysis. 2017-06-11 17:28:22 +02:00
Mounir IDRASSI
70d083bfb2 Windows: Add checks on IOCTL_DISK_GET_DRIVE_LAYOUT_EX response to make Coverity happy. 2017-06-11 17:28:21 +02:00
Mounir IDRASSI
1662abb707 Windows: Remove unused "Parent" field in _TEXT_EDIT_DIALOG_PARAM structure 2017-06-11 17:28:21 +02:00