VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main
AgeCommit message (Collapse)AuthorFilesLines
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 Lelegard2-2/+2
2020-08-26Linux: Reduce minimal size requirement for BTRFS support to 16 MiB by using ↵Mounir IDRASSI4-9/+28
mixed mode for volumes whose size is less than 109 MiB
2020-08-05Linux: Add support for Btrfs filesystem when creating volumesMounir IDRASSI4-41/+35
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-26Linux/MacOSX: fix warning reported by static code analysis tool about ↵Mounir IDRASSI1-2/+2
possible undefined output value in UserPreferences::SetValue and missing initialization of member variables in File constructor
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 Bergqvist13-22/+22
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-20Fix the compilation against WxWidgets when NOGUI=1 (#570)Gokturk Yuksek2-0/+6
* Revert "Linux: Fix failure to run VeraCrypt binary built for console mode on headless machines (fix issue https://github.com/veracrypt/VeraCrypt/issues/531)" The build failure still exists for system wxGTK compiled with '--disable-gui': ``` In file included from TextUserInterface.cpp:27: TextUserInterface.h: In member function ‘virtual bool VeraCrypt::TextUserInterface::Initialize(int&, wxChar**)’: TextUserInterface.h:50:63: error: ‘wxAppBase’ has not been declared 50 | virtual bool Initialize (int &argc, wxChar **argv) { return wxAppBase::Initialize(argc, argv); } ``` This reverts commit 737e1f126b8826ed02418266e590e195aebdd7c0. * Revert "Linux: fix compilation error when building console-only version of VeraCrypt that is statically linked to wxWidgets" The build failure still exists for system wxGTK compiled with '--disable-gui': ``` In file included from TextUserInterface.cpp:27: TextUserInterface.h: In member function ‘virtual bool VeraCrypt::TextUserInterface::Initialize(int&, wxChar**)’: TextUserInterface.h:50:63: error: ‘wxAppBase’ has not been declared 50 | virtual bool Initialize (int &argc, wxChar **argv) { return wxAppBase::Initialize(argc, argv); } ``` This reverts commit 14bee5e6a227701e78c5fec04064c0494f6361f0. * src/Main/Main.make: simplify the WX_CONFIG_LIBS logic Irrespective of whether we are linking against widgets statically or dynamically, pull in only 'base' when GUI is disabled, and 'adv,core,base' when GUI is enabled. When GUI is disabled, the C/CXX flag must include '-DwxUSE_GUI=0' for this to work. * src/Makefile: pass '-DwxUSE_GUI=0' when NOGUI=1 veracrypt with NOGUI=1 fails to properly link against wxGTK compiled with '--disable-gui' only using the 'base' library because the wx's setup.h implicitly defines wxUSE_GUI=1, which then changes the definition of various structures, requiring symbols from the core library as well. For example, wxwidgets include/wx/app.h defines: #if wxUSE_GUI class WXDLLIMPEXP_CORE wxAppBase : public wxAppConsole ... [snip] ... #else // !GUI // wxApp is defined in core and we cannot define another one in wxBase, // so use the preprocessor to allow using wxApp in console programs too #define wxApp wxAppConsole #endif // GUI/!GUI To fix this, pass '-DwxUSE_GUI=0' when compiling veracrypt with NOGUI=1. Closes: https://github.com/veracrypt/VeraCrypt/issues/531
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-11Linux: fix compilation error when building console-only version of VeraCrypt ↵Mounir IDRASSI1-8/+0
that is statically linked to wxWidgets
2019-12-02fixed typo "this [is (#559)vstoykovbg1-1/+1
2019-12-01UNIX: make sector size mismatch error more verbose (#552) (#561)alt3r 3go2-0/+3
Signed-off-by: alt3r 3go <alt3r.3go@protonmail.com>
2019-11-18Linux: Fix failure to run VeraCrypt binary built for console mode on ↵Mounir IDRASSI1-2/+0
headless machines (fix issue https://github.com/veracrypt/VeraCrypt/issues/531)
2019-11-17Linux/MacOS: text mode did not recognize Unicode in passwords (#540) (#551)alt3r 3go1-1/+3
2019-11-04Linux/FreeBSD: Add CLI switch to force use of old sudo behavior of sending a ↵Mounir IDRASSI3-1/+16
dummy password The new switch is --use-dummy-sudo-password
2019-11-04Linux/MacOSX: Add switch to force the use of legacy maximum password length ↵Mounir IDRASSI6-20/+35
(64 UTF8 bytes) The switch is --legacy-password-maxlength
2019-11-02Start following IEEE 1541 agreed naming of bytes (#532)Meteor0id2-2/+2
* Start following IEEE 1541 agreed naming of bytes This standard exists to prevent any confusion about the actual number of bytes. It has been agreed on by experts and is being used more widespead these day. Let's start properly naming the number of bytes, which is absolutely important in disk encryption software. * Update LanguageStrings.cpp * Update UserInterface.cpp * kibibyte instead of kilobyte * kibibyte instead of kilobyte * MiB instead of MB * undo accidental deletions Odd indeed that two random lines were deleted in a previous commit. Probably happened when using a keyboard shortcut while editing the file. This fixes the issue. * Mb to Mib
2019-10-26MacOSX: Update build script and Makefile to correctly build Legacy version ↵Mounir IDRASSI1-0/+10
of VeraCrypt that targets OSX 10.7+.
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 IDRASSI4-0/+13
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-14MacOSX: Add build scripts and modifications to linking against wxWidgets ↵Mounir IDRASSI1-0/+4
3.1.2 for non legacy build targeting OSX 10.9+
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-06Linux/FreeBSD: change location of documentation from ↵Mounir IDRASSI2-4/+4
/usr/share/veracrypt/doc to the standard /usr/share/doc/veracrypt
2019-10-04Linux : Added missing 'mkdir' before installing in case $DESTDIR does not ↵El Mostafa Idrassi1-0/+2
exist (#510)
2019-10-02Linux/MacOSX:check that the requested size of file container is less than ↵Mounir IDRASSI4-2/+13
available disk free space. Add a CLI switch to disable this check.
2019-10-02Utilize $(BASE_DIR) in the install targets rather than $(PWD) and $(CURDIR) ↵Unit 1931-63/+63
(#472) As $(PWD) is not always the expected value and can result in failing the target.
2019-09-24Linux/OSX: make CLI switch --import-token-keyfiles compatible with ↵Mounir IDRASSI1-3/+12
Non-Interactive mode by using keyfiles passed as arguments and check the Non-Interactive mode switch.
2019-06-06Fix password-only example in help text (pim missing) (#438)Dany Shaanan1-1/+1
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-09-01Linux/FreeBSD: Add 32-bit build configuration targetting legacy CPUs that ↵Mounir IDRASSI1-0/+13
don't support SSE2 instructions.
2018-08-10Linux/MacOSX/FreeBSD: Implement benchmarking for Hash and PKCS-5 PRF algorithms.Mounir IDRASSI5-122/+725
2018-08-10Linux/MacOSX/FreeBSD: When performing backup of volume header, automatically ↵Mounir IDRASSI2-2/+70
try to use embedded backup header if using the main header fails.
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.
2018-08-06Linux/MacOSX/FreeBSD: add reference to --pim and --new-pim switches in the ↵Mounir IDRASSI1-0/+8
verbose help.
2018-04-29MacOSX: support pasting values to password fields using keyboard (CMD+V and ↵Mounir IDRASSI8-0/+107
CMD+A now working properly). This make using password managers with VeraCrypt easier.