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
csware
34a9e118b6
Windows: Allow system encrypted devices to be mounted from WindowsPE - even if changing the keyboard layout failed ( #539 )
...
When my system broke and I had to use WindowsPE to rescue some files the password dialog always closed immediately. There was no chance to mount the system device using the GUI. It took me a while to realize that I could try using the CLI by passing the password as a parameter (which might not be so obvious for not advanced users).
Signed-off-by: Sven Strickroth <email@cs-ware.de >
2019-11-12 22:02:57 +01:00
Mounir IDRASSI
ac684352e6
Windows: use strcmp to compare effective content of std::string since == operator may return false if one of the strins has an extra \0 at the end.
2019-10-27 13:10:18 +01:00
Mounir IDRASSI
b1b692d4a3
Windows: Only update boot configuration on disk if the user actually changed something in the UI
2019-10-27 02:05:00 +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
faa541f613
Windows: for system encryption case, also perform automatic fix of boot configuration if MBR boot used and not only EFI.
2019-10-25 14:47:44 +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
909255d55f
Windows: Use periodic update of connected devices only if there is a Favorite that uses VolumeID. Add command option to disable the period update of devices.
2019-09-29 16:07:28 +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
8021d44465
Windows: fix HourGlass cursor showing up in main UI after launching disk decryption wizard/
2019-09-24 18:30:58 +02:00
Mounir IDRASSI
76c03c23a1
Windows: inform user that RAM encryption setting requires reboot to take effect
2019-03-08 01:03:04 +01:00
Mounir IDRASSI
28b8bf5222
Windows: Add command line switch (/m noattach) that is equivalent to UI option "Only create virtual device without mounting on selected drive letter"
2019-03-03 23:48:06 +01:00
Mounir IDRASSI
d92e045b8d
Windows: replicate old behavior when handling passwords in UI when legacy password maximum length option selected
2019-03-03 23:47:58 +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
cf48b532b4
Windows: Implement RAM encryption for keys on 64-bit machines using ChaCha12 cipher and t1ha non-cryptographic fast hash ( https://github.com/leo-yuriev/t1ha )
2019-03-01 00:35:13 +01:00
Mounir IDRASSI
29b749bdd9
Windows: rename IsCpuRngSupport to IsCpuRngSupported for clarity and use it in Mount.c
2019-02-15 00:17:11 +01:00
Mounir IDRASSI
3903fcc595
Windows: Avoid simultaneous calls of favorites mounting, for example if corresponding hotkey is pressed multiple times.
2019-02-10 22:54:37 +01:00
Mounir IDRASSI
e5b9cee868
Windows: Add option to enable use of CPU RDRAND/RDSEED as source of entropy which is now disabled by default
2019-02-08 01:50:03 +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
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
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
e516330775
Windows: Fix mount option to disable Windows Mount Manager can preserved when mount options dialog opened a second time.
2018-12-24 16:54:10 +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
2730fa33a2
Windows: fix regression causing VeraCrypt UI to always be displayed upon logon
2018-09-03 11:45:09 +02: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
09afb91c89
Windows: extended Windows defragmenter workaround to Windows 8.1
2018-09-01 01:15:32 +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
638f717d90
Windows: Fix buttons at the bottom not shown when user sets a large system font under Window 7
2018-08-28 16:57:53 +02:00
Mounir IDRASSI
7cbe6b71e5
Windows: implement a driver configuration option to explicitly allow defragmenting non-système disques by Windows built-in defragmenter tool.
2018-08-24 00:49:59 +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
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
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
3659ddd70c
Windows: enhance ReflectDrivers mechanism by persisting it across major Windows upgrades.
2018-04-23 16:59:36 +02:00
Mounir IDRASSI
f5cb9d1f2e
Windows: modify travel disk creation to get binaries from within setup exe files instead of copying existing binaries. This is needed since now we only install binaries of the current architecture.
2018-04-23 16:59:29 +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
ad7eb74960
Windows: when Secure Desktop is enabled, use it for Mount Options dialog if it is displayed before password dialog (e.g. using menu Volumes > Mount Volume with Options) since it may contains the password for hidden volume.
2018-04-05 16:48:45 +02:00
Mounir IDRASSI
e57ef0229b
Windows: workaround for cases where password dialog is not able to get focus.
2018-03-30 13:53:59 +02: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
5e3d756806
Windows: make TRIM blocking option grayed in System -> Settings UI under hidden OS since TRIM commands are always blocked in this case.
2018-03-12 00:26:11 +01:00
Mounir IDRASSI
d907627f7e
Windows: Add option to block TRIM command on system encryption SSD drives.
2018-03-05 19:35:07 +01:00
Mounir IDRASSI
cd59d5364f
Windows: Implement TRIM support for non-system SSD partitions/drives and add driver option to enable it (TRIM is disabled by default for non-system SSD partitions/drives)
2018-03-04 18:50:23 +01:00
Mounir IDRASSI
5065116e56
Windows: fix build issue under VS 2017 caused by msxml6.dll
2018-03-04 18:50: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
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
f5841b8841
Windows: install crash handler in case of system favorites service in order to be able to clear Pre-Boot password from cache before the service is terminate if a crash happens.
2017-07-09 09:49:32 +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