Commit Graph

2012 Commits

Author SHA1 Message Date
Jertzukka
6ced991d98
Fix issues launching fsck via terminal on Linux (#1086)
Currently on a system without xterm or konsole (like fresh
Ubuntu install) the fsck check will not launch. Added
gnome-terminal as an alternative and fixed an issue where
konsole will always error out as --title and --caption are
no longer valid arguments.

Previously the error message was simply "xterm not found", so
new LangString LINUX_EX2MSG_TERMINALNOTFOUND was added to let the
user knows which programs they need to get the feature working.
2023-06-01 09:01:53 +02:00
Patriccollu
5efda52d51
Format Corsican localization XML file (#1087) 2023-05-31 23:47:53 +02:00
Patriccollu
79206e21c9
Update Corsican translation on 2023-05 (#1085)
* Update Corsican translation on 2023-05

* Update Corsican translation on 2023-05
2023-05-29 21:31:18 +02:00
Passw
1fe7340f4b
fix wrong URL to clone EDK2 repo (#1084) 2023-05-29 09:26:00 +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
Jertzukka
4e5529bee0
Prevent failing fs options being shown in --text --create (#1078)
Removes the options exFAT and Btrfs being shown when creating a
volume in text mode when the system does not support them and will
end up erroring out at the end. Hide Btrfs option when the volume
is too small, as we will anyways fail right after.

Hardcoded numbering changed to dynamic as the available options
are not necessarily consecutive.
2023-05-27 18:08:51 +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
Matthaiks
2ae31e5254
Update Polish translation (#1076) 2023-05-25 20:23:01 +02:00
Thomas De Rocker
3f6d12416c
Update Language.nl.xml (#1075)
* Update Language.nl.xml

Add new translations, update/edit some existing translations

* Update Language.nl.xml

* Update Language.nl.xml
2023-05-25 20:12:10 +02:00
BaekMu
5a23846248
Update Language.ko.xml (#1067)
- New translations for commit 8072207eb6
- Fix the wrong part
2023-05-25 14:11:01 +02:00
DLL125
7c516dcede
Update README.md (#1070)
* Update README.md

Update Copyright.

* Update README.md

Updated The zlib copyright.

* Revert "Update README.md"

This reverts commit be0742d8d1.
2023-05-25 12:53:49 +02:00
DLL125
1fc4168b81
Update Libzip to latest 1.9.2 (#1071)
* Libzip 1.9.2

Updated Libzip to latest version 1.9.2 and changed version number in the config.h from 1.7.3 to 1.9.2. Not sure if anything else needs to be tweaked :)

* Modified Libzip to work with Visual studio

* Update README.md

Update libzip copyright.

* Added the missing files.

I've added the missing files zipconf.h and config.h, I've missed those sorry for that!
2023-05-25 12:52:53 +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
Bogdan Drozdowski
b05b18928f
Keep PIM secret and re-ask when user entered a wrong value (#1026)
Co-authored-by: Bogdan Drozdowski <>
2023-05-21 17:21:21 +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
nkh0472
ce44f959e8
Update Language.zh-cn.xml and replace PR #817 (#1065)
* Solve conflicts, and apply PR #817

Co-authored-by: lifansama <lifansama@users.noreply.github.com>

* Update Language.zh-cn.xml

translation for commit 8072207

---------

Co-authored-by: lifansama <lifansama@users.noreply.github.com>
2023-05-20 10:34:09 +02:00
Marius Kjærstad
2b6ed5a582
Added line breaks between new copyright holders (#963) 2023-05-19 23:28:40 +02:00
nkh0472
78c878c19a
Update Language.zh-cn.xml (#961)
* Update Language.zh-cn.xml

For commit c0ff7a7c52 and pull #957

* Optimize the use of quotation marks

use Chinese standardized quotation marks (“”) instead of unusual white lenticular bracket (〖〗)

* Unified the translation of RESCUE_DISK

* Optimize the use of quotation marks

use Chinese standardized quotation marks (“”) to replace other unusual usage of non-standardized quotation marks

* improve "SYSENC_INFO_2" translation

thanks to @ZhanYF in https://github.com/veracrypt/VeraCrypt/pull/961#pullrequestreview-1190980437

* improve "IDC_LINK_HASH_INFO" translation

thanks to @ZhanYF in veracrypt#961 (review)

* Update Language.zh-cn.xml

-unified the translation of "hash"
-improve "DECOY_OS_INSTRUCTIONS_PORTION_10" translation
2023-05-19 22:32:43 +02:00
Thomas De Rocker
78fc3db8d7
Update Language.nl.xml (#967) 2023-05-19 22:30:54 +02:00
Wendigo
8fc866df40
update zlib to latest version 1.2.13 (#986) 2023-05-19 22:15:01 +02:00
Ömer Faruk Özdemir
21918e33b6
Add Hyperlinks to Content Table (#989) 2023-05-19 00:46:45 +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
rigwild
f3d79d1f62
Update Language.fr.xml (#1022) 2023-05-19 00:26:58 +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
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
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
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
nkh0472
540fb52aca
Update Language.zh-cn.xml (#914) 2022-03-27 11:48:05 +02:00
Patriccollu
6f57badb2e
Update Corsican translation for commit 5383190 (#913) 2022-03-27 11:47:17 +02:00