Mounir IDRASSI
cb97351250
Windows: Remove support for 32-bit driver code. Set build target as Windows 10. Simplify code and fix all warnings in driver.
2024-11-13 02:08:51 +01:00
Mounir IDRASSI
380850787e
Windows: Simplify error message related to IsEfiBoot since it always fail with ERROR_INVALID_FUNCTION
...
Proposed by @kriegste on https://github.com/veracrypt/VeraCrypt/issues/360
2024-09-17 18:25:52 +02:00
Mounir IDRASSI
eb0eec7b39
Windows: Fix failed EFI detection on some PCs where BootOrder variable is not defined.
...
we now report that EFI is not support only when GetFirmwareEnvironmentVariable fails with error ERROR_INVALID_FUNCTION.
Proposed by @kriegste on https://github.com/veracrypt/VeraCrypt/issues/360
2024-09-16 23:11:37 +02:00
Mounir IDRASSI
f024653450
Windows: Fix truncated displayed error message
2024-09-02 14:02:46 +02:00
Mounir IDRASSI
380ca35c6d
Windows: Fix regression causing crash when a wrong password is used when changing password of volumes
2024-08-24 18:02:16 +02:00
Mounir IDRASSI
17ad739405
Windows: better handling of reading EFI variable to display help error 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-14 10:58:52 +02:00
Mounir IDRASSI
ed1263bf8c
Implement detection of volumes with vulnerable XTS master key.
...
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-08-02 00:20:53 +02:00
Mounir IDRASSI
455a4f2176
Avoid conflict with C++17 features std::byte by using uint8 type instead of byte
2024-06-12 12:30:04 +02:00
lealem47
9247ce1bb9
wolfCrypt as crypto backend for VeraCrypt ( #1227 )
...
* wolfCrypt as crypto backend for VeraCrypt
* Refactor to use EncryptionModeWolfCryptXTS class
2023-11-13 00:51:31 +01:00
Mounir IDRASSI
a47f67bcc1
Windows: Fix writing wrong EFI configuration options to registry
2023-10-10 10:35:50 +02:00
Mounir IDRASSI
d2f2defca9
Windows: replace CoInitialize calls with CoInitializeEx
2023-09-11 00:03:28 +02:00
Mounir IDRASSI
201d09ff5a
Windows: remove legacy code (XP, Vista). Simplify code since Windows 7 is now minimal OS version.
2023-09-03 16:47:41 +02:00
Mounir IDRASSI
e8f83544ea
Windows: Fix false positive detection of new device insertion when clear 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-05 00:45:39 +02:00
Mounir IDRASSI
fa6359d424
Windows: Remove TrueCrypt support. Increment version to 1.26.4.
2023-07-22 10:25:22 +02:00
Mounir IDRASSI
5383190518
Windows: Block upgrade of VeraCrypt is the system is encrypted using RIPEMD-160 or GOST89 since they are not supported anymore.
2022-03-21 01:18:27 +01:00
Mounir IDRASSI
36795a688f
Implement support of Blake2s-256 hash algorithm and remove deprecated algorithms RIPEMD-160 and GOST89.
2022-03-08 00:29:26 +01:00
Mounir IDRASSI
a21b2270e8
Windows: Implement TESTSIGNING build configuration that allows running under Windows Vista,7, 8 and 8.1.
2021-12-04 23:59:01 +01:00
Mounir IDRASSI
0944b68933
Revert "Windows: Don't check for availability of 32KB of free space for bootloader in UEFI boot mode"
...
More work is needed to reduce the 32KB free space requirement without creating regressions.
2021-01-02 01:16:48 +01:00
Mounir IDRASSI
9881744c95
Windows: Add support for ARM64 platform (e.g. Microsoft Surface Pro X). System encryption still not implemented on ARM64
2021-01-02 01:16:31 +01:00
Mounir IDRASSI
cb7adbfa26
Windows: Don't check for availability of 32KB of free space for bootloader in UEFI boot mode since in this case bootloader will be stored in EFI partition and not in the unallocated space at the beginning of the drive
2020-12-11 02:12:07 +01:00
Mounir IDRASSI
9da8fc669b
Windows: Use correct parameters for 2nd call to SetStartExec in BootEncryption::InstallBootLoader
2020-08-03 15:13:03 +02:00
Mounir IDRASSI
587e6db4f1
Windows: Warn about Fast Startup if it is enabled during system encryption or volume creation and propose to disable it
2020-07-22 17:27:59 +02:00
Mounir IDRASSI
9a804654f5
Windows: Don't allow to encrypt the system drive if it is already encrypted by BitLocker
2020-07-02 02:20:58 +02:00
Mounir IDRASSI
b270a453aa
Windows: remove unused code targeting Windows 2000.
2020-06-28 01:06:14 +02:00
Mounir IDRASSI
14a477026d
Windows: compatibility with multi-OS boot configuration by only setting VeraCrypt as first bootloader of the system if the current first bootloader is Windows one.
2019-11-27 00:15:51 +01:00
Mounir IDRASSI
79eea6e5b1
Windows: Don't restore MBR to VeraCrypt value if it is coming from a loader different from us or different from Microsoft one.
2019-11-27 00:15:43 +01:00
Mounir IDRASSI
9741c9209d
Windows: Add new registry flags for SystemFavoritesService to control updating of EFI BIOS boot menu on shutdown. This will help better manage multi-boot scenarios where we should not mess up with boot order (e.g. grub2 case)
2019-11-22 00:11:55 +01:00
Mounir IDRASSI
94084525b1
Windows: fix failure to create rescue and thus to encrypt the system if the Windows username contains a UNICODE non-ASCII character (cf https://github.com/veracrypt/VeraCrypt/issues/441 )
2019-10-27 02:30:15 +02:00
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