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
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
dc3700e8bb
Windows: Fix issue in preserving last access timestamp of file containers when creating hidden volumes in direct mode inside them
2021-01-02 01:16:23 +01:00
Mounir IDRASSI
d10739a45e
Linux/MacOSX: make LanguageStrings.cpp build depend on Language.xml.h since it uses it
2020-12-20 01:22:25 +01:00
Mounir IDRASSI
4b9bfecf6a
Linux: fix build error with old gcc compilers that don't have std::getenv
2020-12-20 01:22:16 +01:00
Mounir IDRASSI
c7637cbfa9
replicate change of "processors" with "logical processors"
2020-12-13 19:07:53 +01:00
Mounir IDRASSI
d12faf5b57
Fix invalid escape sequence in Language.xml
2020-12-13 01:54:47 +01:00
Mounir IDRASSI
e42323802b
Language Translations: fix invalid escape sequence in XML files
2020-12-13 01:32:02 +01:00
Mounir IDRASSI
1157971784
Windows: Update signed drivers to version 1.24.24
2020-12-13 01:00:47 +01:00
Mounir IDRASSI
68e439ebd7
MacOS: make legacy installer compatible with macFUSE 4.0.x
2020-12-13 01:00:39 +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
nkh0472
c44127fe3b
Make the expression clearer. ( #705 )
...
Distinguish between the number of logical and physical processors.
2020-12-11 20:53:54 +01:00
T-Bonhagen
38ad7650ac
new xml Tag for en and de ( #708 )
...
* new xml Tag for en and de
* add linux support for env LANG
* precopiled header into TrueCrypt.fdp to substitute '_()' with 'LangString[]'
* more LangString in Code
* add Language xml's to Linux Setup location
* backup language for linux is en
* remove Language.en.xml install
* rearange new xml lines to end
* yes/no dialogs now translated
* All OK/Cancel Button now support international
Co-authored-by: tb@tbon.de <tb@tbon.de>
2020-12-11 18:42:59 +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
20e0247471
Crypto: small speed optimization of Streebog and removal of unused macro
2020-12-11 02:11:59 +01:00
Gokturk Yuksek
5878486f56
src/Makefile: replace explicit calls to gcc with $(CC) ( #706 )
...
The Makefile should respect the value of CC even when performing
build-related tests.
Bug: https://bugs.gentoo.org/756787
2020-12-11 02:08:42 +01:00
Mounir IDRASSI
5db0ee25ff
MacOSX: update build script to use 11.0 SDK while still targetting 10.9
2020-11-29 00:52:30 +01:00
Mounir IDRASSI
81ba939b82
Increment version to 1.24-Update8 in sign script
2020-11-29 00:52:15 +01:00
Mounir IDRASSI
4a5e5735a5
Increment version to 1.24-Update8
2020-11-29 00:52:07 +01:00
Mounir IDRASSI
dea28725c8
MacOSX: make installer compatible with macFUSE 4.0 and restriction to INTEL cpu to support new M1 cpu
2020-11-29 00:51:59 +01:00
Mounir IDRASSI
0015420c43
MacOSX: always use "pkg-config fuse" for linking since recent versions of osxfuse 3.x support this
2020-11-29 00:51:51 +01:00
Mounir IDRASSI
5f08b45dcd
MacOSX: revert part of changes of commit "Fixed macFUSE support for macOS 11 (Big Sur)"
...
We only changes related to the fix
2020-11-29 00:51:37 +01:00
Thierry Lelegard
66e550d11f
Fixed macFUSE support for macOS 11 (Big Sur) ( #699 )
2020-11-28 17:10:51 +01:00
Mounir IDRASSI
1fb59b58ee
Linux: Reduce minimal size requirement for BTRFS support to 16 MiB by using mixed mode for volumes whose size is less than 109 MiB
2020-08-26 08:31:10 +02:00
Mounir IDRASSI
42890b7b11
MacOSX: Enable c++11 in compiler for non-legacy build.
2020-08-08 20:29:34 +02:00
Mounir IDRASSI
b764926bd3
Linux/FreeBSD: Fix build error using older compilers
2020-08-08 00:04:52 +02:00
Mounir IDRASSI
e7a9898273
Set release date of 1.24-Update7 to August 7th 2020
2020-08-07 14:10:33 +02:00
Mounir IDRASSI
7d39e83655
Linux: Fix detection of available filesystem formatters
2020-08-07 14:10:27 +02:00
Mounir IDRASSI
847da0ccdf
Increment internal version to 1.24.23 and update release notes
2020-08-06 18:48:59 +02:00
Mounir IDRASSI
cb7fb0a46a
Windows: Fix crash when using portable 32-bit "VeraCrypt Format.exe"/"VeraCrypt.exe" on a 64-bit machine where VeraCrypt is already installed
2020-08-06 18:48:52 +02:00
Mounir IDRASSI
485ebc33d9
Increment internal version to 1.24.22 and update release notes
2020-08-06 00:36:59 +02:00
Mounir IDRASSI
75c13c9b7b
Windows: Fix wrong error message when UTF-8 encoding of entered password exceeds the maximum supported length.
2020-08-06 00:36:51 +02:00
Mounir IDRASSI
b0a6377878
Windows: Display a warning during system encryption wizard when typed password reaches maximum length and inform user that no more characters are allowed and that they are ignored.
2020-08-06 00:36:44 +02:00
Mounir IDRASSI
709964e156
Windows: Display warning message with correct maximum length value when password is truncated
2020-08-06 00:36:37 +02:00
Mounir IDRASSI
388e44c809
Linux: Add support for Btrfs filesystem when creating volumes
2020-08-05 02:08:12 +02:00
Mounir IDRASSI
ac87f561a8
Revert "Windows: Add latest 1.24 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"
...
This reverts commit 7241b18794
.
2020-08-03 18:41:49 +02:00
Mounir IDRASSI
7241b18794
Windows: Add latest 1.24 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
2020-08-03 18:14:37 +02:00
Mounir IDRASSI
52a78ee3b4
Increment internal version to 1.24.21 and update release notes
2020-08-03 18:14:30 +02:00
Mounir IDRASSI
bd78c9d0af
Windows: Fix issue in UI for configuration autofix mechanism of bootloader
2020-08-03 18:14:22 +02:00
Mounir IDRASSI
9da8fc669b
Windows: Use correct parameters for 2nd call to SetStartExec in BootEncryption::InstallBootLoader
2020-08-03 15:13:03 +02:00
xiaolangde
3f25b281e7
Windows Bootloader: pass correct compressed data size to decompressor. Because the ds segment register is modified when setting up the decompressor segment, loader length should be read from the cs segment. ( #666 )
2020-08-03 15:08:25 +02:00
Mounir IDRASSI
75e11add78
Windows: Fix UI for blocking TRIM in system encryption not working in MBR boot mode
2020-08-02 18:48:48 +02:00
Mounir IDRASSI
fb505b71f5
Windows: use fix for CVE-2019-19501 only if standard Windows Shell is running since we rely on it for the implementation of the fix. If Windows Shell has been modified or is not running, then we can't really protect the user is such non standard environment
2020-08-02 18:05:15 +02:00
Mounir IDRASSI
7702095ed0
Windows: Don't use HRESULT macros SUCCEEDED to check if WinVerifyTrust succeeded. Instead, check the return value for equality to zero.
2020-07-29 01:32:39 +02:00
Mounir IDRASSI
c9b5c1073d
Windows: Don't allow a directory path to be entered for the file container to be created in Format wizard
2020-07-28 17:31:54 +02:00
Mounir IDRASSI
27a45037df
Remove unused variable in Streebog implementation
2020-07-25 22:52:38 +02:00
Mounir IDRASSI
29c3000007
Linux: Update wxWidgets for static builds to version 3.0.5
2020-07-25 22:52:30 +02:00
Mounir IDRASSI
948a871c73
Windows: update libzip to latest version 1.7.3 (close issue #656 )
2020-07-24 19:42:48 +02:00
Mounir IDRASSI
09b8ae1775
Windows Setup: rename installers signed with SHA-1 to "VeraCrypt Legacy" and key "VeraCrypt" name for installers signed only with SHA-256
2020-07-22 23:54:59 +02:00
Mounir IDRASSI
b6b6710d2b
Windows: Add possibility to sign binaries using SHA256 only. This fixes Windows Smart Screen warning when launching installer
2020-07-22 23:54:53 +02: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
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
290412afce
Windows Setup: Warn about Fast Startup during install if it is enabled and propose to disable it at the end of the installation.
2020-07-21 12:47:28 +02:00
Mounir IDRASSI
f9782fb3f6
Windows: Implement detection of Hibernate and Fast Startup and disable them if RAM encryption is activated.
2020-07-21 12:47:20 +02:00
Mounir IDRASSI
425e4e7d36
Enable FIPS mode in JitterEntropy random generator in order to let the function jent_read_entropy report failure if any of the continuous statistical tests fail.
2020-07-15 00:01:54 +02:00
Mounir IDRASSI
afc11eca51
Windows: Add UI options to control the behavior of automatic bootloader fixing when System Encryption used.
2020-07-08 02:16:06 +02:00
Mounir IDRASSI
4c6b5df80b
Update Release Notes with latest Windows change (password drag-n-drop support)
2020-07-06 18:19:01 +02:00
Mounir IDRASSI
3daaae0d48
Windows: correctly wipe password in UI input field in case of direct creation of Hidden volume or resuming non-system in-place encryption
2020-07-06 18:18:54 +02:00
Mounir IDRASSI
ff391d9a6a
Windows: Support direct password drag-n-drop from external applications (e.g. KeePass) which is more secure than using clipboard.
2020-07-06 18:18:47 +02:00
Mounir IDRASSI
7a87141e53
Increment internal version to 1.24.19
2020-07-04 00:46:44 +02:00
Mounir IDRASSI
002a9a29a7
Windows: Use native Windows format program first to perform formatting since it is more reliable and only fallback to FormatEx function from fmifs.dll in case of issue.
2020-07-02 02:21:25 +02:00
Mounir IDRASSI
28c51228f8
Windows: Hide the console windows of the native Windows format tool when we call it to perform formatting
2020-07-02 02:21:16 +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