1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00
Commit Graph

88 Commits

Author SHA1 Message Date
Mounir IDRASSI
2722b46530 Windows: code refactoring and convert NTSTATUS error code to WIN32 equivalent before displaying error message. 2019-10-27 02:04:51 +02:00
Mounir IDRASSI
89e2547851 Windows: Make EFI System Encryption PostOOBE code more robust to failure to access "\\\\?\\GLOBALROOT" disk namespace 2019-10-27 02:04:43 +02:00
Mounir IDRASSI
ca46cf928a Windows: Update EFI NVRAM variable only if changed or doesn't exist and add configuration to force setting EFI BootNext to veraCrypt bootloader before each shutdown 2019-10-27 02:04:34 +02:00
Mounir IDRASSI
f22abf93dd Windows: Restore veraCrypt boot meny entry for system encryption more often, especially during PostOOBE calls, and handle additional corner cases. 2019-10-26 22:09:27 +02:00
Mounir IDRASSI
28fc65e479 Windows: Fix test of GetPrivateProfileString output since this function discards double quotation marks 2019-10-25 18:25:29 +02:00
Mounir IDRASSI
343d1a95dc Windows: only update MBR first 512 bytes if they have changed and don't update full MBR bootload in case of PostOOBE 2019-10-25 14:47:51 +02:00
Mounir IDRASSI
318b00b6a2 Windows: Avoid unnecessarily update of system encryption SetupConfig related files if there content didn't change 2019-10-25 14:47:37 +02:00
Mounir IDRASSI
9b394ddc49 Windows: Avoid unnecessary write operations when copying/modifying EFI bootloader files in order to avoid leaking modification timestamp 2019-10-20 22:17:12 +02:00
Mounir IDRASSI
31a87c2e5f Windows: add more checks to correctly identify Microsoft original bootloader. 2019-10-20 22:17:04 +02:00
Mounir IDRASSI
cca08e1ed5 Windows: Add checks that the System Favorites service is running. Warn user if he enabled option to clear RAM encryption keys and the service is stopped. 2019-10-20 22:16:57 +02:00
Mounir IDRASSI
5b88a183ac Windows: handle case of DcsProp configuration file for EFI system encryption contains wrong "ActionSuccess" entry that points towards bootmgfw.efi which is now our bootloader and not Microsoft one. 2019-10-18 00:56:39 +02:00
Mounir IDRASSI
f56a8c49f9 Windows: Fix regression that causes system favorites not to mount if VeraCrypt 1.24 is freshly installed and not updated. 2019-10-14 01:08:43 +02: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
202caea3a9 Windows: enhancements to EFI system encryption, like handling of Multi-Boot and better compatibility with Windows Upgrade process. 2019-01-15 15:05:19 +01:00
Mounir IDRASSI
07f6793bd2 Windows: enhance support of new behavior of favorite service which is now always running in case of system encryption 2019-01-14 10:49:13 +01:00
Mounir IDRASSI
d3e7ed96f3 Windows: Implement feature that enables clearing of encryption keys when a new device is inserted. Better implementation for update of EFI bootloader without usage of drive letters (this can fix random issues encountered during Windows upgrade). 2019-01-14 10:49:05 +01:00
Mounir IDRASSI
4fea208958 Windows: zero TC_IOCTL_GET_SYSTEM_DRIVE_CONFIG input/output parameter as it is done for other IOCTLs 2018-10-10 09:31:38 +02:00
Mounir IDRASSI
8f47adfff1 Windows: handle case of inconsistencies in EFI system partition content during system encryption wizard caused by older VeraCrypt system encryption not properly uninstalled (e.g. reinstall Windows without decryption first). 2018-09-03 01:00:55 +02:00
Mounir IDRASSI
deef2031c7 Windows: add define to support case of using EFI bootloader signed by Microsoft (no check on custom keys in BIOS + removal of DcsBml EFI driver since it can not be signed). 2018-09-03 01:00:38 +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
6c9adee646 Windows: Fix hidden OS boot after upgrade to version 1.23 by explicitly specifying the new name for the bootloader to launch after password validation. 2018-08-06 00:13:14 +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
17d9c1c6ec Windows: Fix system encryption issues on machines that always force booting on Microsoft bootloader (e.g. HP). 2018-04-23 16:59:37 +02:00
Mounir IDRASSI
3659ddd70c Windows: enhance ReflectDrivers mechanism by persisting it across major Windows upgrades. 2018-04-23 16:59:36 +02:00
Mounir IDRASSI
f4edd72662 Windows: code refactoring 2018-04-23 16:59:35 +02:00
Mounir IDRASSI
8e4497de2a Windows: remove ending backslash from installation path written to SetupConfig.ini 2018-04-23 16:59:34 +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
806c86bd19 Windows: use the same default value for EFI system encryption password prompt as in the one used in the bootloader. 2018-03-28 16:49:55 +02:00
Mounir IDRASSI
3021745f67 Windows: better workaround for cases where ERROR_INVALID_PARAMETER is returned during system encryption which is due to 4096-bytes alignment of disk. 2017-07-20 23:23:18 +02:00
Mounir IDRASSI
840756ead1 Windows: workaround for some cases where the system return ERROR_INVALID_PARAMETER when we try to write EFI bootloader files into ESP partition. 2017-07-03 01:55:45 +02:00
Mounir IDRASSI
0b1b8b479f Windows: reduce size of 64-bit binaries by not embedding 32-bit EFI bootloader files in their resources. 2017-06-29 00:43:14 +02:00
Mounir IDRASSI
0ebc26e125 Update IDRIX copyright year 2017-06-23 22:15:59 +02:00
Mounir IDRASSI
ee5c1784ea Windows EFI Bootloader: Add new attributes "DcsBmlDriver" and "DcsBmlLockFlags" to EFI configuration DcsProp. Set their values to 0 to disable DcsBml functionality. 2017-06-21 01:39:54 +02:00
Mounir IDRASSI
ce2aa639f4 Windows: various fixes following Coverity analysis. 2017-06-11 17:28:22 +02:00
Mounir IDRASSI
5c9aff0c54 Windows: Remove unused method ReadEfiConfig 2017-06-11 17:28:20 +02:00
Mounir IDRASSI
46a3fe1458 Windows: fix compiler warnings 2017-06-11 17:28:19 +02:00
Mounir IDRASSI
4208b43581 Windows: code refactoring for handling of ESP files (DcsProp and PlatformInfo). 2017-06-11 01:28:42 +02:00
Mounir IDRASSI
3764f7e8b9 Windows: Fix false warning in case of GPT about Windows not installed on boot drive. This is caused by the fact that presence of "bootmgr" file is not mandatory in case of EFI Boot Loader. 2017-06-09 01:18:02 +02:00
kavsrf
cf5729d4e1 Beta2 patch 1
Edit DcsProp and PlatformInfo from System->Settings
EFI loader updated
2017-06-05 17:45:45 +02:00
kavsrf
46cd09ef50 PlatformInfo read. (via ReadEfiConfig)
It is displayed in System settings
2017-06-05 17:45:45 +02:00
kavsrf
a075d45a99 DcsInfo is added 2017-06-05 17:45:35 +02:00
Mounir IDRASSI
55aa098295 Windows: fix high CPU usage when a favorite is configured to mount using VolumeID when its host device is connected to the machine. 2017-06-01 01:56:13 +02:00
Mounir IDRASSI
74b82118d5 Windows: use IOCTL_DISK_GET_DRIVE_GEOMETRY_EX instead of the deprecated IOCTL_DISK_GET_DRIVE_GEOMETRY in order to get accurate disk size value. 2017-05-17 00:46:41 +02:00
Mounir IDRASSI
7f63d57f67 Windows: Support EFI system encryption for 32-bit Windows. 2016-10-17 18:40:40 +02:00
Mounir IDRASSI
2ddc374164 Windows: Remove VeraCrypt from EFI boot partition after decrypting the system 2016-10-17 18:40:39 +02:00
Mounir IDRASSI
e362d804b0 Windows: Perform Shutdown instead of Reboot during Pre-Test of UEFI system encryption in order to detect machines where changes to EFI boot don't persist after shutdown. 2016-10-17 18:40:20 +02:00
Mounir IDRASSI
5dfdc1b4a5 Windows: fix compilation warning 2016-10-17 18:40:18 +02:00
Mounir IDRASSI
4dacedd9cc Windows: Replace XZip/XUnzip library with zlib and libzip and include the sources of these library into VeraCrypt source tree. 2016-10-17 18:40:06 +02:00
Mounir IDRASSI
ce76957a10 Windows: Fix various issues detected by static analysis. 2016-08-16 10:04:07 +02:00