1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2026-05-22 13:43:46 -05:00
Commit Graph

2263 Commits

Author SHA1 Message Date
Mounir IDRASSI 75334fc37d Translations: Add new entries. update Russian XML file by Dmitry Yerokhin. Increment version to 1.26.4 2023-07-23 10:03:26 +02:00
Mounir IDRASSI 334ea9c0b9 Windows: Make Expander progress messages translatable 2023-07-23 10:00:45 +02:00
Springfield Data Recovery f037dae413 Update UserInterface.cpp (#1155)
Docs specify cascading encryption should be specified as "AES(Twofish)" but on Linux it requires "AES-Twofish".
2023-07-23 09:13:03 +02:00
Mounir IDRASSI fa6359d424 Windows: Remove TrueCrypt support. Increment version to 1.26.4. 2023-07-22 10:25:22 +02:00
Mounir IDRASSI 34b00fa825 Windows: Fix compiler warnings 2023-07-18 08:38:02 +02:00
Mounir IDRASSI c0785aa1d4 Windows: Fix buffer overrun caused by bug in UpperCaseCopy function 2023-07-17 14:28:45 +02:00
Mounir IDRASSI 9607b9708c Windows: Fix link error with latest libzip by adding new file zip_source_pass_to_lower_layer.c tp VS projects 2023-07-17 14:26:53 +02:00
DLL125 65765798d8 Libzip (#1152)
* Update LZMA to latest

* Update Libzip

Libzip updated to latest.
2023-07-17 14:11:12 +02:00
Mounir IDRASSI 6267b91931 Windows: fix issue with fastCreate by requesting SE_MANAGE_VOLUME_NAME privilege before calling CreateFile
This ensures that the returned handle inherits the privilege
2023-07-16 11:08:24 +02:00
Mounir IDRASSI c759c2230b Language XML files: update Russian XML file by Dmitry Yerokhin. 2023-07-16 11:02:41 +02:00
Mounir IDRASSI 8491d5df65 HTML Documentation: Add Russian translation by Dmitry Yerokhin 2023-07-16 11:01:28 +02:00
Mounir IDRASSI 7ada94d36b Windows: enhance secure desktop handling to try to workaround Windows 11 issue
Several enhancements implemented:
 - replace CreateThread by _beginthreadex to avoid potential issues when using C runtime
 - use an event to notify monitoring thread to stop instead of a volatile boolean
 - perform switch to the regular desktop in the main thread and not in the secure desktop thread
2023-07-15 02:59:13 +02:00
Mounir IDRASSI 49fff71d0a Language XML files: update Russian XML file by Dmitry Yerokhin. 2023-07-13 20:14:31 +02:00
Mounir IDRASSI 014ed77130 Windows: when overwriting an existing file container, add its current size to the available free space 2023-07-11 21:21:18 +02:00
Mounir IDRASSI b1f578f0ef Update the Release Notes with URL related to the EMV project by the students 2023-07-11 19:43:27 +02:00
Mounir IDRASSI 1a46ed9aef Language XML files: update Czech translation (contributed by Lagardere) 2023-07-11 19:07:37 +02:00
Mounir IDRASSI 210968bed1 Windows: Add a PowerShell script that can be used to create a volume from a given directory or file
The script will try to calculate the minimal required size to store the given directory or file in the exFAT formatted volume
2023-07-07 23:55:21 +02:00
Mounir IDRASSI 26fffec1e3 Release Notes: Fix typo 2023-07-07 23:49:12 +02:00
Mr-Update a3ddcbd256 Update Language.de.xml (#1148)
- Translation completed
- Salutation pronouns corrected
2023-07-06 11:02:32 +09:00
Jertzukka 232d3290b0 Linux: Overwriting file container allows you to use its space (#1147)
When replacing a file container, we increase the `diskSpace`
by the file container's size. This doesn't affect the hidden volume
space logic, as in that case we use `MaxVolumeSize` when
`MaxVolumeSizeValid` is true instead of `AvailableDiskSpace`.
2023-07-05 19:00:37 +09:00
Jertzukka aa49278673 Updates on WinCompiling docs and script (#1146) 2023-07-05 17:40:57 +09:00
Jertzukka 3987b922a8 Update .gitignore with .idea/ and blake2s build artifacts (#1145) 2023-07-02 23:18:58 +02:00
Mounir IDRASSI 4956acd3aa Fix typos in Release Notes 2023-07-02 22:37:02 +02:00
Mounir IDRASSI 0e49b7bc33 Windows: Fix regression when creating multiple keyfiles with a fixed size 2023-07-02 22:36:33 +02:00
Jertzukka 3b80c8416b Renormalize 7zWindows.h from CRLF to LF line separator as intended (#1144) 2023-07-02 21:51:44 +02:00
Mounir IDRASSI efa815a6da Indicate in Release Notes that EMV support must be enabled in the settings 2023-07-02 16:34:03 +02:00
Mounir IDRASSI d2caa77207 Fix compiler type-cast warnings 2023-07-02 15:25:21 +02:00
Mounir IDRASSI fe30ebe3f3 Update Release Notes with latest changes. 2023-07-02 15:01:28 +02:00
Mounir IDRASSI 2a728dec88 Windows: Use full list of supported cluster sizes for NTFS, ReFS and exFAT filesystems
We keep FAT32 list of supported cluster sizes as it is today for compatibility with existing FAT code
2023-07-01 23:36:05 +02:00
Mounir IDRASSI 580423b5dd Windows: Add missing header changes needed for previous commit 2023-07-01 23:32:44 +02:00
Mounir IDRASSI 7a3daa389c Windows: Make API formatting fallback to format.com in case of elevation. remove dead code from ExternalFormatFs
We also modify UacFormatNtfs/UacFormatFs to return actual error code in case of failure
2023-07-01 22:46:01 +02:00
Patriccollu e28de414e0 Update Corsican translation on 2023-07 (#1140) 2023-07-01 22:38:52 +02:00
Matthaiks 63d6ec374a Update Polish translation (#1139) 2023-07-01 22:38:40 +02:00
Mounir IDRASSI a388262a2e Windows: fix compilation warnings 2023-07-01 15:17:24 +02:00
Mounir IDRASSI 0bfed6553d Windows: Fix formatting issue during volume creation by using /Y for format.com and specifying removal parameter in FormatEx
The usage of /Y parameter in format.com simplifies the logic and makes the code robust since we don't need to send \n to the format.com process.
Specifying RemovableMedia parameter to FormatEx fixes its failure in Windows 10 and later to perform quick format. This is also more adequate since we are mounting the volume as removable media for the formatting process.
We also add better error management in order to display adequate error message to the user in case of failure
2023-07-01 15:16:46 +02:00
Mounir IDRASSI 17dcd73936 Windows: Don't make Mount button split button if it is for dismounting
If the currently selected item in the drive list is a mounted volume that can be dismounted, the Mount button displays "Dismount" and so we should not add the popup menu of "mount without cache" to it.
2023-07-01 09:58:36 +02:00
Mounir IDRASSI a438e19f61 Windows: Support drag-n-drop of files in Expander for mounting. Fix drag-n-drop of keyfiles.
To fix drag-n-drop of keyfiles, we remove the password drop target since it was blocking the standard drop of files and drop target doesn't work because of UIPI restrictions across privilege levels since Expander is started elevated
2023-06-30 23:03:56 +02:00
Matthaiks 4defec4aeb Update Polish translation (#1137) 2023-06-30 01:13:37 +02:00
Mounir IDRASSI 14eef978ad Increment version to 1.26.3 in XML language files 2023-06-30 00:35:48 +02:00
Mounir IDRASSI d2efeaffe7 Correctly detect ARM builds when listing CPU features in headers 2023-06-30 00:34:16 +02:00
Mounir IDRASSI df62c0227c Linux: Fix wrong size for hidden volume when selecting the option to use all free space (fix by @Jertzukka) 2023-06-29 23:24:47 +02:00
Mounir IDRASSI 417ff5564e Linux/FreeBSD: Make pcsclite a dependency of the packages and the generic installer 2023-06-29 23:15:03 +02:00
Mounir IDRASSI b750c67810 Translations: Add new messages related to EMV to XML files 2023-06-29 21:30:40 +02:00
Jertzukka 364f3be41b Linux: Add libpcsclite dependency into compilation guide (#1136)
After the EMV support commits, the project won't build anymore
without the new dependency of libpcsclite.
2023-06-29 20:53:25 +02:00
Patriccollu a2bc852c4d Update Corsican translation on 2023-06 (7th) (#1135) 2023-06-29 20:39:27 +02:00
Mounir IDRASSI 034b64f415 EMV keyfile support: Overall code improvements and bug fixes 2023-06-29 00:06:20 +02:00
mmauv 502ab9112a Add EMV functionality (#1080)
* Add basic strcture needed for EMV implementation

* Add demo EMV functionality with C code pasted in a very dirty and unsafe way. NOT FINAL

* Refactor IccExtractor Structure

* Fix Makefile

* fix include file

* move global variables from h to c

* revert to memcpy

* fix icc data recovery functions

* Add EMV functionalities on windows

* Make EMVToken structures like SecurityToken

* Define constants instead of hard coded values

* Token structures created with inheritance

* refactor TokenKeyfile to use inherit. + polymor.

* add Token.h + Token.cpp in modules in VS2010

* Add a comment at each use of SecurityToken class or objects

* SecurityTokenKeyfilesDialog preparation

* Implemennt GetAvailableTokens in Token class on windows

* merge

* up (patching for Windows)

* foreach Token.cpp corrected

* Display EMV keyfiles on first window in graphic interface

* Add token to Windows UI

* EMVToken selection on OKButton on Linux

* Keyfile.cpp optimization

* Move getKeyfileData in the token class

* EMV::Token GetAvailableKeyfiles() base

* Move getKeyfileData in the token class on unix

* Remove test comments

* Warnings resolved

* RemoveeSecurityTokenLibraryNotInitialized exception if at least one emv token is detected

* Adding new files

* Remove old files and add the new version to the windows project

* Change make_shared to shared_ptr constructor

* IccExtractor integration working on linux

* Throwing card not EMV execption

* catch error when not EMV type in EMVToken::GetAvailableKeyfiles

* Change types to compile on windows

* list all keyfiles, security keyfiles and emv keyfiles in command line

* Change type to be coherent and remove old todo comments

* Remove todo comments

* Change indentation and resolve a bug from previous commit

* Use polymorphism for GetKeyfileData and add export option for EMVTokens on Linux

* Linux : Allow to export EMV Tokens in command lines, Windows : Disable the delete button when EMV Keyfiles are selected

* Remove SlotId from TokenInfo as it is already in Token

* Correct errors on Linux

* Disable delete option if one EMV Token is selected on Linux

* Fix bug enabling delete button if nothing is selected

* emv data used as reference then burnt

* use of normal files in linux corrected

* help updated

* help updated for export functionnality

* option EMV added to graphic interface but not yet working

* Bug fix : Allow to use multiple EMV on windows

* EMV Option added to UserPreferences

* EMV Option working for Linux

* EMV option added to Windows (not working yet)

* [NOT TESTED] EMV option for Windows

* Working EMV option on Windows

* EMV Option for data extraction working for volume creation

* EMV Option for data extraction working for Mount

* EMV Option for data extraction working for mounting favorites volumes

* EMV Option for extraction working for Changing volume password, Set Derivation Key Algorithm and Add or remove keyfile from volume

* Windows : re-checking EMV Option when getting data

* Removing error catches in the IccDataExtractor classe (It only throws error now). Changing GetPan signature to resemble the other functions signatures more

* Changing EMV errors

- Only throwing ICCExtractionException from outside of the ICC module.
- Catching all TLVExceptions and PCSCExceptions to throw the right ICCExtractionException

- Deleting APDU exceptions.

* First version of the documentation

* Adding function pointers for winscard library (but it crashes VeraCrypt)

* Debugging function pointers

* The import of the library on windows work as expected now

* Reverting EMVToken.cpp changes used to test to library import

* Searching for the System32 path instead of hard codding it

* Fixing the bug were VeraCrypt crashes if there is no readers when  "add Token files" is clicked

* Winscard library not initialized in object constructor anymore to delay it after EMVOption check

* Remove winscard lib from windows dependencies

* Properly displaying errors

* Adding a dot in Language.xml

* Catching TLVException

* Removing unused code

* Remove unusefull comments

* Trying to fix 0x1f error

* Update IccDataExtractor.cpp

* Delete History.xml

* Fix get data without get pan

* Cleanup code

* changes for linux compilation but linking not working

* error handling for linux

* erasing emv data

* Burn PAN

* Burn PAN from memory

* Uncomment selfcheck before merging master

* burn corrected

* EMV errors handling for Linux

* EMV working for Linux CLI

* Doc : Winscard Linux package and VeraCrypt versions

---------

Co-authored-by: doriandu45 <d45.poubelle@gmail.com>
Co-authored-by: red4game <redemgaiming@gmail.com>
Co-authored-by: Brice.Namy <brice.namy@insa-rennes.fr>
Co-authored-by: vocthor <pieceo108@gmail.com>
Co-authored-by: vocthor <67202139+vocthor@users.noreply.github.com>
Co-authored-by: Andrei COCAN <andrei.cocan@insa-rennes.fr>
Co-authored-by: AndreiCocan <95496161+AndreiCocan@users.noreply.github.com>
Co-authored-by: francoisLEROUX <francois3443@gmail.com>
2023-06-28 22:51:43 +02:00
Matthaiks f4e109afcf Update Polish translation (#1132) 2023-06-28 20:44:02 +02:00
Dr-Jordi-W 166bf8a67f Update Language.fr.xml (#1130)
French translation for the ADMIN_PRIVILEGES_WARN_MANAGE_VOLUME key
2023-06-28 20:17:59 +02:00
Mounir IDRASSI 342f78c090 Increment version to 1.26.3. Update Release Notes 2023-06-28 19:18:35 +02:00