Commit Graph

1947 Commits

Author SHA1 Message Date
Mounir IDRASSI
a284922ce4 Linux/MacOSX: Always add the source location when system exception occur in order to help diagnose users issues. 2015-04-05 14:25:15 +02:00
Mounir IDRASSI
c4d30b34ba Linux/MacOSX: correctly handle some internal exception classes that were missed by the WaitDialog class. 2015-04-05 14:25:12 +02:00
Mounir IDRASSI
a5203dd006 Windows Setup: Avoid potential issues by correctly initializing variables and checking memory allocation. 2015-04-05 14:25:09 +02:00
Mounir IDRASSI
474505d704 Linux: solve mount point permission issues for some users where the non-FAT volumes were only mounted in read-only mode 2015-03-23 09:07:58 +01:00
Mounir IDRASSI
d3db2548b5 Windows: correctly handle WIN32 LastError when mounting. Harmonize file access checks between GUI and console. Skip ERROR_SHARING_VIOLATION in primary check in order to let the driver handle it more thoroughly. 2015-03-19 00:16:38 +01:00
Mounir IDRASSI
f397f70fbe Windows Setup: When clicking uninstall link, launch Windows Add/Remove program instead of uninstall directly in order to avoid being flagged as legacy application by the Windows Program Compatibility Assistant (see number 5 in Microsoft UI Design Standard https://msdn.microsoft.com/en-us/library/ms954377.aspx) 2015-03-17 22:13:52 +01:00
Mounir IDRASSI
ae5867f8b1 Windows Setup: remove other VeraCrypt references for registry. 2015-03-16 08:45:19 +01:00
Mounir IDRASSI
ec4be21492 Windows Setup: implement removal of special LEGACY_VERACRYPT registry keys. 2015-03-15 23:46:12 +01:00
Mounir IDRASSI
ed604cf0f3 Windows: VeraCrypt reference from various registry locations. Uninstall old VeraCrypt COM interfaces that were left after upgrading. 2015-03-13 18:09:21 +01:00
Mounir IDRASSI
ef196b5ca5 Add Coverity define to avoid false positives during Static Code Analysis when TC_THROW_FATAL_EXCEPTION is used in the code 2015-03-08 20:14:33 +01:00
Mounir IDRASSI
279c99fdf8 Linux/MacOSX: Load preferences if only volume path is given in command line and GUI mode enabled. 2015-03-08 20:14:30 +01:00
Mounir IDRASSI
f80f7d47d5 Windows: Avoid temporary caching password when mounting multiple favorites. Add option to activate this if needed. 2015-03-04 00:27:04 +01:00
Mounir IDRASSI
8e6707cc22 Windows: if TrueCrypt volume created with a version prior to 6.0, display this version in the error message to help users understand why it is not working. 2015-03-02 00:23:58 +01:00
Mounir IDRASSI
f09f8e3a31 Windows Bootloader: Display message after entering password to inform user that the password is being processed. Without this, users coming from TrueCrypt think that the system is freezed since they expect it to boot quickly. 2015-03-02 00:23:55 +01:00
Mounir IDRASSI
21be04cb6e Update test containers and benchmark script to support hidden containers and measure wrong password time 2015-02-28 22:47:41 +01:00
Mounir IDRASSI
ba1e9c8f4d Linux/MacOSX: A configuration option for default hash and default TrueCrypt mode used for mounting volumes (Menu Settings -> Default Mount Parameters). Implement priority of command line arguments over default values. 2015-02-28 17:03:38 +01:00
Mounir IDRASSI
6e73a8a393 Linux/MacOSX: Modify wxFormBuilder generated files directly to solve the 'X' icon not closing some dialog because we can't workaround wxFormBuilder bug without introducing other issues (the correct SetExtraStyle call must be present at the beginning of the constructor, so it must be present in the generated files). Each time we generated new sources, Forms.cpp must be manually modify it to keep this correction. 2015-02-27 18:07:36 +01:00
Mounir IDRASSI
176bec1bb2 Revert "Linux/MacOSX: solve the 'X' icon not closing some dialog. This was caused by a bug of wxFormBuilder that calls SetExtraStyle without taking care of the previous value."
This reverts commit 400fd599f812b057b0674f2ae0e0141e7c35a332.
2015-02-27 18:07:33 +01:00
Mounir IDRASSI
31b238872e Readme.md: indicate that on MacOSX building a console-only binary is not supported. 2015-02-25 22:57:15 +01:00
Mounir IDRASSI
b730e965c5 Readme.txt: indicate that on MacOSX building a console-only binary is not supported. 2015-02-25 22:54:39 +01:00
Mounir IDRASSI
a916135f3c Windows: Use default hash in the options of hidden volume protection 2015-02-25 09:09:03 +01:00
Mounir IDRASSI
b2020c9fb7 Language XML: change the wording of password error messages to reflect the possibility of a wrong PRF. Replace "VeraCrypt volume" by "valid volume" since TrueCrypt is also supported. 2015-02-24 12:11:55 +01:00
Mounir IDRASSI
188b459d28 Windows: remove topmost and system modal properties from the wait dialog so that it doesn't disturb other applications. 2015-02-24 00:41:59 +01:00
Mounir IDRASSI
39bf211ebe Add test containers and Windows benchmark script for mount performance 2015-02-24 00:41:56 +01:00
Mounir IDRASSI
06af5ce7fd Windows: check password length for outer volume during hidden volume creation to avoid potential plausible deniability issues. 2015-02-22 21:29:42 +01:00
Mounir IDRASSI
7fb5af6ada Windows: Add menu option to set default hash and default TrueCrypt mode used for mounting volumes (Menu Settings -> Default Mount Parameters) 2015-02-22 01:03:22 +01:00
Mounir IDRASSI
cb9859fa0e Speed and memory usage optimization for key derivation based on patches by Nils Maier. 20% improvement on 64-bit CPU for SHA512 and SHA256, 11% for Whirlpool and 13% for RIPEMD-160. 2015-02-22 01:03:19 +01:00
Mounir IDRASSI
717ffadf93 Windows Installer: don't add link to VeraCryptExpander in the desktop. 2015-02-16 00:19:39 +01:00
Mounir IDRASSI
419586d4a2 Language: update German XML with translation contributed by H. Sauer 2015-02-16 00:19:37 +01:00
Mounir IDRASSI
450cde5fac Language: update French translation (contributed by Thierry T.) 2015-02-16 00:19:34 +01:00
Mounir IDRASSI
b2d119f781 Language: Update language XML files with new added fields 2015-02-16 00:19:32 +01:00
Mounir IDRASSI
7818c0e0e3 Window: add menu entry for launching VeraCryptExpander 2015-02-16 00:19:28 +01:00
Mounir IDRASSI
86529dadde Linux/MacOSX: solve the 'X' icon not closing some dialog. This was caused by a bug of wxFormBuilder that calls SetExtraStyle without taking care of the previous value. 2015-02-16 00:19:24 +01:00
Mounir IDRASSI
544c55debc Linux: Perform a quick NTFS formatting by adding the "-f" switch to mkfs.ntfs. Without this, the creation of big NTFS volumes takes ages. The code already takes care of the empty sectors by encrypting them with different key to randomize plaintext. 2015-02-13 16:18:00 +01:00
Mounir IDRASSI
2b826843de Windows: Add VeraCryptExpander.exe to the Windows installer. 2015-02-13 12:31:16 +01:00
Mounir IDRASSI
b920bb2a6a Linux: modify installer script to make it run when the "less" command doesn't support the -X argument (Busybox case) 2015-02-11 09:02:41 +01:00
Mounir IDRASSI
5012e0941a Linux: Add graphical installer support when xterm is not available (Linux Mint case) 2015-02-10 12:45:36 +01:00
Mounir IDRASSI
1eb8aec9fa Language: update German translation (contributed by H.S.) 2015-02-10 12:45:33 +01:00
Mounir IDRASSI
2b8aa2df16 Windows: Solve PIN blocked issue when trying to mount a volume right after configuring the PKCS#11 module. Always ensure that we are using a valid window handle as a parent. 2015-02-09 11:01:26 +01:00
Mounir IDRASSI
5f252f2c50 Static Code Analysis: check return of remove function and display message when it fails. 2015-02-09 11:01:23 +01:00
Mounir IDRASSI
d5f34ad49d Static Code Analysis: Avoid over-flaw in arithmetic operations by adding more checks. Add extra checks. Solve various issues. 2015-02-09 11:01:21 +01:00
Mounir IDRASSI
608e86c7bc Static Code Analysis: solve issues in Expander. Use real random values for wipe buffers. 2015-02-09 11:01:18 +01:00
Mounir IDRASSI
516da2229d Static Code Analysis: in Windows Driver, avoid using uninitialized stack memory as random and use proper random value for wipe operation. Solve potential double-free issue. 2015-02-09 11:01:16 +01:00
Mounir IDRASSI
28a9eaf0e3 Static Code Analysis: code potential memory leaks in inflate.c used by the setup. 2015-02-09 11:01:13 +01:00
Mounir IDRASSI
de0c30dded Static Code Analysis: handle unused variables more properly. Catch STL exception. Add more checks. Add proper cast to arithmetic operations. 2015-02-09 11:01:11 +01:00
Mounir IDRASSI
1ab00f3e3c Static Code Analysis: Correct memory leaks. Add more checks. 2015-02-09 11:01:08 +01:00
Mounir IDRASSI
651bea29b4 Static Code Analysis: clarify macros definition and use. 2015-02-09 11:01:06 +01:00
Mounir IDRASSI
4e03adc2e7 Static Code Analysis: Add more checks. Avoid unhandled ATL exceptions by checking memory allocation. Avoid throwing exception in File constructor and simplify code. 2015-02-09 11:01:03 +01:00
Mounir IDRASSI
d1a3316e44 Linux: solve rare issue where VeraCrypt wrongly reports that another instance is already running. That happens when VeraCrypt doesn't close cleanly upon shutdown/reboot and on the next startup another process is running with the same PID as VeraCrypt before shutdow/reboot. 2015-02-08 17:57:00 +01:00
Mounir IDRASSI
2c96d17748 Linux/MacOSX: mark RIPEMD-160 as deprecated like it's the case on Windows. It will no more be available for the creation of volumes. 2015-02-08 16:20:40 +01:00