Commit Graph

689 Commits

Author SHA1 Message Date
Mounir IDRASSI
0dc3cb7cd1
Add reference to VeraCrypt-DCS EFI Boot loader in Readme. Update copyrights. 2016-08-17 17:06:21 +02:00
Mounir IDRASSI
d4192bf863
Windows: Increase text size limit in RichEdit control to avoid truncating Legal Notices text when displayed. 2016-08-17 17:06:20 +02:00
Mounir IDRASSI
8c963356cb
Windows Bootloader: Update EFI bootloader files built using the latest source modifications 2016-08-17 17:06:19 +02:00
Mounir IDRASSI
20c723e242
Windows: correct handle failure of TranslateVolumeID function (should not happen anyway). 2016-08-17 17:06:18 +02:00
Mounir IDRASSI
3ddb499280
Update 1.18 release date 2016-08-17 08:55:56 +02:00
Mounir IDRASSI
b56e8c5c4b
Linux/MacOSX: Add Streebog to the list of supported hash algorithms used for key derivation. 2016-08-17 08:36:33 +02:00
Mounir IDRASSI
d8a7de8ffb
Linux: Disable Kernel crypto if volume encrypted using Kuznyechik or Magma 2016-08-17 08:36:33 +02:00
Mounir IDRASSI
7695b8ada0
Linux: Add parameter to Makefile for enabling SSSE3 and SSE4.1 support in compiler 2016-08-17 08:36:32 +02:00
Mounir IDRASSI
a72c7bcd6a
Linux: fix compilation error on Streebog.c if SSE4.1 not enabled in compiler 2016-08-17 08:36:31 +02:00
Mounir IDRASSI
2780ac962e
Linux: fix various compilation issues under Linux. 2016-08-17 00:08:18 +02:00
Mounir IDRASSI
e47f94cb43
Windows: modification to make Coverity happy! 2016-08-16 19:58:48 +02:00
Mounir IDRASSI
625259d226
Fix compilation error in Streebog code caused by latest changes. 2016-08-16 12:42:44 +02:00
Mounir IDRASSI
2fef14ff76
Increment version to 1.18. Update user guide PDF file. 2016-08-16 10:19:39 +02:00
Mounir IDRASSI
ce76957a10
Windows: Fix various issues detected by static analysis. 2016-08-16 10:04:07 +02:00
Mounir IDRASSI
1bf219b0dc
Windows: fix SetupAPI issue on some machines where it fails to handle properly AddReg/DelReg operations during System encryption/decryption wizard. 2016-08-16 00:56:15 +02:00
Mounir IDRASSI
a7056a6ac3
Windows: in system encryption setting dialog, put the checkbox for hiding at the bottom to keep the Note text coherent. 2016-08-15 19:06:26 +02:00
Mounir IDRASSI
5d5a645083
Windows: fix error caused by requesting large number of random bytes when writing randomly generated data to unused/reserved header areas. 2016-08-15 14:19:11 +02:00
Mounir IDRASSI
1506916487
Linux: avoid overflow when specifying TiB size in command line 2016-08-15 13:18:06 +02:00
Mounir IDRASSI
2db742f465 Merge pull request #75 from oceanBT/revert-66-patch-1
Linux: added TiB support to text mode.
2016-08-15 13:10:01 +02:00
Mounir IDRASSI
24560eae1d
Windows: fill unused/reserved header areas with the result of encryption of random data instead of the encryption of zeros for better entropy of resulting random data. 2016-08-15 01:09:20 +02:00
Mounir IDRASSI
67031da928
Windows: Add DCS EFI Bootloader files that are signed. Add certificates and powershell script to update Secure Boot configuration. 2016-08-15 01:09:19 +02:00
Mounir IDRASSI
87ee61bcb1
Windows: in EFI encryption wizard, always select "Single Boot" by default since it is the only choice. 2016-08-15 01:09:19 +02:00
kavsrf
83885c1ebb
Windows: Synchronize file with changes done in EFI Bootloader DCS. 2016-08-15 01:09:18 +02:00
Mounir IDRASSI
2d72e42c6c
Windows: Implement Rescue Disk support for EFI system encryption 2016-08-15 01:09:17 +02:00
Mounir IDRASSI
71a38563ae
Windows: various fixes for XZip library bugs 2016-08-15 01:09:17 +02:00
Mounir IDRASSI
4cf9db9f95
Windows: Add XZip library files (http://www.codeproject.com/Articles/4135/XZip-and-XUnzip-Add-zip-and-or-unzip-to-your-app-w) 2016-08-15 01:09:16 +02:00
Mounir IDRASSI
c4d4ade9d0
Windows: Show only supported encryption algorithm in the system encryption wizard for MBR 2016-08-15 01:09:16 +02:00
Mounir IDRASSI
d127393897
Windows: Add new crypto files to legacy VC++ 2008 project. 2016-08-15 01:09:15 +02:00
Mounir IDRASSI
b51d8f5386
Windows: fix Windows 10 hibernate issue when EFI system encryption is active. 2016-08-15 01:09:15 +02:00
Mounir IDRASSI
b146e235f8
Windows: align buffers used for keys to avoid issues when SSE used. 2016-08-15 01:09:14 +02:00
Mounir IDRASSI
07ee8c1069
Windows: Implement support for EFI system encryption in Windows GUI. 2016-08-15 01:09:13 +02:00
Alex
246233c402
Windows EFI Bootloader: modifications to prepare EFI system encryption support (common files with DcsBoot) 2016-08-15 01:09:12 +02:00
Mounir IDRASSI
58cff70724
Linux/MacOSX: Add help text for GOST89 and Kuznyechik 2016-08-15 01:09:12 +02:00
Mounir IDRASSI
e90e24b30b
Windows: Add support for Streebog (hash) and kuznyechik (encryption) 2016-08-15 01:09:11 +02:00
Mounir IDRASSI
0b2c8b09c6
Windows: Add Magma cipher (GOST-89) 2016-08-15 01:09:10 +02:00
Mounir IDRASSI
460f552a41
Windows Driver: Add extra traces and enable tracing in release build if DEBUG_TRACE defined. 2016-08-15 01:09:10 +02:00
Mounir IDRASSI
f32f65d4f7
Linux/MacOSX: Similar fix to Windows one. Write fake hidden volume header that is created from same data format as legitimate one in order to metigate attack that are able to detect the presence of TrueCrypt/VeraCrypt hidden volumes (reported by Ivanov Alexey Mikhailovich from Moscow, Russia) 2016-08-15 01:09:06 +02:00
Mounir IDRASSI
5b381ce7d7
Windows: Fix vulnerability inherited from TrueCrypt that allows an attacker to detect with high probability if a hidden volume is present. Vulnerability reported by Ivanov Alexey Mikhailovich. 2016-08-15 01:09:05 +02:00
Mounir IDRASSI
3fb2eedab8
Linux: Enable gcc AES-NI built-in functions and adapt Hyper-V AES detection code to gcc. 2016-08-08 00:11:22 +02:00
Mounir IDRASSI
fe31cf5b83
Crypto: Use Hyper-V AES-NI detection workaround when displaying AES hardware availability in GUI. 2016-07-29 22:40:44 +02:00
Mounir IDRASSI
2389561406
Windows: Use new Windows API to mitigate dll hijacking attacks. 2016-07-29 22:40:43 +02:00
Mounir IDRASSI
a7f1ba05b4
Windows: Enhance protection against dll hijacking attacks following new report by Stefan Kanthak. 2016-07-26 00:53:18 +02:00
Mounir IDRASSI
3aaf5c7045
Windows: solve benchmark issue for Whirlpool which caused wrong numbers when a 1GB buffer is chosen. 2016-07-25 08:26:09 +02:00
Mounir IDRASSI
0fca588275
Crypto: Workaround for AES-NI issue under Hyper-V on Windows Server 2008 R2 which masks AES-NI from applications although it is available. 2016-07-24 23:48:07 +02:00
oceanBT
1a8ce8a611 added TiB size unit 2016-06-23 21:53:24 +02:00
Mounir IDRASSI
c5b766969a
Windows:solve compilation error under VC++ 2008 by using extern "C" only when needed. 2016-06-20 12:10:08 +02:00
Mounir IDRASSI
00eb49443a
Crypto: Optimize 64-bit implementation of Whirlpool based on idea from compression function in Botan library. 2016-06-20 12:10:07 +02:00
Mounir IDRASSI
45617a3285
Linux/MacOSX: Solve compilation error linked to Camellia cipher addition. 2016-06-19 00:38:20 +02:00
Mounir IDRASSI
85cab3b85f
Windows Driver: use more reliable way to correctly set path to VC++ 2010 in driver build batch file. 2016-06-18 19:17:19 +02:00
Mounir IDRASSI
e4efd6820a
Windows Driver: add declaration of missing intrinsic _mm_setr_epi32 (to be used by upcoming implementation) 2016-06-18 01:44:48 +02:00
Mounir IDRASSI
2faa1290c0
Windows Driver: save FPU state in 32-bit mode before run Whirlpool SSE implementation to avoid issues (https://msdn.microsoft.com/fr-fr/library/ff565388(v=vs.85).aspx) 2016-06-17 23:52:03 +02:00
Mounir IDRASSI
bdc5782f16
Windows: Better heuristics for evaluating Pre-Boot PRF performance 2016-06-17 19:04:04 +02:00
Mounir IDRASSI
42373efcfd
Windows: Use Visual C++ 2010 instead of Visual C++ 2008. 2016-06-17 15:50:47 +02:00
Mounir IDRASSI
6ae982cccf
Update intrinsic support and cpu detection. 2016-06-17 15:50:46 +02:00
Mounir IDRASSI
27b53c6ff4
Windows: Add Hash and PRF benchmarks to the benchmark dialog. 2016-06-17 15:50:44 +02:00
Mounir IDRASSI
aeb4e8a13a
Windows: make Camellia help link open dedicated documentation page 2016-06-17 15:50:42 +02:00
Mounir IDRASSI
21d567f731
Crypto: make Serpent source code use the same rotl32/rotr32 primitives as the other files. 2016-06-17 15:50:40 +02:00
Mounir IDRASSI
d4e95293d9
Windows: fix compiler warnings 2016-06-17 15:50:39 +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
99c4031d89
Windows: better implementation for support of smart card PIN in command line. Supported now also on Format. 2016-05-29 01:33:18 +02:00
Mounir IDRASSI
a0d8b8a3b7
Linux/MacOSX: Implement passing smart card PIN as command line argument (--token-pin switch) 2016-05-29 01:33:17 +02:00
Mounir IDRASSI
3f806010d2
Windows: fix detection of Visual Studio version to activate assembly optimizations. 2016-05-24 07:34:13 +02:00
AO
2bb419f92c Added two line to enable support for retina ui on retina Macs. 2016-05-20 16:22:42 +02:00
Mounir IDRASSI
635c3b7af7 Readme.txt:Fix wxWidget expected directory for OSX install 2016-05-19 19:39:01 +02:00
Mounir IDRASSI
438753522e Revert "Makefile: fix build under gcc6" 2016-05-13 22:34:33 +02:00
Mounir IDRASSI
fc69e2541e Merge pull request #66 from FadeMind/patch-1
Makefile: fix build under gcc6
2016-05-13 22:28:35 +02:00
Mounir IDRASSI
942cf1635a Linux: Fix gcc-6 compilation errors. 2016-05-13 22:27:16 +02:00
Tomasz Przybył
bf47711ee7 Makefile: fix build under gcc6
Veracrypt for build under GCC6 required using compatibility flag `-std=c++98` against change default C++ frontend in GCC6.

The C++ frontend now defaults to C++14 standard instead of C++98 it has
been defaulting to previously, for compiling older C++ code that might
require either explicitly compiling with selected older C++ standards,
or might require some code adjustment, see
http://gcc.gnu.org/gcc-6/porting_to.html for details.  The experimental
C++17 support has been enhanced in this release.

from: https://gcc.gnu.org/ml/gcc-announce/2016/msg00000.html
2016-05-13 08:39:22 +02:00
David Foerster
5f47d8b6f1 Fix space before tab 2016-05-10 22:24:06 +02:00
David Foerster
11716ed2da Remove trailing whitespace 2016-05-10 22:18:34 +02:00
David Foerster
1910751558 Fix issues with .gitattributes
- Revert accidentally converted binary file
2016-05-10 21:58:40 +02:00
David Foerster
fc37cc4a02 Normalize all line terminators 2016-05-10 20:20:14 +02:00
Mounir IDRASSI
6d61f06a53 Update documentation with latest changes (changelog, wait dialog option). 2016-05-05 16:48:10 +02:00
Mounir IDRASSI
53aabf3f14 Windows: Add option and command line switch to hide waiting dialog when performing operations. 2016-05-05 16:48:05 +02:00
Mounir IDRASSI
fb9a49cb1a Windows: convert some files encoding from UTF-16 to UTF-8 to be similar to other files. 2016-05-05 16:47:59 +02:00
Mounir IDRASSI
fede2cfa18 Windows: Add checkbox in "VeraCrypt Format" to skip Rescue Disk verification during system encryption wizard 2016-05-05 16:47:55 +02:00
Mounir IDRASSI
fc89bf6e2c Windows: Fix compilation error caused by previous commit 2016-05-05 01:12:51 +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
Mounir IDRASSI
0b914c8f5d Merge pull request #55 from davidfoerster/xdg-config-paths
Use XDG_CONFIG_HOME to determine the path of the configuration
2016-05-02 07:19:29 +02:00
Mounir IDRASSI
650d913f51 Add User Guide in OpenDocument format and Update its PDF. 2016-05-02 07:14:59 +02:00
David Foerster
faea63cb3c Use scoped instead of raw pointer 2016-05-01 23:31:07 +02:00
David Foerster
0c51cfa5f6 Reset bogus executable permissions 2016-05-01 23:29:43 +02:00
Mounir IDRASSI
99de8a6dcd Windows: Only use A: and B: for mounting when no other free drive letter available or when explicitly chosen by user. This avoid side effects when mounting volumes as removable media and automatic drive selection (e.g. A: become invisible in explorer after closing all explorer instances although it is still mounted). 2016-04-28 23:06:11 +02:00
Mounir IDRASSI
91e3843732 Windows: resize Volume ID field on favorites dialog to display full value of ID 2016-04-28 23:06:06 +02:00
Mounir IDRASSI
32b42cff14 Windows: Display Volume ID of a System Favorite even if it is disconnected 2016-04-28 23:06:01 +02:00
Mounir IDRASSI
0163dfdcab Windows: Reduce memory usage of Rescue Disk for cascades by 1KB. 2016-04-20 00:48:30 +02:00
Mounir IDRASSI
1396269d57 Windows: Add option to avoid PIM prompt in pre-boot authentication by storing PIM value unencrypted in MBR. 2016-04-20 00:48:20 +02:00
Mounir IDRASSI
bd9105794b Windows: Resize some controls and dialogs to fix text truncation for some non-English languages. 2016-04-20 00:48:10 +02:00
Mounir IDRASSI
e51aafb499 Windows: fix keys parts not shown in system encryption wizard when the display keys checkbox is checked. This occurred when the "Display pool content" in the previous wizard page was unchecked before clicking Next. 2016-04-17 00:59:01 +02:00
Mounir IDRASSI
133afdc9e6 Windows: Add missing GUI modification from previous Volume ID commit 2016-04-17 00:58:58 +02:00
Mounir IDRASSI
f5606a44a6 Windows: Finalize implementation of the new volume ID mechanism. Use SHA-256 instead of SHA-512 to compute volume ID to reduce string size and make more convenient to use. 2016-04-14 08:53:41 +02:00
Mounir IDRASSI
60575d9a49 Windows: start implementation of volume ID mechanism that will be used to identify VeraCrypt disk volumes instead of device name. 2016-04-08 23:53:49 +02:00
Mounir IDRASSI
409c0f79be Windows: allow drag-n-drop of files and receiving Explorer restart message when VeraCrypt running as elevated process. 2016-04-08 23:53:42 +02:00
Mounir IDRASSI
09b22c175b Windows Setup: Add missing Apache files used by the installer 2016-04-08 23:53:36 +02:00
David Foerster
af327b49aa Use wx-provided wrapper around *getenv() 2016-04-01 08:29:17 +02:00
David Foerster
7d7c09e718 Use XDG_CONFIG_HOME to determine the path of the configuration
Adhere to XDG Desktop Specification and use the environment variable
XDG_CONFIG_HOME to determine location of configuration files on *all*
platforms. If it is unset or empty resort to platform-specific defaults.

On Windows and OS X, `wxStandardPaths` provides correct defaults (equal
to the previous hard-coded paths) but on Linux and other Unices
`~/.config/appinfo` would be better than `~/.appinfo`. This means we
treat those platforms as a special case. It also means that we may need
to fall back to the legacy location if it exists but the new location
doesn't.
2016-03-31 12:36:21 +02:00
David Foerster
39eae0e4c3 Remove some trailing whitespace 2016-03-31 12:24:41 +02:00
Mounir IDRASSI
dc1593d60f Windows: reduce CPU usage by caching WNetGetConnection calls result for 2 seconds. 2016-03-24 01:36:12 +01:00
Mounir IDRASSI
1e204da223 Windows: Don't use the foreground setting code if the window is already foreground 2016-03-24 01:36:08 +01:00
Mounir IDRASSI
ece26c7481 Windows: Implement passing smart card PIN as command line argument (/tokenpin switch) when explicitly mounting a volume. 2016-03-24 01:36:03 +01:00