Mounir IDRASSI
bb55343f63
Windows: if /fastCreateFile set, request SE_MANAGE_VOLUME_NAME privileges (credits: @xnoreq)
...
Display a warning if request failed and allow to continue without fast creation
2023-06-23 00:36:07 +02:00
Mounir IDRASSI
0e4f1ecee3
Windows: Make SetPrivilege return error if AdjustTokenPrivileges cannot adjust privileges
2023-06-23 00:32:24 +02:00
Mounir IDRASSI
fbb1d18034
Windows: Allow selecting size unit (KB/MB/GB) for generated keyfiles
...
This change also makes it possible to generate keyfiles larger than 1 MiB although only the first 1 MiB will be taken into account by VeraCrypt.
Update strings in XML files
2023-06-20 23:15:46 +02:00
Mounir IDRASSI
2bfeba160c
Windows: make Expander first check file existence before proceeding further
2023-06-18 23:31:18 +02:00
Mounir IDRASSI
031748a988
Linux: make .deb package compatible with Debian 12
2023-06-18 00:28:08 +02:00
Mounir IDRASSI
36a055f669
Linux/macOS: only wipe password/PIM text controls if they are not empty
...
This fixes a crash on macOS with latest wxWidgets 3.2.2.1 where
GetLineLength returns -1
2023-06-14 00:31:46 +02:00
Mounir IDRASSI
440df02355
Linux: Fix compatibility of generic installers with old Linux distros
...
In old Linux distributions, tar command doesn't support
"--keep-directory-symlink" so we now dynamically detect if this switch
is support and then we use it if it is available
2023-06-13 23:34:04 +02:00
Mounir IDRASSI
4cc203e7b3
Crypto: Fix detection of SSSE3 intrinsics in compiler
...
We use correct define CRYPTOPP_BOOL_SSSE3_INTRINSICS_AVAILABLE
2023-06-13 23:26:02 +02:00
Mounir IDRASSI
41516242d5
Linux: use wxWidgets 3.2.2.1 for official VeraCrypt Linux packages
2023-06-13 23:23:18 +02:00
Mounir IDRASSI
2639e39976
Linux: fix static build against wxWidgets 3.2.2.1
...
libcurl support must be explicitely disabled
GKT2 must be explicitely set as defaut in VeraCrypt Makefile since
wxWidgets 3.2.2.1 uses GKT3 as default
2023-06-13 23:16:39 +02:00
Mounir IDRASSI
b0d0fbbcfd
Documentation: Clarify various points in the documentation
2023-06-13 00:32:41 +02:00
Mounir IDRASSI
9ad75aaa0f
Translations: restore lost change in Language.fr.xml. Translate two strings.
2023-06-10 00:51:33 +02:00
Mounir IDRASSI
d5ef46ef74
Documentation: Document difference between normal dismount and force dismount
2023-06-09 22:37:53 +02:00
Mounir IDRASSI
e7f5bca0b5
Update compilation doc to match website version
2023-06-09 20:16:49 +02:00
Mounir IDRASSI
9d9a73d4eb
Update copyright in CHM file
2023-06-06 00:06:42 +02:00
Mounir IDRASSI
5ced64881c
Update copyright on various files
2023-06-06 00:03:12 +02:00
Mounir IDRASSI
b25ebeb7b4
Linux/macOS: Fix error during creation of installation package
...
"-R" switch was missing from the "cp" command
2023-06-05 22:46:20 +02:00
Mounir IDRASSI
4b46bdc253
Update copyrights in Readme.txt
2023-06-04 17:18:53 +02:00
Mounir IDRASSI
9086232d17
Increment version to 1.26.2. Update Release Notes
2023-06-04 17:17:54 +02:00
Mounir IDRASSI
22466535f1
Windows: Possible workaround for logarithmic slowdown for Encrypt-In-Place on large volumes (relates to #1063 )
...
We replace absolute file pointer moving by relative moving with respect to current position. This was implemented as a workaround to address the performance issues related to in-place encryption. When using SetFilePointerEx() with FILE_BEGIN as the reference point, reaching the end of large drives during in-place encryption can cause significant slowdowns. By moving the file pointer relatively, these performance issues are mitigated.
2023-06-04 16:25:55 +02:00
Mounir IDRASSI
5e4e2e0483
Windows: Add dropdown menu to Mount button to allow mounting without cache
2023-06-02 09:39:14 +02:00
Mounir IDRASSI
f58a796ae6
Pkcs5.c: Fix typos where SHA256 is mentionned instead of Blake2s
...
This didn't cause any issue because SHA256_DIGESTSIZE is equal to
BLAKE2S_DIGESTSIZE
2023-05-28 17:36:29 +02:00
Mounir IDRASSI
7ae63335ac
Linux/macOS: Make RNG implementation match documentation and the Windows implementation
2023-05-27 17:24:11 +02:00
Mounir IDRASSI
f4b310b23f
Linux/macOS: explicitely initialize hash algo before hashing random pool
...
The lack of explicit hash initialization was causing issue with Blake2s
because it doesn't allow further processing once a digest value was
returned.
Other hash algorithms don't have this restriction.
Not we explicitely initialize all hash algorithms which is the correct
way to do things.
2023-05-27 10:25:56 +02:00
Mounir IDRASSI
40caafdb1b
Windows: Add missing Blake2s source files to VS 2019 crypto project
2023-05-26 00:36:05 +02:00
Mounir IDRASSI
28aff67293
Windows: Add missing update of libzip zip_err_str.c and fix libzip related project configuration
2023-05-26 00:35:58 +02:00
Mounir IDRASSI
b872702309
Linux: Fix printing error when checking freespace during volume creation
...
No parent directory specified in the path, we assume current directory
We first check if parent directory exists before checking its free space
using wxgetDiskSpace
Based on idea proposed by @bogdro in PR#1025
2023-05-22 01:05:17 +02:00
Mounir IDRASSI
eb61010ce2
Linux/macOS: Better handling of wrong PIM value in text mode (enhances PR#1026)
2023-05-21 17:27:33 +02:00
Mounir IDRASSI
76df737ae5
Update Language.zh-cn.xml to remove unused string after revert of newsysenc commit
2023-05-20 17:43:06 +02:00
Mounir IDRASSI
1f3ebcd7c6
Update Language.nl.xml to fix format of some entries and remove strings that don't exist anymore after revert of sysenc commit
2023-05-20 17:42:10 +02:00
Mounir IDRASSI
8e443c25cc
Linux/macOS: Suppress asserts displayed by wxWidgets 3.1.6+ for sizer flags until we fix all sizer flags in our UI.
2023-05-18 21:25:07 +02:00
Mounir IDRASSI
0fdf2edda7
Linux: Fix .deb package compatibility with Ubuntu 23.04
2023-05-18 21:22:24 +02:00
Mounir IDRASSI
49de3de994
Windows MSI: fix failure to create MSI because of missing html files during packaging
2022-12-11 23:04:02 +01:00
Mounir IDRASSI
13dc3da6a6
Windows MSI: Add reference to newly added documentation files. Remove reference to RIPEMD-160 html file.
2022-12-11 21:26:58 +01:00
Mounir IDRASSI
4056f58add
Documentation: remove usage of CSS collapsible to avoid breaking CHM generation. Add new entries to CHM. Remove example script file since its content is described inline in the documentation
...
We need to generate CHM from the same HTML files as the documentation and so we are limited by CHM compatibility
2022-12-11 18:40:33 +01:00
Mounir IDRASSI
e04bf339f7
Documentation: Add missing file Miscellaneous.html
2022-12-11 17:50:38 +01:00
Mounir IDRASSI
44c9c077f3
Revert "New sys enc wizard ( #957 )"
...
This reverts commit c0ff7a7c52 .
2022-12-11 13:01:14 +01:00
Mounir IDRASSI
99c3cda01a
Windows: use newer MEMORYSTATUSEX structure in call to GlobalMemoryStatusEx
2022-08-25 09:38:49 +02:00
Mounir IDRASSI
0871695403
Update zlib to version 1.2.12
2022-03-31 00:52:40 +02:00
Mounir IDRASSI
2be0b2e88f
HTML Documentation: Add Russian translation by Dmitry Yerokhin
2022-03-31 00:52:33 +02:00
Mounir IDRASSI
a077eb94ef
Documentation: clearer description of how number of iterations are calculated
2022-03-27 16:34:42 +02:00
Mounir IDRASSI
762065917f
Windows: Add various checks to address Coverity reported issues.
2022-03-26 21:15:11 +01:00
Mounir IDRASSI
a0809fe85c
Windows: check result of WriteFile and don't block if it is failing (Coverity)
2022-03-26 21:15:04 +01:00
Mounir IDRASSI
05fd14006d
Remove dead code from chacha_ECRYPT_encrypt_bytes (Coverity)
2022-03-26 21:14:57 +01:00
Mounir IDRASSI
533269ca9a
Windows: Fix wrong parameter to CloseHandle function in case of failure of CreateEvent (Coverity)
2022-03-26 21:14:49 +01:00
Mounir IDRASSI
69a9c6b394
Update release notes for 1.26.0 and set its date to March 21st 2022
2022-03-22 00:56:54 +01:00
Mounir IDRASSI
165df2188e
Language Translations files: update polish translation
2022-03-21 07:59:31 +01:00
Mounir IDRASSI
fbdcd35b00
Language XML files: Add newly added entry to the XML files of supported languages
2022-03-21 01:19:17 +01:00
Mounir IDRASSI
5124775236
Windows: Add latest 1.26 EFI bootloader files that are signed by Microsoft that come with the following modifications: - Fix bug in PasswordTimeout value handling that caused it to be limited to 255 seconds. - Rescue Disk: enhance "Boot Original Windows Loader" by using embedded backup of original Windows loader if it is missing from disk - Addition of Blake2s and removal of RIPEMD160 & GOST89
2022-03-21 01:19:09 +01: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
a239789317
Add missing Blake2s source files
2022-03-21 01:18:55 +01:00
Mounir IDRASSI
a57a79c61d
Update documentation to add Blake2s-256 and remove RIPEMD-160
2022-03-21 01:18:48 +01:00
Mounir IDRASSI
4a1be156f7
Language XML files: update Russian XML file by Dmitry Yerokhin.
2022-03-21 01:18:41 +01:00
Mounir IDRASSI
03e29434e8
Windows: Display message to recreate Rescue Disk when upgrading from version 1.25 or earlier because of the changes in the supported algorithms
2022-03-21 01:18:34 +01:00
Mounir IDRASSI
5383190518
Windows: Block upgrade of VeraCrypt is the system is encrypted using RIPEMD-160 or GOST89 since they are not supported anymore.
2022-03-21 01:18:27 +01:00
Mounir IDRASSI
dd0f3cd167
Windows: use "HMAC-BLAKE2s-256" instead of "HMAC-BLAKE2s" for BLAKE2s PRF name
2022-03-21 01:18:20 +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
c145b337cb
Linux/MacOSX: Fix hidden volume settings not correctly displayed when enabling hidden volume protection in mount options window
2022-02-19 22:35:34 +01:00
Mounir IDRASSI
b52ce86040
Linux: Fix code dump when built with -D_GLIBCXX_ASSERTIONS caused by an assert in libstdc++.
...
The variable has enough capacity so pointer &buffer[0] is valid but since clear method was called, we are not supposed to access element at index 0.
Related to Github issue #896
2022-02-18 01:24:32 +01:00
Mounir IDRASSI
662bb60fe4
Windows: Fix wrong Debug reference in VS2019 solution file
2022-02-16 23:44:18 +01:00
Mounir IDRASSI
8a1f6d904b
Update Release Notes and release date
2022-02-16 23:22:32 +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
d417b2806c
Linux/FreeBSD: Enable building without AESNI support by setting environment variable DISABLE_AESNI to 1 during build or passing NOAESNI=1 to make command
...
This comes following Github issue #892 and which should be solved thanks to this.
2022-02-13 18:42:27 +01:00
Mounir IDRASSI
be5bcbf42f
Language XML files: Update French translation
2022-02-13 18:42:21 +01:00
Mounir IDRASSI
4483d23fad
Add missing copyright to README.md
2022-02-13 18:42:12 +01:00
Mounir IDRASSI
5ef553d18f
Windows: remove debugging left over call to MessageBox
2022-02-11 00:37:39 +01:00
Mounir IDRASSI
11800e429d
Windows: Activate lzma project build for x64 target
2022-02-11 00:37:33 +01:00
Mounir IDRASSI
b1ae5f4740
Update copyrights following integration of LZMA SDK
2022-02-11 00:37:25 +01:00
Mounir IDRASSI
b5b252107d
Update Release Notes and set release date to February 10th.
2022-02-11 00:37:17 +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
c3bb028dfa
Update Turkish translation (FabSec; By Fabriel)
2022-02-10 01:30:39 +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
1ef05f24e2
Windows: Reduce the size of installers by almost 50% by using LZMA compression instead of DEFLATE
2022-02-10 01:21:17 +01:00
Mounir IDRASSI
302dc37fb9
Windows: Make Travel Disk contains 32-bit and arm64 binaries when VeraCrypt installed using MSI
2022-02-10 01:20:25 +01:00
Mounir IDRASSI
2da115ffb4
Update Release Notes and add signed Windows driver.
2022-02-06 09:53:07 +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
6f3fc5b9e3
Update Release Notes
2022-02-05 22:52:25 +01:00
Mounir IDRASSI
0b78115084
Windows: Update MBR bootloader files.
2022-02-05 22:52:18 +01:00
Mounir IDRASSI
0e4c8f91af
Windows: remove unneeded reference to XML files from Setup Visual Studio project
2022-02-05 22:52:09 +01:00
Mounir IDRASSI
91d308857a
Translations: Fix minor typo in zh-CN translation ( close #879 )
2022-02-05 22:52:00 +01:00
Mounir IDRASSI
463ae8e6aa
Increment version to 1.25.8
2022-02-05 22:51:52 +01:00
Mounir IDRASSI
3cf9364592
Linux: avoid overriding /usr/sbin if it is a symlink ( close #888 )
2022-02-05 22:51:41 +01:00
Mounir IDRASSI
4ef324df1a
Linux: make generic uninstaller remove all VeraCrypt related files that were copied by the generic installer
2022-02-05 22:51:33 +01:00
Mounir IDRASSI
5c319dec94
Windows: Fix failure to verify driver file signature since it is signed by Microsoft not us.
...
This caused a failure when creating Traveler Disk
2022-02-02 01:55:23 +01:00
Mounir IDRASSI
ebb67499f1
Windows: Fix failure to create Traveler Disk when VeraCrypt is installed using MSI
2022-02-02 01:23:34 +01:00
Mounir IDRASSI
06841f67c7
Windows MSI: set minimum support for MSI installation to Windows 7
2022-02-01 23:33:03 +01:00
Mounir IDRASSI
9b88625d97
Windows: Make MSI installer compatible with System Encryption by leveraging VeraCrypt service capabilities
2022-02-01 23:32:55 +01:00
Mounir IDRASSI
8ad93e6648
Windows: Fix wrong check on IUnknown_QueryService function pointer
2022-01-30 17:25:09 +01:00
Mounir IDRASSI
87efa35c38
Windows: Enhancement to CVE-2019-19501 fix to using IShellDispatch2::ShellExecuteW if RunAsDesktopUser fails. Also we don't use the fix if UAC is disabled since in this case the Shell Explorer.exe will be elevated anyway so we can't use to reduce elevation.
2022-01-30 16:48:49 +01:00
Mounir IDRASSI
0d92195c91
Windows MSI: set minimum support for MSI installation to Windows 8 as it was before
2022-01-16 15:18:48 +01:00
Mounir IDRASSI
abfef8821d
MacOSX: remove write permission also from group on application bundle
2022-01-08 11:08:47 +01:00
Mounir IDRASSI
46a32bea19
Update some translations from Transifex
2022-01-08 09:51:38 +01:00
Mounir IDRASSI
2d3771c45d
Increment version to 1.25.7 and update Release Notes
2022-01-07 00:35:46 +01:00
Mounir IDRASSI
897b676e61
Windows: Update IDRIX SHA-256 code signing certificate to latest one
2022-01-07 00:35:31 +01:00
Mounir IDRASSI
9ee48b9d60
Windows: Remove adding signing certificate to TrustedPublishers on XP since it doesn't bring any benefits
2022-01-07 00:35:21 +01:00
Mounir IDRASSI
47f542bfa7
Windows: Fix text truncation in setup wizard and modaless waiting dialog
2022-01-07 00:33:44 +01:00
Mounir IDRASSI
b1333b067b
Update Italian translation from Transifex
2022-01-07 00:33:36 +01:00
Mounir IDRASSI
2d7d7ad968
Windows: Don't sign drivers with our certificate since we now use single attestation signing (no dual signing)
2022-01-02 21:52:57 +01:00
Mounir IDRASSI
c490a75102
Update documentation and Release Notes for restored Windows 7 support. Set 1.25.6 release date at January 3rd 2022
2022-01-02 21:52:49 +01:00