1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-12 03:18:26 -06:00
Commit Graph

104 Commits

Author SHA1 Message Date
Mounir IDRASSI
1fb59b58ee Linux: Reduce minimal size requirement for BTRFS support to 16 MiB by using mixed mode for volumes whose size is less than 109 MiB 2020-08-26 08:31:10 +02:00
Mounir IDRASSI
388e44c809 Linux: Add support for Btrfs filesystem when creating volumes 2020-08-05 02:08:12 +02:00
Mounir IDRASSI
5f04e5abd0 Linux/MacOSX: Allow choosing a filesystem other than FAT for outer volume but display warning about risks and implement an estimation of maximum possible size of hidden volume in this case. 2020-07-02 02:20:33 +02:00
Mounir IDRASSI
4a5d1f4f46 Linux/MacOSX: explicitely clear saved password from memory at last step of volume creation wizard 2020-06-23 16:48:39 +02:00
Mounir IDRASSI
05b3cd5cc1 Linux/MacOSX: Use also PIM when comparing Outer and Hidden volumes credentials 2020-06-23 16:48:31 +02:00
Mounir IDRASSI
b4465b80e6 Linux/MacOSX: take into account keyfiles when comparing Outer and Hidden volumes passwords 2020-06-23 16:48:24 +02:00
Mounir IDRASSI
a29c750030 Linux/MacOSX: Don't allow Hidden volume to have the same password as Outer volume 2020-06-23 16:48:17 +02:00
Mounir IDRASSI
f765860dfb Linux/MacOSX: Complete the change of removal of AES-NI detection function done for Windows previously 2020-06-19 03:31:39 +02:00
Christopher Bergqvist
0a2c565aa9 Switch from auto_ptr to unique_ptr (#638) 2020-06-11 18:02:28 +02:00
Mounir IDRASSI
df9a075cb6 Update copyright year in credits 2020-03-10 10:33:45 +01:00
Mounir IDRASSI
b0b149db83 Linux/MacOSX: Fix regression that limited the size available for hidden volumes
created on disk or partition.
2020-01-20 01:02:54 +01:00
Mounir IDRASSI
27c2fc06c2 Linux: Fix build error when linking with old wxWidgets version 2019-12-16 15:15:55 +01:00
Mounir IDRASSI
1e978e69cc MacOSX: Ensure that the heading bar is always visible when window is moved so that it can still be moved by user using mouse (https://github.com/veracrypt/VeraCrypt/issues/546) 2019-12-16 00:46:41 +01:00
Mounir IDRASSI
a81d45df82 MacOSX: Ensure that main window is visible on screen when About is display 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-16 00:46:34 +01:00
vstoykovbg
f32c153832 fixed typo "this [is (#559) 2019-12-02 22:07:48 +01:00
alt3r 3go
1fd212016e UNIX: make sector size mismatch error more verbose (#552) (#561)
Signed-off-by: alt3r 3go <alt3r.3go@protonmail.com>
2019-12-01 14:26:38 +01:00
Mounir IDRASSI
a7d5b6a477 Linux/MacOSX: Add switch to force the use of legacy maximum password length (64 UTF8 bytes)
The switch is --legacy-password-maxlength
2019-11-04 00:09:52 +01:00
Mounir IDRASSI
0ca62a37d6 MacOSX: fix truncated algorithms description in the Encryption Options page of the volume creation wizard, which happened after moving to wxWidgets 3.1.2 2019-10-26 00:17:16 +02:00
Mounir IDRASSI
12461a55a8 MacOSX: Support APFS for creating volumes. 2019-10-19 23:18:40 +02:00
El Mostafa Idrassi
bdc1dc42a6 Small GUI enhancements (#521) 2019-10-16 00:43:49 +02:00
El Mostafa Idrassi
c90b45f88c Fixed drag and drop not showing correct path, specifically under GTK-3. (#520) 2019-10-16 00:43:34 +02:00
El Mostafa Idrassi
bdcfe5bbb2 Fixed buttons not being correctly aligned (#518) 2019-10-15 00:02:25 +02:00
El Mostafa Idrassi
621330b726 MacOSX: Fixed devices / partitions not showing in the device selection 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-11 17:02:03 +02:00
Mounir IDRASSI
400bb52247 Linux/MacOSX:check that the requested size of file container is less than available
disk free space. Add a CLI switch to disable this check.
2019-10-02 22:31:28 +02:00
Mounir IDRASSI
6d2cef1fd8 Fix formatting of credits in About dialog and documentation 2019-03-03 23:48:42 +01:00
Mounir IDRASSI
1b76823ea5 Add copyright and license information of JitterEntropy library by Stephan Mueller 2019-02-12 19:06:22 +01:00
Mounir IDRASSI
6bb1f24ed5 Automatically truncate passwords for TrueCrypt volumes and System Encryption 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-02-04 11:39:47 +01:00
Mounir IDRASSI
cdd1179c63 Increase password maximum length to 128 bytes from 64 bytes 2019-01-28 17:16:33 +01:00
Mounir IDRASSI
c84bcd4b47 Linux/MacOSX/FreeBSD: Implement benchmarking for Hash and PKCS-5 PRF algorithms. 2018-08-10 01:31:32 +02:00
Mounir IDRASSI
aac2036738 Linux/MacOSX/FreeBSD: Add CheckBox in mount option dialog to force the use of embedded backup header during mount. 2018-08-08 00:34:17 +02:00
Mounir IDRASSI
e39f5fa5d6 MacOSX: support pasting values to password fields using keyboard (CMD+V and CMD+A now working properly). This make using password managers with VeraCrypt easier. 2018-04-29 17:52:43 +02:00
Mounir IDRASSI
7a842266b3 Linux: Fix crash if user is able to close the waiting dialog before the operation is finished. This can happen if GTK installation show "X" closing icon even if it is programmatically disabled (e.g. on Lubuntu 16.04) 2018-04-28 17:56:27 +02:00
Mounir IDRASSI
c9deed4686 Linux/MacOSX: make the benchmark dialog resize dynamically to accommodate the displayed results. 2018-03-27 16:16:00 +02:00
Mounir IDRASSI
eafac3be5c Update various copyright dates. 2018-03-18 23:30:29 +01:00
Mounir IDRASSI
0ebc26e125 Update IDRIX copyright year 2017-06-23 22:15:59 +02:00
Mounir IDRASSI
76167ceba3 Update zlib copyright notice 2017-04-26 00:20:22 +02:00
Mounir IDRASSI
1ef6177ae3 Linux & MacOSX: automatically check TrueCryptMode in password dialog when selecting a container file that has the .tc file extension 2016-12-26 00:00:04 +01:00
Mounir IDRASSI
2cfb896827 Linux/MacOSX: correctly display Kuznyechik help page when link clicked. Remove Gost89 online help references since it was removed. 2016-10-17 18:40:35 +02:00
Mounir IDRASSI
e5a9e9239b Crypto: Use SIMD optimized Serpent implementation from Botan. 2.5x speed gain factor. Update credits and copyrights notice. 2016-10-17 18:40:23 +02:00
Mounir IDRASSI
3bad079d75 Linux/MacOSX: display error message when entered PIM is too big in the Volume Creation Wizard. 2016-10-17 18:40:20 +02:00
Mounir IDRASSI
69c8c9d6c6 Linux/MacOSX: add missing check for PIM max value on volume creation wizard 2016-10-17 18:40:15 +02:00
Mounir IDRASSI
58cff70724 Linux/MacOSX: Add help text for GOST89 and Kuznyechik 2016-08-15 01:09:12 +02:00
Mounir IDRASSI
76d3bc631e Crypto: Add support for Japanese encryption standard Camellia, including for system encryption. 2016-06-02 00:12:00 +02:00
Mounir IDRASSI
942cf1635a Linux: Fix gcc-6 compilation errors. 2016-05-13 22:27:16 +02:00
David Foerster
11716ed2da Remove trailing whitespace 2016-05-10 22:18:34 +02:00
David Foerster
fc37cc4a02 Normalize all line terminators 2016-05-10 20:20:14 +02:00
Mounir IDRASSI
b261177b8f Windows/Linux/MacOSX: Set maximum PIM value to 2147468 in order to avoid having negative values for iterations count using the formula 15000 + (PIM x 1000). Add specific error message to XML language files. 2016-05-04 13:14:05 +02:00
David Foerster
0c51cfa5f6 Reset bogus executable permissions 2016-05-01 23:29:43 +02:00
Mounir IDRASSI
39fb2edc25 Linux/MacOSX: add progress bar for mouse collected entropy in GUI of volume creation wizard. Add mutex protection in event handler for shared counter variable 2016-02-09 00:52:28 +01:00
Mounir IDRASSI
0863924483 Linux/MacOSX: add progress bar for mouse collected entropy in GUI for keyfile generator and for random poll enrichment 2016-02-08 01:39:50 +01:00