Mounir IDRASSI
c86577fc0e
Windows: remove 32-bit logic from the code since we support only 64-bit. remove 32-bit EFI bootloader files.
...
We also fix intermediary files folder for Portable and Setup projects
2024-11-16 01:05:15 +01:00
Mounir IDRASSI
62e956942a
Windows: remove VS 2019 solution and project files since we migrated to VS 2022.
2024-11-15 18:36:19 +01:00
Mounir IDRASSI
6d1ad12755
Windows: move main project files and solution from VS 2010 to VS 2022. Delete unused files.
2024-11-15 15:50:32 +01:00
Mounir IDRASSI
214fbb5cbd
Windows: Upgrade VS 2019 solution/projects to VS 2022. Remove Win32 configuration for driver and binaries.
...
Only setup remains 32-bit to be compatible with both x64 and arm64 Windows.
2024-11-15 14:22:45 +01:00
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
04c747fb2d
Add support for SHA-256 x86 instrinsic for enhance performance of PBKDF2-HMAC-SHA256
2024-11-10 21:08:00 +01:00
Mounir IDRASSI
4a8f068ba5
Windows: Add support for x86 and x64 build for driver and binaries using Visual Studio 2019
...
We also enable Control Flow Guard and Spectre Mitigation
2024-09-08 17:14:31 +02:00
Mounir IDRASSI
86bc9b56f0
Increment version to 1.26.13. Update release notes. Update signed Windows drivers.
2024-08-02 00:55:32 +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
0ea32b02b9
MacOSX: Fix compiler warning
...
Update friend declaration in FuseService.h and refactor GetCharWidth to ComputeCharWidth in WaitDialog.h to avoif hiding GetCharWidth inherited from wxWindow
2024-06-23 22:43:14 +02:00
Mounir IDRASSI
edde1d45f6
MacOSX: Add for using FUSE-T instead of MacFUSE
...
The build script build_veracrypt_macosx.h now accepts the argument -f to enable fuse-t support.
It is also possible to set the environment variable VC_OSX_FUSET to 1 for FUSE-T support.
A change was done in CoreUnix::GetMountedVolumes to add a waiting loop for control file to be accessible because when using FUSE-T there always a delay before control file can be serialized.
2024-06-22 01:13:20 +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
Mounir IDRASSI
7e7d776338
Increment version to 1.26.10. Update signed Windows drivers.
2023-11-09 00:09:00 +01:00
Mounir IDRASSI
1688779bc3
Windows: Fix failure to format some disks (e.g. VHDX) caused by partition offset not 4K aligned
...
Now we set offset to 1MB which is a typical values used for MBR disks.
We also use a more standard way to calculate legacy number of cylinders
2023-11-08 22:43:18 +01:00
Mounir IDRASSI
4cfb4b03a7
Increment version to 1.26.9
2023-10-11 23:59:02 +02:00
Mounir IDRASSI
06b3095e20
Increment version to 1.26.8
2023-10-10 23:15:18 +02:00
Mounir IDRASSI
53cbe028cd
Increment version to 1.26.7. Set release date to October 1st. Update Windows signed driver files.
2023-09-30 11:20:46 +02:00
Mounir IDRASSI
5192eac233
Windows Driver: Use KeQueryInterruptTimePrecise on Windows 8.1 and newer as better seed for internal RNG compared to KeQueryInterruptTime
2023-09-29 22:14:43 +02:00
Unit 193
d49c75370a
Allow cross compilation. ( #1182 )
2023-08-21 11:24:25 +02:00
Mounir IDRASSI
fcf0cb94f1
Increment version to 1.26.5. Update signed Windows drivers.
2023-08-14 01:45:37 +02:00
Mounir IDRASSI
f84d235cf1
Windows: Implement support for mounting partially encrypted system partitions
...
For now, we force ReadOnly mounting for such partitions.
2023-08-13 22:50:37 +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
034b64f415
EMV keyfile support: Overall code improvements and bug fixes
2023-06-29 00:06:20 +02:00
David
ecb5ea9671
Fix compiler warnings ( #1030 )
...
Fixing the following compiler warnings:
FuseService.cpp: In function ‘int VeraCrypt::fuse_service_read(const char*, char*, size_t, off_t, fuse_file_info*)’:
FuseService.cpp:233:12: warning: catching polymorphic type ‘struct VeraCrypt::MissingVolumeData’ by value [-Wcatch-value=]
233 | catch (MissingVolumeData)
| ^~~~~~~~~~~~~~~~~
FuseService.cpp: In static member function ‘static int VeraCrypt::FuseService::ExceptionToErrorCode()’:
FuseService.cpp:362:15: warning: catching polymorphic type ‘class std::bad_alloc’ by value [-Wcatch-value=]
362 | catch (std::bad_alloc)
| ^~~~~~~~~
Apart from warnings, the current code creates unnecessary copies of the exception object in debug mode. (But not in -O3)
2023-05-18 23:12:01 +02:00
Mounir IDRASSI
67acba4b4f
Increment version to 1.26 and update windows driver and MBR bootloader files
2022-03-21 01:19:02 +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
3cab3ce37a
Increment version to 1.25.9 and update Release Notes.
2022-02-19 22:54:59 +01:00
Mounir IDRASSI
c2b2f80d4f
Increment version to 1.25.8.2 and update signed Windows drivers
2022-02-16 23:22:22 +01:00
Mounir IDRASSI
e925dd2f1a
Windows: Increment version to 1.25.8.1 and update signed Windows drivers
2022-02-11 00:37:09 +01:00
Mounir IDRASSI
aebb099da2
Windows Driver: Don't cache the password if outer volume mounting succeeds but hidden volume mounting fails
2022-02-10 01:21:25 +01:00
Mounir IDRASSI
c51a209879
Windows: Add registry setting to disable erasing encryption keys on Windows shutdown/reboot. This helps solve BSOD during shutdown/reboot on some machines.
...
Under "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\veracrypt", create a REG_DWORD value named "VeraCryptEraseKeysShutdown" and set its value to 0.
2022-02-06 09:52:24 +01:00
Mounir IDRASSI
656b1c5902
Update Release Notes and add signed Windows driver.
2021-12-30 15:35:58 +01:00
Mounir IDRASSI
f63c2ec13c
Windows driver: Set maximum values for encryption queue parameters. Add IOCTL code to read used values from user space maximum value for EncryptionFragmentSize is 2048 maximum value for EncryptionIoRequestCount is 8192 maximum value for EncryptionItemCount is (EncryptionIoRequestCount/2)
2021-12-30 00:42:39 +01:00
Mounir IDRASSI
fac35ab08a
Windows Driver: Better code for EncryptionFragmentSize variable handling
2021-12-30 00:42:30 +01:00
Mounir IDRASSI
e3267f289b
Increment version to 1.25.6. Update Release Notes and add signed Windows driver.
2021-12-27 22:40:28 +01:00
Mounir IDRASSI
e373e72cda
Increment version to 1.25.5 and update release notes
2021-12-20 00:19:10 +01:00
Mounir IDRASSI
5640de3584
Windows Driver: Add registry settings to control driver internal encryption queue Under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\veracrypt: - VeraCryptEncryptionFragmentSize (REG_DWORD): size of encryption data fragment in KiB. Default is 256. - VeraCryptEncryptionIoRequestCount (REG_DWORD): maximum number of parallel I/O requests. Default is 16. - VeraCryptEncryptionItemCount (REG_DWORD): maximum number of encryption queue items processed in parallel. Default is 8.
2021-12-20 00:18:58 +01:00
Mounir IDRASSI
bf9866e812
Increment version to 1.25.4 and set release date to December 3rd 2021
2021-11-30 23:45:17 +01:00
Mounir IDRASSI
1dc9ec2499
Increment version to 1.25 (1.25.3)
2021-11-28 00:50:35 +01:00
Mounir IDRASSI
24675707bb
Windows: Update signed Windows driver to version 1.25.2.0
2021-11-21 22:29:51 +01:00
Mounir IDRASSI
3a28821b1d
Increment version to 1.25-RC2 and update release notes
2021-11-21 21:45:23 +01:00
Mounir IDRASSI
c048e5dae5
Increment version to 1.25
2021-08-30 00:27:10 +02:00
Mounir IDRASSI
fb1a4893b8
Windows: Fix some VS static analyzed warnings
2021-08-30 00:26:57 +02:00
Mounir IDRASSI
09206053d5
Windows Driver: Potential memory corruption caused by integer overflow in IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES (reported by I.V. Sprundel)
2021-08-24 09:29:24 +02:00
Mounir IDRASSI
33baca7261
Windows: Increment version to 1.24.25.3 and update signed Windows driver
2021-08-15 01:07:03 +02:00
Mounir IDRASSI
ad1b91bf6f
Windows: Increment version to 1.24.25.2 and update signed Windows driver
2021-08-02 00:57:32 +02:00
kokokodak
c8830a04b4
Add support for OpenBSD ( #779 )
...
* OpenBSD: add basic support
modified: Build/Include/Makefile.inc
modified: Driver/Fuse/FuseService.cpp
modified: Main/FatalErrorHandler.cpp
modified: Makefile
modified: Platform/Unix/File.cpp
modified: Platform/Unix/FilesystemPath.cpp
modified: Platform/Unix/SystemInfo.cpp
* OpenBSD: some necessary files were missing
new file: Core/Unix/OpenBSD/CoreOpenBSD.cpp
new file: Core/Unix/OpenBSD/CoreOpenBSD.h
new file: Core/Unix/OpenBSD/System.h
2021-07-14 13:43:34 +02:00
Mounir IDRASSI
b9c93d7451
Windows: Update signed Windows driver to version 1.24.25.1
2021-07-13 23:12:55 +02:00
Mounir IDRASSI
c374782436
Windows: replace insecure wcscpy/wcscat/strcpy runtime functions with secure equivalents
...
This fixed failure to build driver for ARM64 with latest VS 2019
2021-07-13 22:08:02 +02:00
Mounir IDRASSI
dce6d76b81
Windows: Fix link error on ARM64 with latest VS2019 (undefined __stdio_common_vswprintf symbol)
2021-07-13 22:07:55 +02:00