Commit Graph

1551 Commits

Author SHA1 Message Date
Mounir IDRASSI
ce733d547e
Update copyright year to 2022 2022-01-02 21:52:23 +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
7e20f65e68
Windows: Update precompiled MBR bootloader files for version 1.25.6 2021-12-28 00:31:45 +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
7fcd4bce71
Windows (MSI install only): Fix double-clicking .hc file inserting %1 instead of volume name in UI path field when 2021-12-27 19:51:50 +01:00
Mounir IDRASSI
68131ac91b
MacOSX: correct permission of VeraCrypt application bundle during packaging 2021-12-24 23:57:27 +01:00
Mounir IDRASSI
bb0cef759b
MacOSX: Increment version to 1.24.5 and update release notes. 2021-12-24 21:21:09 +01:00
Mounir IDRASSI
2f45be1219
MacOSX: make sure that no files inside VeraCrypt application bundle are world-writable.
Currently, documentation HTML files and XML language files embedded inside VeraCrypt application bundle are world-writable.
2021-12-24 21:21:00 +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
e2ed21ff8b
Windows: Don't use version string suffix in language files version check. It is empty by default and for special build we want to use the same language files as standard build 2021-12-04 23:59:09 +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
0bc3e36f76
Windows: Add pre-compiled MBR bootloader binaries for version 1.25.4 to make it easier to build VeraCrypt without legacy VC compiler 2021-12-02 22:24:03 +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
622aaf4ef2
Windows: Try to workaround Windows Updates issues by fixing of bootloader and SetupConfig.ini when session logged in/unlocked or system resumes 2021-11-29 22:24:04 +01:00
Mounir IDRASSI
f79996b28c
Language XML files: Fix wrong reference to VeraCrypt 6.0 which actually should be TrueCrypt 6.0 2021-11-28 11:58:55 +01:00
Mounir IDRASSI
017e397773
Windows: Add pre-compiled MBR bootloader binaries for version 1.25 to make it easier to build VeraCrypt without legacy VC compiler 2021-11-28 11:58:46 +01:00
Mounir IDRASSI
febf7d048b
Linux: change build script for GTK3 generic installer to build wxWidgets by default 2021-11-28 00:54:06 +01:00
Mounir IDRASSI
1dc9ec2499
Increment version to 1.25 (1.25.3) 2021-11-28 00:50:35 +01:00
Mounir IDRASSI
e7b3ca7334
Linux: try to fix some rare issues when invoking sudo using fork by waiting 1 second for forked process to start 2021-11-28 00:50:26 +01:00
Mounir IDRASSI
e42bc65ae9
Linux: Add script to build GTK3 based generic installer 2021-11-28 00:50:17 +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
34282e9fce
Windows: Block installation of MSI on Windows version older than Windows 10 because of driver code signing 2021-11-21 21:45:31 +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
43cf5d7b53
Linux/macOS/FreeBSD: return error if unknown filesystem value specified in --filesystem switch 2021-11-21 21:45:09 +01:00
Mounir IDRASSI
491fed3494
Linux/FreeBSD: Fix calling "make install" without specifying DESTDIR, which should work by installing into /usr 2021-11-21 21:45:01 +01:00
Mounir IDRASSI
5f5b8a15fc
Windows: Restrict supported Windows versions to XP, 10 and 11 because of new requirement on driver code signing.
For now, we are not able to put in place HCK/WLK certification of VeraCrypt driver that is needed for Windows 7, 8 and 8.1.
2021-11-21 21:44:51 +01:00
Mounir IDRASSI
5e547b127f
Linux/macOS: Add CLI switch (--size=max) and UI option to give a file container all available free space.
This commit also makes --size switch accept KiB/MiB/GiB/TiB prefixes and adds TiB choice in UI.
2021-09-21 01:41:25 +02:00
Mounir IDRASSI
0dd87c07fd
Increment version to 1.25-RC1 2021-09-05 20:10:33 +02:00
Mounir IDRASSI
7ac1abcad1
Windows: Fix warning and link error in SetupDLL project 2021-09-05 20:10:24 +02:00
Mounir IDRASSI
9820ca06df
Update build requirements and instructions in Readme 2021-09-05 20:10:11 +02:00
Mounir IDRASSI
ddf9811b21
Windows: Block installation with exe installer if VeraCrypt was already installed using MSI package 2021-09-05 01:13:23 +02:00
Mounir IDRASSI
5e109cf01d
Linux: fix rpm installation conflict for /usr/share/mime 2021-09-04 22:10:39 +02:00
a1346054
32052f214b
Minor cleanup of the repo (#822)
* *: source files should not be executable

* *: make sure files have final newline

* *: remove BOM from text files

* translations: unify headers

* *: fix typos

* *: trim excess whitespace
2021-09-04 21:59:25 +02:00
Mounir IDRASSI
ff3cbf5672
Windows MSI: block MSI installation if System Encryption is enabled until we find a workaround for MSI service inability to access EFI environment variables (GetFirmwareEnvironmentVariable return empty values) 2021-09-02 00:20:13 +02:00
Mounir IDRASSI
7bc4256c42
Windows MSI: Fix error querying bootloader information 2021-09-02 00:20:05 +02:00
Mounir IDRASSI
4dc3d9c1a7
Windows: Implement a new way to detect Windows version to overcome MSI limitation 2021-09-02 00:19:57 +02:00
Mounir IDRASSI
ec8a6d9b82
Windows MSI: avoid duplicated entry for VeraCrypt when installing MSI over an EXE based installation 2021-08-30 00:27:43 +02:00
Mounir IDRASSI
81ed4e68f7
Windows: Remove unused certificate files 2021-08-30 00:27:35 +02:00
Mounir IDRASSI
d7feaec833
Windows: Update signed Windows driver to version 1.25.0.0 2021-08-30 00:27:27 +02:00
Mounir IDRASSI
96c2effc2b
Windows: Add latest 1.25 EFI bootloader files that are signed by Microsoft that come with the following modifications: - Fix memory leak in some cases caused by wrong check of pointer for calling MEM_FREE - Clear bootParams variable that may contain sensitive information when halting the system in case of fatal error - Add option "KeyboardInputDelay" in DcsProp to control the minimum delay supported between two key strokes 2021-08-30 00:27:19 +02: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
d9e1d57a53
Windows Driver: use functions from ntstrsafe.h instead of strsafe.h since they are destined for kernel mode 2021-08-30 00:26:50 +02:00
Mounir IDRASSI
d33c5b6f08
Windows: Set minimal supported version to Windows 8 since our driver is now signed only SHA256 2021-08-30 00:26:42 +02:00
Mounir IDRASSI
78c2fe2562
Windows Exe Setup: Add ARM64 binaries to FileInUse detection 2021-08-30 00:26:34 +02:00
Mounir IDRASSI
e948c5e0a3
Windows MSI: Don't reboot if /norestart is specified (which is equivalent to REBOOT=REALLYSUPPRESS) 2021-08-30 00:26:27 +02:00
Mounir IDRASSI
aab6feabaa
Windows: Remove sign-sha256.bat since now the default sign.bat only uses SHA256 2021-08-30 00:26:19 +02:00
Mounir IDRASSI
2216f739c4
Update copyright year to 2021 2021-08-30 00:26:11 +02:00
Mounir IDRASSI
adc21bd1ab
Linux: Build .deb packages with Ayatana application indicator support (Ubuntu >= 18.04, Debian >= 10) 2021-08-30 00:26:03 +02:00
Mounir IDRASSI
efe1c59461
Windows: Update IDRIX SHA-256 code signing certificate to latest one 2021-08-30 00:25:54 +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
f462160542
Linux: Add missing veracrypt.xml file used for mime type handling 2021-08-23 08:57:22 +02:00
Mounir IDRASSI
320bead09f
Windows: Update signing script to use newly issued IDRIX EV code signing certificate (22-08-2021) 2021-08-23 00:05:25 +02:00
Mounir IDRASSI
3ac533860c
macOS: During install, set libfuse.2.dylib as symbolic link to libosxfuse.2.dylib if it doesn't already exist 2021-08-23 00:05:17 +02:00
Mounir IDRASSI
7df5a58adc
Linux: Better Linux desktop integration. Add mount.veracrypt script for fstab (proposed by unit193 at https://github.com/veracrypt/VeraCrypt/issues/814) 2021-08-21 22:36:48 +02:00
Mounir IDRASSI
49a1252306
Fix typo in GraphicUserInterface.cpp 2021-08-21 22:36:40 +02:00
Mounir IDRASSI
e001642f86
Language XML files: remove duplicated entry and fix MOUNT_POINT entry 2021-08-21 19:18:45 +02:00
Mounir IDRASSI
0809f456d9
Linux/macOS: print LANG environment variable to console only in DEBUG mode 2021-08-21 19:18:28 +02:00
Mounir IDRASSI
fd9412e6ac
Language.xml: remove wrong character from MOUNT_POINT entry 2021-08-21 19:18:21 +02:00
Unit 193
849cd010e8
Add compile-time toggleable support for application indicators, off by default. (#815)
This tries to figure out, via wx-config, if you're using GTK2 or GTK3
and uses the associated Ayatana library.
2021-08-16 00:54:21 +02:00
Mounir IDRASSI
b1323cabae
Increment version to 1.24-Update9-Beta-21-08-15 2021-08-16 00:26:54 +02:00
Mounir IDRASSI
40c7309917
MacOSX: Use 11.3 SDK from Xcode 12.5.1 2021-08-16 00:26:45 +02:00
Mounir IDRASSI
d448713e61
MacOSX: Make AESNI availability linked to compiler target and not compilation host 2021-08-16 00:26:37 +02:00
Mounir IDRASSI
8ae5a715d6
MacOSX: First native Apple M1 support 2021-08-15 01:07:17 +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
Alex
22b0454b81
Added compatibility with GNU GCC 11 Toolchain (#811)
This fixes compilation issues when using GNU GCC >=11 where parameter -std=gnu++17 is used by default. Resolves #802
2021-08-07 21:42:51 +02:00
Mounir IDRASSI
4b98ff0e98
Windows: Better implementation of PRF autodetection optimization. 2021-08-07 20:47:07 +02:00
Mounir IDRASSI
aeba32ba8b
Windows Driver: fix BSOD during mounting caused by commit for PRF auto-detection speedup 2021-08-07 20:47:00 +02:00
Mounir IDRASSI
a505f3d98b
Windows: Fix wrong detection of ARM architecture 2021-08-02 01:17:59 +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
Mounir IDRASSI
6986dce63e
Windows: clear DeriveKeyWork work item only if they have correct type 2021-08-02 00:57:25 +02:00
Mounir IDRASSI
2e32adf625
Windows: Avoid leaking sensitive values in work item of threads pool 2021-07-15 00:21:17 +02:00
Mounir IDRASSI
fdf7888ab3
Windows: Reduce time of mount with PRF auto-detection 2021-07-14 23:59:42 +02:00
Mounir IDRASSI
b98606e390
Windows: Fix compilation error of bootloader caused by introduction of strsafe.h in crypto.c 2021-07-14 23:59:37 +02:00
Mounir IDRASSI
ad544681c7
Linux/macOS: re-order PRF algorithms from faster to slower for quicker autodetection mounting when usual algorithms used 2021-07-14 23:59:31 +02:00
Mounir IDRASSI
2fb4489e22
Windows: Remove unused files 2021-07-14 14:14:23 +02:00
Mounir IDRASSI
66acbbf6a3
Windows: Copy ARM64 binaries when creating Traveler Disk and when VeraCrypt is installed 2021-07-14 14:07:15 +02:00
Mounir IDRASSI
d6402ac146
Windows: Use only SHA256 certificate for code signature verification since SHA1 certificate is not used anymore. 2021-07-14 14:07:08 +02:00
chasonr
94cd0a477f
Make compatble with pam_tmpdir (#793)
If pam_tmpdir is in use, use the temporary directory for the sudoing
user, rather than that for root.
2021-07-14 13:55:15 +02:00
MrLightningBolt
7c3355a2d1
Make system devices work under FreeBSD (#777)
We query the kern.geom.conftxt sysctl for the GEOM configuration to find
the partition offset. Technically speaking it would probably be better
to link against libgeom but this is less overall intrusive. Also
includes a small fix to find the parent device of an encrypted partition
when it is a GPT partition rather than a BSD slice.
2021-07-14 13:48:13 +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
90d4b32ae6
Windows: Update sign.bat to remove SHA1 signing and add ARM64 binaries to the signing process alongside MSI custom action dll 2021-07-13 23:45:09 +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
d3489f4771
Windows: Fix compilation error on ARM64 caused by definition of UINT64_MAX 2021-07-13 22:07:49 +02:00
Mounir IDRASSI
ee79ff0579
Windows: first implementation of MSI installer for silent mode deployment (ACCEPTLICENSE=YES must be set in msiexec command line) 2021-03-22 08:03:01 +01:00
Mounir IDRASSI
8397c66bf3
Windows: Load UrlUnescapeW dynamically from Shlwapi.dll and use safe URL opening starting from Vista only since security mechanism doesn't apply to Windows XP. 2021-02-27 23:25:47 +01: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
c1e81d9692
Windows: Fix failure to launch keyfile generator in secure desktop mode
Hooking is not allowed if thread is running in secure desktop so we ignore SetWindowsHookEx failure in this case and random generator will be initialized using the other entropy sources from the system.
2021-02-24 21:51:00 +01:00
Mounir IDRASSI
7efe4e4f2a
Windows: Fix freeze when password dialog displayed in secure desktop and try to access token keyfiles protected by PIN 2021-02-24 21:50:52 +01:00
Mounir IDRASSI
0eace45cea
Windows: Fix failure to load local HTML documentation if application running with administrative privileges
In this case, FileExists was called on a path with format "file:///..." and containing escape sequences, which was not recognized.
2021-02-21 18:57:27 +01:00
thewh1teagle
13a1b3482c
Hebrew translation (#725)
* Added Translations/Language.he.xml

* translate

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* fixed RTL points

* changes

* Removed hebrew string vowels

* changes

* Changed Makefile path

* changes

* changes

* fixed strings with variables
2021-02-21 10:18:43 +01:00
T-Bonhagen
874d29390f
fix Program freeze Volume Creation Wizard linux (#726) 2021-02-21 10:16:24 +01:00
alt3r 3go
c802db448d
interface: add keyboard shortcut to "TrueCrypt mode" in the mount dialog (#729)
I've also updated all the relevant language files.

Closes #95.

Signed-off-by: alt3r 3go <alt3r.3go@protonmail.com>
2021-02-21 10:11:32 +01:00
Mounir IDRASSI
441babf069
Increment version to 1.24-Update9 2021-01-02 01:16:57 +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