VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/Forms
AgeCommit message (Collapse)AuthorFilesLines
2023-07-24Linux/macOS: Remove TrueCrypt supportMounir IDRASSI12-133/+31
2023-07-23Linux/macOS:Add EMV option checkbox to the fbp file. Remove TrueCrypt ↵Mounir IDRASSI3-9698/+2294
checkboxes. We also update to wxFormBuilder 3.10.1
2023-07-05Linux: Overwriting file container allows you to use its space (#1147)Jertzukka1-0/+6
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-06-29Linux: Fix wrong size for hidden volume when selecting the option to use all ↵Mounir IDRASSI1-1/+1
free space (fix by @Jertzukka)
2023-06-29EMV keyfile support: Overall code improvements and bug fixesMounir IDRASSI9-46/+56
2023-06-28Add EMV functionality (#1080)mmauv12-35/+68
* 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-14Linux/macOS: only wipe password/PIM text controls if they are not emptyMounir IDRASSI2-2/+10
This fixes a crash on macOS with latest wxWidgets 3.2.2.1 where GetLineLength returns -1
2023-06-01Fix issues launching fsck via terminal on Linux (#1086)Jertzukka1-0/+1
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-19wxWidget assert failure bug (#999)Es5-106/+105
* 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
2022-08-21Fix incorrect text color in dark mode (#920)Kenneth Chew2-3/+3
2022-02-19Linux/MacOSX: Fix hidden volume settings not correctly displayed when ↵Mounir IDRASSI3-4/+7
enabling hidden volume protection in mount options window
2022-02-11Update copyrights following integration of LZMA SDKMounir IDRASSI1-1/+2
2022-01-02Update copyright year to 2022Mounir IDRASSI1-2/+2
2021-09-21Linux/macOS: Add CLI switch (--size=max) and UI option to give a file ↵Mounir IDRASSI5-12/+158
container all available free space. This commit also makes --size switch accept KiB/MiB/GiB/TiB prefixes and adds TiB choice in UI.
2021-08-30Update copyright year to 2021Mounir IDRASSI1-2/+2
2021-08-16Add compile-time toggleable support for application indicators, off by ↵Unit 1932-1/+86
default. (#815) This tries to figure out, via wx-config, if you're using GTK2 or GTK3 and uses the associated Ayatana library.
2021-08-15MacOSX: First native Apple M1 supportMounir IDRASSI2-2/+2
2020-12-11new xml Tag for en and de (#708)T-Bonhagen17-2573/+3503
* new xml Tag for en and de * add linux support for env LANG * precopiled header into TrueCrypt.fdp to substitute '_()' with 'LangString[]' * more LangString in Code * add Language xml's to Linux Setup location * backup language for linux is en * remove Language.en.xml install * rearange new xml lines to end * yes/no dialogs now translated * All OK/Cancel Button now support international Co-authored-by: tb@tbon.de <tb@tbon.de>
2020-11-29MacOSX: revert part of changes of commit "Fixed macFUSE support for macOS 11 ↵Mounir IDRASSI1-1/+1
(Big Sur)" We only changes related to the fix
2020-11-28Fixed macFUSE support for macOS 11 (Big Sur) (#699)Thierry Lelegard1-1/+1
2020-08-26Linux: Reduce minimal size requirement for BTRFS support to 16 MiB by using ↵Mounir IDRASSI3-8/+20
mixed mode for volumes whose size is less than 109 MiB
2020-08-05Linux: Add support for Btrfs filesystem when creating volumesMounir IDRASSI2-22/+18
2020-07-02Linux/MacOSX: Allow choosing a filesystem other than FAT for outer volume ↵Mounir IDRASSI1-19/+43
but display warning about risks and implement an estimation of maximum possible size of hidden volume in this case.
2020-06-23Linux/MacOSX: explicitely clear saved password from memory at last step of ↵Mounir IDRASSI1-0/+7
volume creation wizard
2020-06-23Linux/MacOSX: Use also PIM when comparing Outer and Hidden volumes credentialsMounir IDRASSI2-28/+64
2020-06-23Linux/MacOSX: take into account keyfiles when comparing Outer and Hidden ↵Mounir IDRASSI1-9/+31
volumes passwords
2020-06-23Linux/MacOSX: Don't allow Hidden volume to have the same password as Outer ↵Mounir IDRASSI2-0/+12
volume
2020-06-19Linux/MacOSX: Complete the change of removal of AES-NI detection function ↵Mounir IDRASSI1-1/+1
done for Windows previously
2020-06-11Switch from auto_ptr to unique_ptr (#638)Christopher Bergqvist6-8/+8
2020-03-10Update copyright year in creditsVeraCrypt_1.24-Update5Mounir IDRASSI1-3/+3
2020-01-20Linux/MacOSX: Fix regression that limited the size available for hidden volumesMounir IDRASSI1-1/+1
created on disk or partition.
2019-12-16Linux: Fix build error when linking with old wxWidgets versionMounir IDRASSI1-1/+3
2019-12-16MacOSX: Ensure that the heading bar is always visible when window is moved ↵Mounir IDRASSI2-5/+27
so that it can still be moved by user using mouse (https://github.com/veracrypt/VeraCrypt/issues/546)
2019-12-16MacOSX: Ensure that main window is visible on screen when About is display ↵Mounir IDRASSI2-0/+22
as a way to workaround for situations where UI is not visible or can't be move (for example, when changing display monitor with a different resolution).
2019-12-02fixed typo "this [is (#559)vstoykovbg1-1/+1
2019-12-01UNIX: make sector size mismatch error more verbose (#552) (#561)alt3r 3go1-0/+1
Signed-off-by: alt3r 3go <alt3r.3go@protonmail.com>
2019-11-04Linux/MacOSX: Add switch to force the use of legacy maximum password length ↵Mounir IDRASSI2-6/+9
(64 UTF8 bytes) The switch is --legacy-password-maxlength
2019-10-26MacOSX: fix truncated algorithms description in the Encryption Options page ↵Mounir IDRASSI2-0/+24
of the volume creation wizard, which happened after moving to wxWidgets 3.1.2
2019-10-19MacOSX: Support APFS for creating volumes.Mounir IDRASSI2-0/+5
2019-10-16Small GUI enhancements (#521)El Mostafa Idrassi2-12/+12
2019-10-16Fixed drag and drop not showing correct path, specifically under GTK-3. (#520)El Mostafa Idrassi3-6/+0
2019-10-15Fixed buttons not being correctly aligned (#518)El Mostafa Idrassi2-9/+12
2019-10-11MacOSX: Fixed devices / partitions not showing in the device selection ↵El Mostafa Idrassi1-6/+34
dialog (#516) To get the size of each device / partition on the system, the method 'GetDeviceSize()' in 'src/Core/Unix/CoreUnix.cpp' first opens the device / partition using 'open()' function to get a File Descriptor, then retrieves its size using this File Descriptor. Starting OS X 10.11 ("El Capitan"), a feature called "System Integrity Protection (SIP)" or less formally, "rootless mode" has been added. This feature blocks access to certain critical aspects of the OS and Hardware by 3rd-Party programs. Specifically, low-level access to the system disks, devices and partitions is forbidden ; namely functions like 'open()' for instance fail with the error code : "EPERM = Operation Not Permitted". Therefore, for system devices / partitions, 'GetDeviceSize()' fails because of the failure of the 'open()' function, and throws an exception, which is then caught inside the method 'GetHostDevices()' in '/src/Core/Unix/FreeBSD/CoreFreeBSD.cpp' : this leads to the size of the device / partition being set to '0'. Therefore, in the constructor of 'DeviceSelectionDialog' in 'src/Main/Forms/DeviceSelectionDialog.cpp', when the size of a device is '0', the whole device is skipped, leading to all of its partitions not being treated or shown, even though some of these partitions may have a size which is != 0. This commit fixes the issue by : 1 - First, checking whether the device size is '0'. If it is the case, the code loops through all the devices partitions : if there is at least one partition with a size != 0, the device is not skipped. Otherwise, it is. 2 - Then, if the size of the device is '0', the size of the device is not shown to avoid confusing the user. Also, since the device is not usable, the 'OK' button is not active when the device is selected. 3 - Finally, if a partition's size is '0', it is not shown since it is not usable : we cannot open it. Signed-off-by: El Mostafa IDRASSI <el-mostafa.idrassi@prestalab.net>
2019-10-02Linux/MacOSX:check that the requested size of file container is less than ↵Mounir IDRASSI2-2/+9
available disk free space. Add a CLI switch to disable this check.
2019-03-03Fix formatting of credits in About dialog and documentationMounir IDRASSI1-1/+1
2019-02-12Add copyright and license information of JitterEntropy library by Stephan ↵Mounir IDRASSI1-2/+3
Mueller
2019-02-04Automatically truncate passwords for TrueCrypt volumes and System Encryption ↵Mounir IDRASSI3-9/+10
to the first 64 characters. This fix issues encountered by users of TrueCrypt volumes who were using passwords longer than 64 characters that were truncated in previous version.
2019-01-28Increase password maximum length to 128 bytes from 64 bytesMounir IDRASSI1-0/+7
2018-08-10Linux/MacOSX/FreeBSD: Implement benchmarking for Hash and PKCS-5 PRF algorithms.Mounir IDRASSI5-122/+725
2018-08-08Linux/MacOSX/FreeBSD: Add CheckBox in mount option dialog to force the use ↵Mounir IDRASSI4-258/+351
of embedded backup header during mount.