Commit Graph

261 Commits

Author SHA1 Message Date
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
Mounir IDRASSI c6d63e9365
Windows: Block Windows from resizing system partition if it is encrypted. This avoid issues during Windows Upgrade that sometimes resizes system partition which create problems if it is encrypted by VeraCrypt 2021-02-27 23:07:10 +01:00
Mounir IDRASSI 441babf069
Increment version to 1.24-Update9 2021-01-02 01:16:57 +01:00
Mounir IDRASSI 3281b276b6
Windows: Fix various warnings 2021-01-02 01:16:40 +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 1157971784
Windows: Update signed drivers to version 1.24.24 2020-12-13 01:00:47 +01:00
Mounir IDRASSI 21674c6aec
Windows: Fix various compiler warnings 2020-12-11 23:42:14 +01:00
Mounir IDRASSI b48d437c80
Windows Driver: Fix build error using Windows 10 WDK caused by name conflict for KeSaveExtendedProcessorState/KeRestoreExtendedProcessorState functions 2020-12-11 23:42:08 +01:00
Mounir IDRASSI 699a0a3ca5
Increment internal version to 1.24.20 and update release notes 2020-07-22 17:28:06 +02:00
Mounir IDRASSI 7a87141e53
Increment internal version to 1.24.19 2020-07-04 00:46:44 +02:00
Mounir IDRASSI 3f587a3629
Windows: Don't use API for Processor Groups support if there is only 1 CPU group in the system. This can fix slowness issue observed on some PCs with AMD CPUs. 2020-07-02 02:20:42 +02:00
Mounir IDRASSI 23d64ab195
Increment internal version to 1.24.18 and update signed Windows drivers. 2020-06-29 01:00:02 +02:00
Mounir IDRASSI b270a453aa
Windows: remove unused code targeting Windows 2000. 2020-06-28 01:06:14 +02:00