Commit Graph

689 Commits

Author SHA1 Message Date
Mounir IDRASSI
8a2d9c4120 Windows: solve Expander GUI issues caused by latest Unicode modifications. 2016-01-18 21:40:16 +01:00
Mounir IDRASSI
90957cd9d9 MacOSX: Ensure that time-stamping is always activated when performing code signing by using --timestamp switch. 2016-01-17 14:55:13 +01:00
Mounir IDRASSI
3cda204626 Windows: avoid leaking location of selected keyfiles by clearing global variable used to store multiple file selection path. 2016-01-17 10:52:31 +01:00
Mounir IDRASSI
59afc2c4d9 Cryptography: Divide mount and boot times by 2 using a pre-computation of values used in PRF HMac calculation (thanks to Xavier de Carné de Carnavalet for finding this optimization). 2016-01-17 10:52:29 +01:00
Mounir IDRASSI
dd1e62ebcd Windows: Add SHA-256 EV Code Signing using the new GlobalSign certificate on top of the SHA-1 code signing. Create new SHA256 test code signing certificate and update test signing script. 2016-01-17 10:52:26 +01:00
Mounir IDRASSI
e858d93a8e MacOSX: use native OSX byte swapping routines used in hash functions to improve speed. 2016-01-11 01:04:54 +01:00
Mounir IDRASSI
e40774f546 Linux/MacOSX: Show better error message when the PKCS#11 library can't be loaded 2016-01-10 23:59:17 +01:00
Mounir IDRASSI
8586c51016 Windows: Avoid wrong update of configuration XML file caused by not using the correct window handle to get some GUI fields content. Some code cleanup. 2016-01-10 20:45:18 +01:00
Mounir IDRASSI
fb430c403b Windows: Don't show disconnected network drives in the list of available drives. Add option to make them available for mounting if needed. 2016-01-10 20:45:15 +01:00
Mounir IDRASSI
80ba722497 Windows: increase the size of the field IDC_PREF_CACHE_PIM in the preferences dialog to avoid truncation when using a language other then English 2016-01-04 02:55:18 +01:00
Mounir IDRASSI
7a15ff2083 Windows: Enhance fix for dll hijacking vulnerability affecting installer (CVE-2016-1281) 2016-01-04 02:37:37 +01:00
Mounir IDRASSI
29d46b749d Windows: Add keyboard shortcut alt+i for checking "Use PIM" in various dialogs like password dialog. 2016-01-04 02:37:29 +01:00
Mounir IDRASSI
ea8e8e517e Linux: Restore Nautilus fix that was mistakenly removed by Whirlpool optimization commit 2016-01-03 09:30:21 +01:00
Mounir IDRASSI
723fcfa64d Windows Driver: Remove unwanted ':' character at the end of volume device name. This was causing a crash in Kaspersky Internet Security 2016 when a program is run from a VeraCrypt volume. 2016-01-03 00:15:11 +01:00
Mounir IDRASSI
6e1f5cfe4b Windows: use compiler intrinsic for some functions used in cryptographic primitives to ensure maximum performance. 2016-01-03 00:15:08 +01:00
Mounir IDRASSI
5872be28a2 Windows: Fix Dll hijacking vulnerability affecting installer that allows arbitrary code execution with elevation of privilege (CVE-2016-1281) 2016-01-03 00:15:05 +01:00
Mounir IDRASSI
6cb1eefc49 Windows: sign binaries using both SHA-1 and SHA-256 for maximum compatibility. Add requirement for Windows SDK 8.1 that contains signtool.exe version that enables this. 2016-01-03 00:15:02 +01:00
Mounir IDRASSI
4181283f29 Cryptography: Set 16-byte alignment for KEY_INFO structure that is used as input for Whirlpool hash. This helps improve performance. 2016-01-03 00:14:59 +01:00
Mounir IDRASSI
bb66dac8e6 Cryptography: correct Whirlpool compilation error on Big Endian platforms. 2016-01-03 00:14:54 +01:00
Mounir IDRASSI
0c2c0a846d Cryptography: Optimize Whirlpool implementation by using public domain assembly code developed by Wei Dai 2015-12-31 01:56:19 +01:00
Mounir IDRASSI
859c111d01 Readme: Make Readme.txt identical to README.md. 2015-12-25 20:30:53 +01:00
Mounir IDRASSI
2fd699cc66 Windows Driver: wipe cached PIM values when passwords are wiped. 2015-12-21 01:53:29 +01:00
Mounir IDRASSI
8f6c08330a Windows: Implement PIM caching, both for system encryption and for normal volumes. Add options to activate it in the Preferences and System Settings. 2015-12-21 01:19:04 +01:00
Mounir IDRASSI
7832d712fd Windows: solve issue with system favorites not being able to mount at A: 2015-12-16 23:38:44 +01:00
Mounir IDRASSI
4f17e0cfe9 MacOSX: Customize dmg file using VeraCrypt new logo 2015-12-06 11:51:23 +01:00
Mounir IDRASSI
c1f1c643ff MacOSX: Add possibility in build script to reuse existing wxWidgets compiled library 2015-12-06 11:51:11 +01:00
Mounir IDRASSI
8e56e138cc Windows Rescue Disk: when decryption paused/finished, display message to indicate that header is being updated 2015-12-05 19:35:45 +01:00
Mounir IDRASSI
1cf826dbad Windows: Correct issue with some of new bitmaps that didn't render correctly. 2015-12-05 19:35:42 +01:00
Mounir IDRASSI
13c6f2948e Windows: use new icons an graphics contributed by Andreas Becker (https://github.com/veracrypt/VeraCrypt/issues/9#issuecomment-118353850) 2015-12-05 00:07:13 +01:00
Mounir IDRASSI
533b7e1eb8 Linux/MacOSX: use new icons contributed by Andreas Becker (https://github.com/veracrypt/VeraCrypt/issues/9#issuecomment-118353850) 2015-12-04 22:20:45 +01:00
Mounir IDRASSI
3a9db8d98c Linux: fix Nautilus not detected as file manager on some Gnome based destributions. 2015-12-04 22:20:42 +01:00
Mounir IDRASSI
efa436974d Linux/MacOSX: Implement Unicode passwords suppport. Make validation of parameters in GUI more robust. 2015-11-30 13:58:19 +01:00
Mounir IDRASSI
cfadb231d2 Linux/MacOSX: Solve compilation issue following Windows Unicode rewrite 2015-11-30 13:58:15 +01:00
Mounir IDRASSI
9666dda282 Windows: solve GUI issues caused by using ANSI string instead of UNICODE ones. Remove Unused functions. 2015-11-26 19:23:11 +01:00
Mounir IDRASSI
10d77be0d2 Windows: Support creating Traveler Disk when running in Portable Mode 2015-11-26 01:44:56 +01:00
Mounir IDRASSI
59611b8b37 Windows: solve crash caused by system function FormatMessage failure on rare cases. 2015-11-26 01:44:54 +01:00
Mounir IDRASSI
90bd57fe40 Windows: Full UNICODE rewrite and implement support for UNICODE passwords. 2015-11-26 01:44:52 +01:00
Mounir IDRASSI
ec7d96fcb7 Windows Bootloader: Avoid displaying empty new line between password and PIM after filling password field with dummy '*'. 2015-11-26 01:44:46 +01:00
Mounir IDRASSI
c53fd7ef0c Windows Driver: solve compilation error in Debug build caused by a missing variable. 2015-11-26 01:44:43 +01:00
Mounir IDRASSI
1c55894e1d Language XML files: harmonize XML language files ad solve few issues. 2015-11-08 09:49:04 +01:00
Mounir IDRASSI
ebbbde8964 Windows: workaround to solve false positive detection by some anti-virus software. 2015-10-27 20:47:56 +01:00
Mounir IDRASSI
62de77e2c8 Windows: fix wrong translation for "Reset" button in hotkeys dialog 2015-10-27 20:47:53 +01:00
Mounir IDRASSI
4ff727d702 Language XML files: add some missing fields 2015-10-18 17:21:53 +02:00
Mounir IDRASSI
97701eb2e9 Windows: Ensure focus is always set to the drive list upon startup 2015-10-18 16:17:09 +02:00
Mounir IDRASSI
0a69062c6b Language XML files: remove unused ID. 2015-10-18 16:17:07 +02:00
Mounir IDRASSI
41819270bb Windows: Solve lost focus for application after displaying the waiting dialog 2015-10-15 01:36:15 +02:00
Mounir IDRASSI
8342d0d616 Windows Rescue Disk: compress bootloader for rescue disk in several more cases because of its growing size. 2015-10-15 01:36:12 +02:00
Mounir IDRASSI
19483d2097 Windows Bootloader: Protect password/PIM length by filling the fields to their maximum length with '*' after ENTER is hit 2015-10-15 01:36:10 +02:00
Mounir IDRASSI
225acf4a22 Windows: resize some GUI fields to avoid text truncation with non US languages (e.g. German) 2015-10-15 01:36:07 +02:00
Mounir IDRASSI
23b69537a5 Windows: Set bPrebootPasswordDlgMode to FALSE at the correct code location. 2015-10-15 01:36:02 +02:00
Mounir IDRASSI
ee3fa19ed9 Windows: correct wrong ID for keyfiles button in password dialog 2015-10-15 01:35:59 +02:00
Mounir IDRASSI
f274f5bdc5 Windows: solve issue on VeraCryptExpander where if TB radio button was checked, it will remain checked even if GB, MB or KB is are checked. 2015-10-15 01:35:57 +02:00
Mounir IDRASSI
8748013f7d Increment version to 1.16. Update user guide PDF file. 2015-10-07 12:56:09 +02:00
Mounir IDRASSI
9a6fc789eb Windows: Add option to disable detection of "Evil Maid" attacks. This is helpful for users who have software running the modifies the bootloader, like FLEXnet. 2015-10-07 12:56:01 +02:00
Mounir IDRASSI
f3c91cb05c Windows: Don’t try to mount using empty password when default keyfile configured or keyfile specified in command line. Add option in default keyfiles dialog to restore the old behavior. 2015-10-07 12:55:58 +02:00
Mounir IDRASSI
13058fd638 Windows: fix failure to restore volume header from an external file if custom PIM used or PRF different from default one. Also default PRF is correct set in password dialog for restore operation. 2015-10-05 04:31:19 +02:00
Mounir IDRASSI
c94f8c9b63 Windows Driver: Modify fix for CVE-2015-7358 to solve side effects on Windows mount manager while still making it hard to abuse drive letter handling. 2015-10-05 04:31:17 +02:00
Mounir IDRASSI
ea451c7241 Windows Driver: remove allocation of unused variables 2015-10-05 04:31:15 +02:00
Mounir IDRASSI
4682f9b235 Windows: remove wrong check for return value of MultiByteToWideChar 2015-10-05 04:31:13 +02:00
Mounir IDRASSI
185e421114 Increment version to 1.15. Update user guide PDF file. 2015-09-26 17:44:31 +02:00
Mounir IDRASSI
f07121f830 Windows: rename "Performance..." menu to "Performance/Driver Configuration" since we added IOCTL option 2015-09-26 17:44:12 +02:00
Mounir IDRASSI
f41be7399b Windows: Support specifying volumes size using TB in GUI as it is the case in command line. 2015-09-26 17:44:09 +02:00
Mounir IDRASSI
307568f631 Windows Driver: remove unnecessary variables declaration and use in MountManagerMount. 2015-09-26 17:44:06 +02:00
Mounir IDRASSI
9b24da3398 Windows Driver: Fix inherited TrueCrypt local elevation of privilege vulnerability caused by abusing the drive letter symbolic link creation facilities to remap the main system drive. Thanks to James Forshaw (Google) for reporting this issue and for helping implementing the fix. 2015-09-26 17:44:03 +02:00
Mounir IDRASSI
b7f9df6e4f Windows Driver: Fix inherited TrueCrypt local elevation of privilege vulnerability caused by incorrect impersonation token handling. Reported and fixed by James Forshaw (Google) 2015-09-26 17:44:00 +02:00
Mounir IDRASSI
fda4d3f820 Windows: Allow Application key to open context menu on drive letters list. 2015-09-26 17:43:57 +02:00
Mounir IDRASSI
0eec3bc349 Windows Installer: check newly added files if they are used before resuming installation. Avoid using driver handle to check if we are using system encryption. 2015-09-26 17:43:54 +02:00
Mounir IDRASSI
d98367f53b Window: Solve Unicode issues in GUI (e.g. Chinese text not always displayed correctly) by using Unicode API for dialogs and window message handling. 2015-09-26 17:43:51 +02:00
Mounir IDRASSI
03de885b13 Windows: Set keyboard focus to PIM field when "Use PIM" is checked. 2015-09-26 17:43:47 +02:00
Mounir IDRASSI
6b3a26bc40 Windows: Add extra check in GetDiskDeviceDriveLetter for code clarity 2015-09-26 17:43:43 +02:00
Mounir IDRASSI
e8ea23e719 Windows: fix regression that made Favorite fail to load a logon. 2015-09-26 17:43:35 +02:00
Mounir IDRASSI
c447b45d45 Increment version to 1.14. Update user guide PDF file. 2015-09-16 18:35:57 +02:00
Mounir IDRASSI
9e1e128b14 Windows: Add functionality to verify Rescue Disk ISO image file. 2015-09-16 01:33:19 +02:00
Mounir IDRASSI
52c7445a79 Windows: Correctly detect presence of CD/DVD recorder during the creation of Rescue Disk. Check only CD/DVD drives and removable media when looking for rescue disk during its verification. 2015-09-16 01:33:16 +02:00
Mounir IDRASSI
db80c02342 Windows: Add option to explicitly support extended disk IOCTLs and disable this support by default. This will avoid having issue with software that doesn't handle correctly partial IOCTL_STORAGE_QUERY_PROPERTY support. 2015-09-16 01:33:14 +02:00
Mounir IDRASSI
4d7dc3ba25 Windows: first implementation of CLI support for creating volumes. 2015-09-16 01:33:11 +02:00
Mounir IDRASSI
85c1bc34e3 Linux/MacOSX: workaround bug in old versions of g++ that are confused by methods having the same name and one of them used as wxWidgets event handler callback. 2015-09-14 00:48:37 +02:00
Mounir IDRASSI
24f3b5230c Linux/MacOSX: Mask/unmask PIM value in GUI the same way as the password 2015-09-13 23:51:06 +02:00
Mounir IDRASSI
7e73208e62 Windows Bootloader: Fix Rescue Disk issue when Cascades and SHA256 used. It was caused by the bootloader becoming too big in this case with PIM implementation (larger than the limit of 31232 bytes). We also increase memory requirement for this case 2015-09-13 01:15:13 +02:00
Mounir IDRASSI
22152878f8 Windows Bootloader: pass correct compressed data size to decompressor and use shorter string to keep a valid memory layout for boot sector. 2015-09-13 01:14:17 +02:00
Mounir IDRASSI
89a7fad16d Windows: avoid freezing the wait dialog by setting its parent to desktop when having lengthy driver calls (like mounting) 2015-09-11 00:38:52 +02:00
Mounir IDRASSI
fe6ea62363 Windows: Don't offer creating a restore point if it is disabled in Windows. 2015-09-10 01:44:17 +02:00
Mounir IDRASSI
957ff20f37 Windows: Implement waiting dialog for Mount All Favorites Volumes operation. 2015-09-10 01:44:14 +02:00
Mounir IDRASSI
ec7b5cd7e6 Windows: Implement waiting dialog for Dismount operations to avoid freezing GUI when dismounting takes long time. 2015-09-10 01:44:12 +02:00
Mounir IDRASSI
c55e08b31e Windows: When no language selected by user, explicitly use English as default one unless VeraCrypt is in portable mode. 2015-09-10 01:44:09 +02:00
Mounir IDRASSI
09db742c3e Windows: Add missing IDC_COPY_EXPANDER control definition 2015-09-10 01:44:06 +02:00
Mounir IDRASSI
a36cf1f01e Windows Traveler Disk Setup: Include Volume Expander. Force selection of target directory through Browse button. Use Unicode functions for handling the creation files. 2015-09-08 01:08:24 +02:00
Mounir IDRASSI
a9882a6689 Windows: Don't use RegDeleteKeyEx since it's not supported on Windows XP. 2015-09-08 01:08:22 +02:00
Mounir IDRASSI
0bd265cbde Windows: Launch Format/Expander wizards from VeraCrypt.exe using executable binaries with the same architecture. 2015-09-07 01:40:51 +02:00
Mounir IDRASSI
9fc98b5ea3 Windows: take into account default PRF and TrueCrypt Mode in "Volume Tools" operations. 2015-09-06 20:31:10 +02:00
Mounir IDRASSI
13bfb2db59 Windows: Installer and Traveler Disk Setup both always copy 32-bit and 64-bit executable binaries. 2015-09-06 20:31:07 +02:00
Mounir IDRASSI
e445863ae4 Windows: Save/Restore last selected drive in drivers list only when saving history is enabled. 2015-09-06 20:31:04 +02:00
Mounir IDRASSI
42a7a17cb9 Windows Installer: better handling for updating system favorite service from 1.0f-2 (solve Windows 10 issue) . Remove extra VeraCrypt files that may remain after uninstalling it. 2015-09-06 20:31:01 +02:00
Mounir IDRASSI
adc3274395 Language files: adaptations of XML files to be recognized correctly by Transifex 2015-09-01 01:37:02 +02:00
Mounir IDRASSI
249d747a53 Windows: Increase width of plain text size static control to accommodate larger text 2015-09-01 01:37:00 +02:00
Mounir IDRASSI
4470d11c39 Merge pull request #18 from LouisTakePILLz/master
Linux/MacOSX: Support supplying password to VeraCrypt via pipe (stdin)
2015-08-31 01:56:56 +02:00
LouisTakePILLz
9582d8fbcb Add stdin-supplied password support 2015-08-30 19:45:01 -04:00
Mounir IDRASSI
90f9194558 Windows: Support setting volume label in Explorer through mount option. Support using favorite label as label in Explorer. 2015-08-31 00:30:58 +02:00
Mounir IDRASSI
dc6c279339 Windows Driver: Protect captured subject context during processing of user access token. 2015-08-31 00:30:56 +02:00
Mounir IDRASSI
2f2cb6b7ae Windows: compact columns size of view reports used in Benchmark and Devices dialogs 2015-08-31 00:30:53 +02:00
Mounir IDRASSI
8dc1dd2fb4 Windows bootloader: Mask/unmask PIM value in bootloader the same way as the password 2015-08-28 19:32:29 +02:00
Mounir IDRASSI
86dc27dcb8 Windows: Treat the PIM like a password and make it visible when "Display password" is checked. 2015-08-28 01:54:53 +02:00
Mounir IDRASSI
cfb591a9e9 Windows: Correctly display the password edit "black dot" instead of a '*' when showing it then hiding it. 2015-08-27 02:18:47 +02:00
Mounir IDRASSI
ad3b8eca69 Windows: Protect against using a container file as its own keyfile. Normalizing path names to never use '/' but always '\'. 2015-08-27 02:18:40 +02:00
Mounir IDRASSI
20cb199e55 Windows: Solve various issues in HotKeys assignment dialog by ensuring that keys are detected only when the assignment edit has the focus and also by taking a key into account only once even if it remains pressed contently (this solves issue http://sourceforge.net/p/veracrypt/discussion/technical/thread/6597c91a) 2015-08-27 02:18:36 +02:00
Mounir IDRASSI
ef94506c34 Windows: Solve wrong PKCS-5 PRF label disabled in dialog for Add/Remove Keyfiles and Remove All Keyfiles 2015-08-16 21:29:00 +02:00
Mounir IDRASSI
55a267a171 Windows: Solve UI language change not taken into account for new install unless a preference is changed. Code refactoring. 2015-08-16 17:58:06 +02:00
Mounir IDRASSI
ba9af46662 Language XML: use correct abbreviation for VeraCrypt Rescue Disk (VRD instead of TRD) 2015-08-14 01:58:45 +02:00
Mounir IDRASSI
fa66a059d9 Windows Driver: support returning StorageDeviceProperty through IOCTL_STORAGE_QUERY_PROPERTY. 2015-08-14 01:58:42 +02:00
Mounir IDRASSI
1d36a1cd05 Windows: solve issue of option "Cache password in driver memory" not read on startup, making it always disabled unless a mount is attempted. 2015-08-14 01:58:39 +02:00
Mounir IDRASSI
5db8cdb98f Increment version to 1.13 2015-08-09 13:56:51 +02:00
Mounir IDRASSI
0cf2885e84 Windows: better error code when IOCTL_STORAGE_QUERY_PROPERTY type is not supported 2015-08-09 01:38:34 +02:00
Mounir IDRASSI
f9c3bcd384 Windows: Solve crash of TOR when run from VeraCrypt volume by explicitly returning error code when unsupported IOCTL_STORAGE_QUERY_PROPERTY parameter encountered. 2015-08-09 00:17:46 +02:00
Mounir IDRASSI
96520e22bd Linux: modify official build script to use different build directories for wxWidgets console and GUI builds. 2015-08-06 12:31:32 +02:00
Mounir IDRASSI
ff0ab2da93 Linux: Correct formating of license displayed in the installer 2015-08-06 12:31:28 +02:00
Mounir IDRASSI
174f7f498a Increment version to 1.12. Update user guide PDF file. 2015-08-06 00:04:29 +02:00
Mounir IDRASSI
041024fbb9 Update license information to reflect the use of a dual license Apache 2.0 and TrueCrypt 3.0. 2015-08-06 00:04:25 +02:00
Mounir IDRASSI
c2d0d5e344 Windows: Add extra checks for bootloader tampering. 2015-08-06 00:03:56 +02:00
Mounir IDRASSI
6ca598f841 Windows: Implement Evil-Maid-Attack detection mechanism. Write the correct bootloader when changing the system encryption password: this enables to recover if an attack is detected. 2015-07-29 00:33:10 +02:00
Mounir IDRASSI
69a8ad5bba Linux/MacOSX: remove unused variable. 2015-07-25 23:59:01 +02:00
Mounir IDRASSI
94ccaf1ab4 Linux: solve compilation error on OpenSUSE when linking against system wxWidgets. OpenSUSE enables STL in wxWidgets which causes the error because implicit casts are not available. 2015-07-25 13:39:50 +02:00
Mounir IDRASSI
4fcf5c921c Linux: Add "new-hash" switch for changing PRF and remove "current-hash" switch which didin't fit the change password/keyfile logic. 2015-07-19 11:29:47 +02:00
Mounir IDRASSI
5158953428 User Interface enhancements for PIM 2015-07-19 11:29:45 +02:00
Mounir IDRASSI
63818bcaa4 Windows: Don't offer "None" as wipe mode when real wipe is explicitly needed (like in Decoy system partition wipe case) 2015-07-14 16:58:30 +02:00
Mounir IDRASSI
88ef238593 Windows: in encryption wizard, clicking "Previous" in the "Large File Support" page should take to password page if PIM not enabled. 2015-07-14 15:47:38 +02:00
Mounir IDRASSI
046513b7c9 Windows: solve issue introduced by the new "Use PIM" checkbox that caused error when trying to encrypt system (the wizard was executing a wrong page) 2015-07-14 14:03:20 +02:00
Mounir IDRASSI
7d6cd0c92d Windows: on 64-bit Windows, more System favorite service from SysWoW64 to System32 since now all binaries are native 64-bit on 64-bit machines. 2015-07-13 23:35:23 +02:00
Mounir IDRASSI
103018b367 Windows: Fix memory access issues when processing language XML files. Avoid writing to locked memory resource which can trigger crash. 2015-07-13 23:35:20 +02:00
Mounir IDRASSI
52146825de Windows: workaround to solve system favorites failing to mount because underlying drive takes long time to be recognized by Windows. 2015-07-13 23:35:17 +02:00
Mounir IDRASSI
a43a5ebb21 Windows: Modify PIM parts in GUI to make it easier to use. Users must explicitly check "User PIM" to enable its use. 2015-07-13 23:35:15 +02:00
Mounir IDRASSI
8fc08b1e46 Windows: Solve failure to create hidden volume when PIM used for outer volume. Correctly wipe password variable from memory. 2015-07-13 23:35:11 +02:00
Mounir IDRASSI
b23cbf384f Windows: Set longer wait hint time for System Favorites Service to avoid being killed by Windows. Add extra system event logs to help trace any issues (there is no leak issue because this is done in case of System Favorite service which is only enabled when system is encrypted). 2015-07-13 23:35:08 +02:00
Mounir IDRASSI
2d0d4b06b1 Linux: Solve compilation warning (unused variables, pointer cast) 2015-07-11 01:58:39 +02:00
Mounir IDRASSI
944b6aa53f Linux: Solve error when building against dynamic wxWidgets library, especially under Ubuntu. 2015-07-11 01:58:36 +02:00
Mounir IDRASSI
6ef41abdd2 Use Pim name for internal variables instead of the old name Pin 2015-07-11 01:58:34 +02:00
Mounir IDRASSI
7a01453f00 Windows: Fix old issue inherited from TrueCrypt by initializing COM library before instantiating UAC COM object used for changing password. This issue made it impossible to change the password of a volume requiring administrative privileges. 2015-07-08 22:16:04 +02:00
Mounir IDRASSI
b809cf62ae Windows: Disable Set Key Header Algorithm item in "Volumes" menu when the system partition is selected by the user using "Select Device" 2015-07-08 22:16:01 +02:00
Mounir IDRASSI
0ddd19d4ab Windows: Disable menu item for changing system header key derivation algorithm until it's actually implemented 2015-07-07 08:13:34 +02:00
Mounir IDRASSI
6a78f7eae2 Windows: better logic for FormatEx function call. To be replaced in the future by Microsoft COM interfaces. 2015-07-06 01:19:23 +02:00
Mounir IDRASSI
724043be0b Windows: Display source location of errors in order to help diagnose issues reported by users 2015-07-06 01:19:21 +02:00
Mounir IDRASSI
c3b77fba25 Linux: Support checking/reparing mounted filesystem on KDE when xterm not available 2015-07-04 17:48:20 +02:00
Mounir IDRASSI
218f63b4b6 Windows: re-size some controls to avoid text truncation. 2015-07-03 23:27:40 +02:00
Mounir IDRASSI
b4b51bd909 Windows: Solve privacy issue inherited from TrueCrypt and linked to the update of configuration and history XML files everytime VeraCrypt main window is opened, even if there was no modifications. This could give information about the usage of VeraCrypt. Now, configuration and history XML files are updated only when there are modifications. 2015-07-03 02:12:28 +02:00
Mounir IDRASSI
bef713de1a Language XML: Add newlines to PIM Help Text to make clearer for reading 2015-07-03 02:12:25 +02:00
Mounir IDRASSI
8f4b970dc1 Windows: Explicitly use internal PKCS#11 headers for building 2015-07-03 02:12:22 +02:00
Mounir IDRASSI
439e0a9588 Linux/MacOSX: Add dedicated PIM page in the volume creation wizard. Correct PIM value check logic. 2015-06-28 20:25:22 +02:00
Mounir IDRASSI
da8aec4292 Linux: don't ask for PIM if TrueCryptMode enabled, both in command line and GUI 2015-06-26 22:07:17 +02:00
Mounir IDRASSI
d73df9bbd4 Linux: if a keyfile is specified in the command line without a password, don't try to mount using an empty password unless its TrueCryptMode or an empty password has been explicitly specified. 2015-06-24 23:58:52 +02:00
Mounir IDRASSI
d734ce4635 Linux/MacOSX: solve GUI layout issues although the volume creation wizard still has issues 2015-06-24 23:35:30 +02:00
Mounir IDRASSI
2cd39b37c2 Linux/MacOSX: restore normal file mode to some source files 2015-06-24 15:33:23 +02:00
Mounir IDRASSI
ea27cace41 Linux: solve bug when "-tc" command line switch is not followed by another switch. In this case, the value coming after the "-tc" switch was ignored from processing. 2015-06-24 15:33:20 +02:00
Mounir IDRASSI
9913af3a8e Linux/MacOSX: first dynamic mode implementation 2015-06-24 15:33:16 +02:00
Mounir IDRASSI
f927ce9b58 Windows: Add a dedicate page for volume PIM in the volume creation wizard 2015-06-21 20:47:01 +02:00
Mounir IDRASSI
5d9d49e989 Windows: in "VeraCrypt Format.exe", erase the volume PIM value after the process is finished to avoid displaying it again if the user starts a new creation process right after 2015-06-19 18:32:03 +02:00
Mounir IDRASSI
d31466ae7a Windows: If PIM of a volume is changed and if it is a favorite or system favorite, automatically update favorite or system favorite XML file with the new value. 2015-06-19 18:31:59 +02:00
Mounir IDRASSI
7d55b028f2 Windows: Use "PIM" instead of "PIN" in favorites XML file 2015-06-19 18:31:53 +02:00
Mounir IDRASSI
44234a0ccc Windows installer: solve Windows XP 32-bit incompatibility issue introduced previously. 2015-06-12 00:01:12 +02:00
Mounir IDRASSI
6be12f4889 Windows: Implement waiting dialog for Auto-Mount Devices operations to avoid freezing GUI. 2015-06-10 01:13:56 +02:00
Mounir IDRASSI
b7eadfd310 Windows: solve installer issue on Windows 10 caused by failure to overwrite VeraCrypt driver file. 2015-06-10 01:13:53 +02:00
Mounir IDRASSI
a7a8d57bca Windows: rename PIN to PIM to avoid confusion. Better error messages. 2015-06-08 01:16:34 +02:00
Mounir IDRASSI
00cd134720 Windows: Add command line switch parameter for temporary caching of password during favorites mounting (/cache favorites). Correct implementation of "/cache y". 2015-06-08 01:16:29 +02:00
Mounir IDRASSI
c3c1bdd29d Windows: Add support for PIN in favorites. Several enhancements to GUI handling of Dynamic Mode. 2015-06-07 01:38:34 +02:00
Mounir IDRASSI
550e2bcf3b Windows: fix buffer overrun issue when parsing language XML file 2015-05-31 08:09:46 +02:00
Mounir IDRASSI
57343ce04c Windows: reorder command line switched with alphabetical order for better help display 2015-05-29 02:22:12 +02:00
Mounir IDRASSI
fdc2143bfa Windows: workaround FormatEx keeping references on formatted volume by adding extra delays. 2015-05-29 02:22:08 +02:00
Mounir IDRASSI
5867250820 Windows: Display VeraCrypt version information when the command line switch /help is used. 2015-05-29 02:22:05 +02:00
Mounir IDRASSI
70215e3682 Windows: GUI modifications around PIN field 2015-05-27 01:01:53 +02:00
Mounir IDRASSI
8ebf5ac605 Windows: first implementation of dynamic mode 2015-05-26 01:38:15 +02:00
Mounir IDRASSI
85e5e383f9 Windows: solve 64-bit compilation warnings after checking that they are harmless. 2015-05-26 01:38:11 +02:00
Mounir IDRASSI
1c08ea01f1 Windows Setup: Integrate 64-bit builds of exe files into the installer. Only install 64-bit exe files on Windows 64-bit. This gives a boot in performance for encryption/decryption of partitions/drives on Windows 64-bit. 2015-05-22 22:58:55 +02:00
Mounir IDRASSI
0d23312886 Windows: Modifications to build 64-bit versions of VeraCrypt.exe & "VeraCrypt Format.exe". 2015-05-22 22:58:51 +02:00
Mounir IDRASSI
c44c1ac9ce Windows: make random generator function compatible with 64-bit execution environment 2015-05-22 12:00:23 +02:00
Mounir IDRASSI
32ba1ebcff Windows: Correctly detect switch user and RDP disconnect as session locking so that autodismount could be performed when it's enabled in the preferences 2015-05-22 12:00:20 +02:00
Mounir IDRASSI
138d22a254 Windows: remove crash dump analysis functionality. It didn't always work and it required external debugging tools. 2015-05-22 12:00:17 +02:00
Mounir IDRASSI
330bed0c42 Windows: correct typo in help text 2015-05-22 12:00:13 +02:00
Mounir IDRASSI
f72125ea71 Windows: First implementation of non-system volumes decryption. 2015-05-17 12:16:16 +02:00
Mounir IDRASSI
4695920b41 Language XML: Use correct links in displayed message. 2015-05-15 00:02:41 +02:00
Mounir IDRASSI
e95c075f0c Windows driver: avoid race condition by using IoAttachDeviceToDeviceStackSafe instead IoAttachDeviceToDeviceStack. Set BootArgs.CryptoInfoLength to 0 after clearing boot memory. 2015-05-15 00:02:38 +02:00
Mounir IDRASSI
4a5154e750 Windows Driver: fix wrongly reported bad sectors by chkdsk caused by a bug in IOCTL_DISK_VERIFY. There was no real issue in sectors. 2015-05-10 01:26:18 +02:00
Mounir IDRASSI
b3646b3237 Windows: Solve detection issue when resuming encryption. Add separate logic for manual selection of device and display error message in case of failure. 2015-05-06 23:31:37 +02:00
Mounir IDRASSI
061292130d Windows: When resuming in-place encryption, add manual selection of partition possible. Display wait dialog when performing detection. 2015-05-04 00:06:26 +02:00
Mounir IDRASSI
d1c1aa369c Windows: Make the Format wizard work again when launched from VeraCrypt menu. 2015-05-03 15:47:31 +02:00
Mounir IDRASSI
7d52dda67c Windows Driver: Implement querying physical sector size of veraCrypt volume through IOCTL_STORAGE_QUERY_PROPERTY 2015-05-03 15:47:29 +02:00
Mounir IDRASSI
0f2d32f011 Windows: enable showing/hiding password for system encryption in Windows UI and in the bootloader (F5 key). This will be helpful to diagnose issues with non-US versions of Windows. 2015-05-03 15:47:25 +02:00
Mounir IDRASSI
a1f1e34789 Windows: Modify custom window class names to less generic value in order to avoid collision with existing class names. 2015-05-03 15:47:22 +02:00
Mounir IDRASSI
eac440ae9e Windows: Support A: and B: as driver letters for mounting volumes. 2015-04-27 23:59:53 +02:00
Mounir IDRASSI
dc3bc64b86 Windows: Better command line handling to make it more strict and robust. This avoids issues when using wrong syntax. 2015-04-27 23:59:49 +02:00
Mounir IDRASSI
9ccb8a97af Linux: in command line, support hash algorithm names without '-' as on Windows ("sha256", "sha512", "ripemd160") 2015-04-26 00:05:22 +02:00
Mounir IDRASSI
4890a65106 Windows: solve translation issue with IDM_DEFAULT_MOUNT_PARAMETERS menu item 2015-04-19 22:00:11 +02:00
Mounir IDRASSI
2ec75c5f8e Linux: Correct wxWidgets assert warnings when displaying about/LegalNotice dialogs. This didn't happen with official binaries because the library used disables asserts. 2015-04-19 16:31:28 +02:00
Mounir IDRASSI
29501638d1 Windows: lower position of "Never save history" checkbox to avoid wrong clicks 2015-04-19 16:12:57 +02:00
Mounir IDRASSI
856395962b Linux installer: Add support for kdesudo and correct usage of konsole external call. 2015-04-19 16:12:53 +02:00
Mounir IDRASSI
bb2149aac8 Windows: add a test code-signing certificate and a batch file to sign binaries and the installer with it. 2015-04-11 00:32:20 +02:00
Mounir IDRASSI
8e4a68af3b MacOSX: Set properly the version in the bundle and the installation package. Allow downgrading using older installers. 2015-04-06 19:50:30 +02:00
Mounir IDRASSI
4a8040735b MacOSX: Correctly handle OSX dock "reopen-application" event and Cocoa openFiles message instead of the deprecated Carbon "open-document" event 2015-04-06 19:50:27 +02:00
Mounir IDRASSI
ae28d51016 Linux/MaxOSX: correctly detect type of internal exceptions 2015-04-06 19:50:24 +02:00
Mounir IDRASSI
32f11001c0 MacOSX: solve issue volumes not auto-dismounting when quitting VeraCrypt. restore main VeraCrypt window if is in background when we need to display various dialogs 2015-04-06 19:50:21 +02:00
Mounir IDRASSI
a0ebc22d1f Windows: update projects build dependencies in Visual Studio solution files 2015-04-06 06:16:43 +02:00
Mounir IDRASSI
0718a4ec20 Increment VeraCrypt version to 1.0f-2 2015-04-06 00:22:48 +02:00
Mounir IDRASSI
f2cda804dc Update user guide PDF 2015-04-06 00:22:45 +02:00
Mounir IDRASSI
b68fec97ea Windows: Require upgrading rescue disk since we changed bootloader in 1.0f-2 2015-04-06 00:22:42 +02:00
Mounir IDRASSI
eefaefccc0 Windows: use secure string functions 2015-04-06 00:22:39 +02:00
Mounir IDRASSI
2784652ab8 Windows vulnerability fix: CryptAcquireContext vulnerability fix. Add checks to random generator to abort in case of error and display a diagnose message to the user. 2015-04-06 00:22:36 +02:00
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
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
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
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
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
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
Mounir IDRASSI
ad4af09d88 Linux: When not under Gnome/KDE, use xdg-open to open the mounted volume if it is available. 2015-02-08 16:20:37 +01:00
Mounir IDRASSI
96b39a5973 Windows: retry UAC prompt operation in case of failure. This avoids cancel the whole operation if the user is not in front of the machine during UAC prompt (this happens ofter during in-place encryption of big NTFS partitions). 2015-02-08 10:07:44 +01:00
Mounir IDRASSI
b16cfa959d Windows: rename VeraCryptExpander project in the global solution 2015-02-08 10:07:41 +01:00
Mounir IDRASSI
f98a691933 Windows Setup: implement removal of non-empty directories to avoid errors during uninstall. 2015-02-08 10:07:38 +01:00