1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00
Commit Graph

1721 Commits

Author SHA1 Message Date
Marius Kjærstad
2b6ed5a582 Added line breaks between new copyright holders (#963) 2023-05-19 23:28:40 +02:00
Wendigo
8fc866df40 update zlib to latest version 1.2.13 (#986) 2023-05-19 22:15:01 +02:00
Es
e59581918f wxWidget assert failure bug (#999)
* Removal of any of the any of `wxALIGN_RIGHT`/`wxALIGN_CENTRE_HORIZONTAL`/`wxALIGN_BOTTOM`/`wxALIGN_CENTRE_VERTICAL` when used in conjunction with `wxEXPAND`

wxWidget has an "assert" that gets triggered anytime `wxEXPAND` gets used with an alignment property (useless override). This leads to a popup backtrace everytime a non-compliant widget is opened.

* Removal of missed `wxALIGN_RIGHT`/`wxALIGN_CENTRE_HORIZONTAL`/`wxALIGN_BOTTOM`/`wxALIGN_CENTRE_VERTICAL` when used in conjunction with `wxEXPAND`

* Removed property 'label' for wxMenuBar as no longer used (wxFormBuilder)

* Removed redundant 'wxALIGN_RIGHT' for the "OK" button in the preference panel (there is a spacer already in-place that pushes the buttons to the right)

* Removed redundant 'wxALIGN_RIGHT' for items in the wizard panel's (`WizardFrameBase`) button bar and added width spacing for the 2 spacers between the buttons to make up for the change.

* Changed constructor signature for the `WizardPage` and all subclasses

 The addition of the wxString 'name' arg brings it inline with the new wxFromBuilder v3.10.1 output so that editing+generating the forms from it won't brake the build now.

* Removed remaining redundant 'wxALIGN_*' that were paired with 'wxEXPAND'.

* Added missing default flags to wxFileName::Normalize(..) method

The old empty initialization which was fine up to v2.8.12 of wxWidget gives off a compile warning. Since the default `wxPATH_NORM_ALL` is now depreciated (v3.x) the equivalent individual flags must be explicitly given.

* Changed spaces to tabs to bring last commit inline with the rest of the src code
2023-05-19 00:44:13 +02:00
ZhanYF
b6513d82f8 OpenBSD vnconfig no longer needs -c option (#1002)
Co-authored-by: Your Name <you@example.com>
2023-05-19 00:29:59 +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
Jertzukka
1043bff967 Fix mount.veracrypt (#1064)
Reverses order of --non-interactive and --text to actually make it work, also fix --pim working.
2023-05-18 23:09:32 +02:00
Jertzukka
8072207eb6 Add a new LangString 'LINUX_VOL_MOUNTED' to show when volume mounted. Fixes (#1029)
the issue of 'LINUX_VOL_DISMOUNTED' being shown even when not dismounting.
2023-05-18 22:59:36 +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
44c9c077f3 Revert "New sys enc wizard (#957)"
This reverts commit c0ff7a7c52.
2022-12-11 13:01:14 +01:00
Felix Reichmann
c0ff7a7c52 New sys enc wizard (#957)
* New VeraCrypt interface (for system encryption) with improved usability

* System Encryption: translate password to US keyboard layout + improved new interface

* Windows: Fix build error following merge

* Windows: Remove unused variable

* Windows: Add missing string in Language.xml

* Windows: fix buffer overrun caused by wrong use of wmemset

* Do not delete password file

Since the file is only available in \Release\Setup Files\ it would be fully deleted after running this script the first time.

* Correct return code

Originally the function would have always returned the return-code 1 resulting that the user is not able to change the location for the rescue zip.

* Added hint for sysenc

Added a hint why the field for repeating the password is initially greyed out within the system encryption.

* Corrected spelling mistake

Corrected spelling mistake

* Removed not working copy job

The file to be copied was stored at the source location. Therefore the copyjob will not work. Instead the file is already in the target folder.

* Removed RIPEMD-160 from Product64.wxs

See commit from 21.03.2022

* Added german translation for new interface

* Fixed PIM bug

* Corrected translation file based on the guidelines within the pull request

* Fixing merge conflicts

* Fixed Compiling issues. Reverted keyboard translation

* Removed artifacts of password translation

* Corrected language.xml

* Fixed order within german language file

* Corrected positions

Co-authored-by: Bruna2803 <bruna.radeljak@hotmail.com>
Co-authored-by: felixreichmann <30237956+felixreichmann@users.noreply.github.com>
Co-authored-by: Mounir IDRASSI <mounir.idrassi@idrix.fr>
2022-08-25 09:46:58 +02:00
Mounir IDRASSI
99c3cda01a Windows: use newer MEMORYSTATUSEX structure in call to GlobalMemoryStatusEx 2022-08-25 09:38:49 +02:00
Wendigo
46ecb1a66d Minor bugfixes (#950)
* Update Dlgcode.c

minor bugfixes

* GlobalMemoryStatus x64 bugfix

GlobalMemoryStatus deprecated in x64
2022-08-25 08:57:34 +02:00
Kenneth Chew
a23d4392fb Fix incorrect text color in dark mode (#920) 2022-08-21 17:58:08 +02:00
Matteo Baccan
53b4019d1f Fixed a typo error (#929)
Hi

I have fixed a little typo error: a double semicolon at the end of one line

ciao
matteo
2022-08-21 17:56:31 +02:00
Felix Reichmann
cc5212fdb1 Documentation overwork (#953)
Github PR: https://github.com/veracrypt/VeraCrypt/pull/953

* Create CompilingGuidelinerh

* Initial Upload Windows Compiling Guide

* Removed RIPEMD-160 from Product64.wxs. See commit from 21.03.2022

* Completed Win compiling guideline

* Added link to detailed compiling guide

* Added link to detailed compiling guide

* Restructured docu main page

* Added sourceforge link

* Added compiling guide for Linux

* References to detailed instructions

* Revert "Removed RIPEMD-160 from Product64.wxs. See commit from 21.03.2022"

This reverts commit 024ae2a465.

* Correction of a div box
2022-08-16 08:21:55 +02:00
Mounir IDRASSI
0871695403 Update zlib to version 1.2.12 2022-03-31 00:52:40 +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
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
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
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
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
0b78115084 Windows: Update MBR bootloader files. 2022-02-05 22:52:18 +01:00