VeraCrypt
aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-06-10Linux/FreeBSD: Fix privilege escalation prompts being ignored (#1100)Jertzukka1-3/+5
Currently if you fail the privilege escalation prompt, the second one and consecutively every second will be ignored. This is because if we do not --use-dummy-sudo-password and are on Linux/FreeBSD, we will be prompted for password twice for one evaluation in the while(!ElevatedServiceAvailable) loop. For the fix, we make sure that we run the prompt only once for each case.
2023-06-10Translations: restore lost change in Language.fr.xml. Translate two strings.Mounir IDRASSI1-1/+3
2023-06-10Update Language.zh-cn.xml (#1098)nkh04721-2/+2
for commit 5e4e2e0483436031edfd525215110f6229ac406d
2023-06-10Update Corsican translation on 2023-06 (3rd) (#1097)Patriccollu1-2/+4
2023-06-09Documentation: Document difference between normal dismount and force dismountMounir IDRASSI2-0/+78
2023-06-09Update compilation doc to match website versionMounir IDRASSI4-75/+59
2023-06-06Update copyright in CHM fileMounir IDRASSI1-0/+0
2023-06-06Update copyright on various filesMounir IDRASSI4-9/+10
2023-06-05Linux/macOS: Fix error during creation of installation packageMounir IDRASSI1-3/+3
"-R" switch was missing from the "cp" command
2023-06-05Update Language.de.xml (#1096)Mr-Update1-4/+4
- Translation completed
2023-06-04Update copyrights in Readme.txtMounir IDRASSI1-3/+3
2023-06-04Increment version to 1.26.2. Update Release NotesMounir IDRASSI57-90/+108
2023-06-04Windows: Possible workaround for logarithmic slowdown for Encrypt-In-Place ↵Mounir IDRASSI2-21/+52
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-04Update Polish translation (#1093)Matthaiks1-1/+1
2023-06-02Update Corsican translation on 2023-06 (2nd) (#1092)Patriccollu1-2/+3
2023-06-02Windows: Add dropdown menu to Mount button to allow mounting without cacheMounir IDRASSI47-8/+118
2023-06-02Update Language.nl.xml (#1091)Thomas De Rocker1-1/+1
2023-06-02Update Corsican translation on 2023-06 (#1090)Patriccollu1-2/+3
2023-06-02Update Polish translation (#1089)Matthaiks1-1/+1
2023-06-01Fix issues launching fsck via terminal on Linux (#1086)Jertzukka46-42/+100
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-05-31Format Corsican localization XML file (#1087)Patriccollu1-1612/+1613
2023-05-29Update Corsican translation on 2023-05 (#1085)Patriccollu1-509/+524
* Update Corsican translation on 2023-05 * Update Corsican translation on 2023-05
2023-05-29fix wrong URL to clone EDK2 repo (#1084)Passw1-1/+1
2023-05-28Pkcs5.c: Fix typos where SHA256 is mentionned instead of Blake2sMounir IDRASSI1-5/+5
This didn't cause any issue because SHA256_DIGESTSIZE is equal to BLAKE2S_DIGESTSIZE
2023-05-27Prevent failing fs options being shown in --text --create (#1078)Jertzukka1-15/+23
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-27Linux/macOS: Make RNG implementation match documentation and the Windows ↵Mounir IDRASSI1-8/+15
implementation
2023-05-27Linux/macOS: explicitely initialize hash algo before hashing random poolMounir IDRASSI1-2/+3
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-26Windows: Add missing Blake2s source files to VS 2019 crypto projectMounir IDRASSI1-0/+3
2023-05-26Windows: Add missing update of libzip zip_err_str.c and fix libzip related ↵Mounir IDRASSI5-86/+153
project configuration
2023-05-25Update Polish translation (#1076)Matthaiks1-14/+14
2023-05-25Update Language.nl.xml (#1075)Thomas De Rocker1-17/+16
* Update Language.nl.xml Add new translations, update/edit some existing translations * Update Language.nl.xml * Update Language.nl.xml
2023-05-25Update Language.ko.xml (#1067)BaekMu1-22/+22
- New translations for commit https://github.com/veracrypt/VeraCrypt/commit/8072207eb6ad0783a4e2c54addc4b3196738029e - Fix the wrong part
2023-05-25Update README.md (#1070)DLL1251-2/+2
* Update README.md Update Copyright. * Update README.md Updated The zlib copyright. * Revert "Update README.md" This reverts commit be0742d8d1db0f1f25a7e5207fbb47e2a2ce8157.
2023-05-25Update Libzip to latest 1.9.2 (#1071)DLL125145-4060/+8305
* 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-22Linux: Fix printing error when checking freespace during volume creationMounir IDRASSI1-1/+6
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-21Linux/macOS: Better handling of wrong PIM value in text mode (enhances PR#1026)Mounir IDRASSI1-1/+4
2023-05-21Keep PIM secret and re-ask when user entered a wrong value (#1026)Bogdan Drozdowski1-1/+5
Co-authored-by: Bogdan Drozdowski <>
2023-05-20Update Language.zh-cn.xml to remove unused string after revert of newsysenc ↵Mounir IDRASSI1-47/+0
commit
2023-05-20Update Language.nl.xml to fix format of some entries and remove strings that ↵Mounir IDRASSI1-64/+8
don't exist anymore after revert of sysenc commit
2023-05-20 Update Language.zh-cn.xml and replace PR #817 (#1065)nkh04721-9/+9
* 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-19Added line breaks between new copyright holders (#963)Marius Kjærstad2-4/+4
2023-05-19Update Language.zh-cn.xml (#961)nkh04721-142/+190
* Update Language.zh-cn.xml For commit c0ff7a7c521b1d658316d9a177383ab0c403007a 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-19Update Language.nl.xml (#967)Thomas De Rocker1-15/+62
2023-05-19update zlib to latest version 1.2.13 (#986)Wendigo18-228/+262
2023-05-19Add Hyperlinks to Content Table (#989)Ömer Faruk Özdemir1-10/+6
2023-05-19wxWidget assert failure bug (#999)Es6-107/+113
* 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-19OpenBSD vnconfig no longer needs -c option (#1002)ZhanYF1-2/+0
Co-authored-by: Your Name <you@example.com>
2023-05-19Update Language.fr.xml (#1022)rigwild1-2/+2
2023-05-18Fix compiler warnings (#1030)David1-2/+2
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-18Fix mount.veracrypt (#1064)Jertzukka1-2/+2
Reverses order of --non-interactive and --text to actually make it work, also fix --pim working.