Commit Graph

867 Commits

Author SHA1 Message Date
kavsrf
ac53e293d4
comments and better cleanup
Signed-off-by: kavsrf <kavsrf@gmail.com>
2016-12-26 00:00:02 +01:00
kavsrf
cd6df44d6f
Driver with support of hidden OS
Signed-off-by: kavsrf <kavsrf@gmail.com>
2016-12-26 00:00:02 +01:00
Mounir IDRASSI
a7f8548e2f
Increment version to 1.20 BETA1 (1.20.1) 2016-12-08 17:53:31 +01:00
Mounir IDRASSI
22b9087a01
Windows: use "Temporarily" instead of "Temporary" in the text of a preference option 2016-12-08 17:53:29 +01:00
Mounir IDRASSI
4262d4feb7
Windows: Enhancement to favorites handling. Add PRF/TrueCryptMode fields in favorites management dialog, and use default mount parameters when mounting multiple favorites at once. 2016-12-08 17:53:28 +01:00
Mounir IDRASSI
e131d7a607
Windows: Update driver files of 1.20-BETA1 release 2016-12-07 12:36:10 +01:00
Mounir IDRASSI
9a49bef118
Windows: Update EFI bootloader file from latest VeraCrypt-DCS build that includes fix for Rescue Disk decryption bug. 2016-12-07 12:36:09 +01:00
Mounir IDRASSI
a0eadbd660
Windows: Don't use Twofish x64 assembly implementation for UEFI bootloader (for now, yasm is not integrated in EDKII framework). 2016-12-07 12:36:08 +01:00
Mounir IDRASSI
fb38269c89
Readme: correct instructions about code signing under Mac OSX 2016-12-07 12:36:08 +01:00
Mounir IDRASSI
f10e26fc89
Windows Bootloader: fix compilation error following Twofish code changes. 2016-12-07 12:36:07 +01:00
Mounir IDRASSI
77e665520e
Windows: don't change thread priority when benchmarking encryption algorithms for more accurate results 2016-12-07 12:36:05 +01:00
Mounir IDRASSI
91e0de6145
Crypto: remove unnecessary alignment adjusting code in Serpent since the SIMD implementation works with unaligned data and gain negligible compared to memcpy overhead. 2016-12-07 12:36:05 +01:00
Mounir IDRASSI
263abeee3a
Crypto: Add optimized Twofish assembly implementation for x86_64. 2016-12-07 12:36:04 +01:00
Paul Nijjar
aca478651e Document --truecrypt option 2016-11-28 01:28:13 -05:00
Mounir IDRASSI
181857089b
Linux: Always use "uname -m" to determine processor type. This fixes Slackware build issue. 2016-11-05 23:45:21 +01:00
Mounir IDRASSI
53902284b1
Update User Guide 2016-10-17 18:40:41 +02:00
Mounir IDRASSI
7f63d57f67
Windows: Support EFI system encryption for 32-bit Windows. 2016-10-17 18:40:40 +02:00
Mounir IDRASSI
2ddc374164
Windows: Remove VeraCrypt from EFI boot partition after decrypting the system 2016-10-17 18:40:39 +02:00
Mounir IDRASSI
78d9e5fc3b
Update user guide. 2016-10-17 18:40:38 +02:00
Mounir IDRASSI
ac8d212ce7
Windows: Update driver files of 1.19 release 2016-10-17 18:40:38 +02:00
Mounir IDRASSI
3685ceceae
Windows: Update EFI bootloader file from latest VeraCrypt-DCS build. 2016-10-17 18:40:37 +02:00
Mounir IDRASSI
45d642d4e1
Increment version to 1.19 (1.19.4) 2016-10-17 18:40:35 +02: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
ea2d8ded53
MacOSX: Add yasm binary 2016-10-17 18:40:34 +02:00
Mounir IDRASSI
620133002c
Windows: Update signed drivers. 2016-10-17 18:40:33 +02:00
Mounir IDRASSI
15b6c7d3b7
Implement detection of new CPU features: AVX2 and BMI2 2016-10-17 18:40:33 +02:00
Mounir IDRASSI
2edd12fe22
Optimize performance of Twofish C implementation. 2016-10-17 18:40:32 +02:00
Mounir IDRASSI
a2b008c747
MacOSX: remove unused variable 2016-10-17 18:40:32 +02:00
Mounir IDRASSI
0f7ef7dcd7
Linux/MacOSX: cleaner support for SSE compiler switches 2016-10-17 18:40:31 +02:00
Mounir IDRASSI
ea5902514a
Update documentation and increment version to 1.19 BETA3 (1.19.3) 2016-10-17 18:40:28 +02:00
Mounir IDRASSI
d5e3488894
Windows: solve text truncation in keyfiles dialog for some languages. 2016-10-17 18:40:28 +02:00
Mounir IDRASSI
233d18d351
Windows: Add latest DCS bootloader binaries built against latest sources 2016-10-17 18:40:27 +02:00
Mounir IDRASSI
5547a605bd
Windows EFI: don't use optimized Serpent implementation for EFI bootloader because lack of C++ support in EDKII framework 2016-10-17 18:40:26 +02:00
Mounir IDRASSI
0ac4009720
Windows: Fix failure to access EFS data on VeraCrypt volumes under Windows 10 but supporting undocumented IOCTL. 2016-10-17 18:40:25 +02:00
Mounir IDRASSI
2a10640f42
Add missing fast Serpent implementation sources. 2016-10-17 18:40:25 +02:00
Mounir IDRASSI
6e94286b39
Windows Bootloader: fix issue in copy process of hidden OS caused by use of wrong PIM. 2016-10-17 18:40:25 +02:00
Mounir IDRASSI
041bc9dc0b
Windows: Fix false-positive detection of Evil-Maid attack during creation process of hidden OS by excluding the configuration byte in the boot sector whose value changes depending on the content. 2016-10-17 18:40:24 +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
7ff3c5d108
Linux/MacOSX: fix error in Makefile caused by erroneous extra character 2016-10-17 18:40:23 +02:00
Mounir IDRASSI
e8626ca74a
Windows Setup: fix compilation error caused by change in declaration of function RestartComputer 2016-10-17 18:40:22 +02:00
Mounir IDRASSI
34f3c055ed
Windows: in function CreateVolumeHeaderInMemory, properly unlock and erase sensitive stack memory. 2016-10-17 18:40:22 +02:00
Mounir IDRASSI
8e2c5ca45e
Securely erase and protect buffer holding decrypted volume header. 2016-10-17 18:40:21 +02:00
Mounir IDRASSI
7d6347f468
MacOSX: remove MacFUSE dependency and link against OSXFuse library. Now, only standard OSXFuse install is needed without MacFUSE compatibility option. 2016-10-17 18:40:21 +02:00
Mounir IDRASSI
e362d804b0
Windows: Perform Shutdown instead of Reboot during Pre-Test of UEFI system encryption in order to detect machines where changes to EFI boot don't persist after shutdown. 2016-10-17 18:40:20 +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
57ce7aab7b
Use properly aligned memory in code using Streebog hash implementation that uses SSE. 2016-10-17 18:40:19 +02:00
Mounir IDRASSI
3e029b0dde
Update copyrights in legal notices and license file. 2016-10-17 18:40:19 +02:00
Mounir IDRASSI
5dfdc1b4a5
Windows: fix compilation warning 2016-10-17 18:40:18 +02:00
Mounir IDRASSI
eb3e923091
Windows MBR Bootloader: compress Camellia Rescue Disk bootloader to reduce size ( < 13312 bytes), allowing a backup copy to be included in the Rescue Disk. 2016-10-17 18:40:18 +02:00
Mounir IDRASSI
4a435870f6
Windows: exclude unused libzip source files from build. 2016-10-17 18:40:17 +02:00
Mounir IDRASSI
f40755fd7c
Windows Setup: correct call to CryptAcquireContext to use memory only container for random generation and remove use of srand/rand (if CryptGenRandom fails which is very unlikely, we just use one color). 2016-10-17 18:40:17 +02:00
Mounir IDRASSI
3c09765208
Windows: check for malloc failures and report error in such cases. 2016-10-17 18:40:17 +02:00
Mounir IDRASSI
b65eabe23d
Add test vectors for Kuznyechik and GOST89 (the later is deprecated) 2016-10-17 18:40:16 +02:00
Mounir IDRASSI
d18ecc1a37
Crypto: deprecate GOST89 so that it can't be used to create new volumes. Keep only for existing volumes. 2016-10-17 18:40:15 +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
77d070fe73
Windows Bootloader: for MBR bootloader, reset position pointers to keystroke buffer after password or PIM is entered to avoid leaking length information 2016-10-17 18:40:14 +02:00
Mounir IDRASSI
183cbc087a
Windows Driver: Erase sensitive boot memory before throwing fatal exception 2016-10-17 18:40:14 +02:00
Mounir IDRASSI
194b641ebd
Crypto: remove specific PBKDF2 optimization for block index encoding (except in 16-bit bootloader) in order to make code clearer and avoid bad usage in the future if this implementation is used to generate more bytes than today. 2016-10-17 18:40:13 +02:00
Mounir IDRASSI
7c154a3f26
Crypto: clarify PRF code by removing unused parameters in functions hmac_XXX_internak and derive_u_XXX 2016-10-17 18:40:13 +02:00
Mounir IDRASSI
b81ec7d7e0
Crypto: make HMAC-SHA512 code more clear by removing the memory usage optimization and make field k of hmac_sha512_ctx big enough to hold computation results instead of relying on the field u that follows it. 2016-10-17 18:40:12 +02:00
Mounir IDRASSI
479925f403
Readme: remove PKCS#11 headers as requirement since they are included in VeraCrypt source tree. 2016-10-17 18:40:12 +02:00
kavsrf
17eeaa43cf
GOST89 parameters swap (6.3)
Cached boot password added
2016-10-17 18:40:11 +02:00
Mounir IDRASSI
9b1c447df1
Windows: use zlib compress/uncompress functions directly in the Setup instead of relying on external gzip program. 2016-10-17 18:40:11 +02:00
Mounir IDRASSI
4dacedd9cc
Windows: Replace XZip/XUnzip library with zlib and libzip and include the sources of these library into VeraCrypt source tree. 2016-10-17 18:40:06 +02:00
Mounir IDRASSI
335f17b72f
Windows: in case of In-Place encryption, encrypt random data instead of existing data when filling unused space like the other cases. 2016-09-11 13:12:45 +02:00
Mounir IDRASSI
83d3948bc8
Increment version to 1.19 BETA2 (1.19.2) 2016-08-21 13:44:03 +02:00
Mounir IDRASSI
7fac2e89b3
Windows: Update driver files of 1.19 BETA2 2016-08-21 13:44:02 +02:00
Mounir IDRASSI
e5bb77e378
Windows: force the update of rescue disk from version 1.18 because of the fixes in EFI bootloader 2016-08-21 13:44:01 +02:00
Mounir IDRASSI
8209a30a6b
Windows Boot: About EFI Bootloader files linked against latest sources 2016-08-21 13:44:01 +02:00
Mounir IDRASSI
22e4a8a252
Windows: fix crash caused by previous Streebog fix. 2016-08-21 13:44:00 +02:00
Mounir IDRASSI
49a8ff59dc
Windows: Fix crash on 32-bit machines when using Streebog on a CPU that supports SSE4.1. 2016-08-20 07:16:42 +02:00
Mounir IDRASSI
d076bb5133
Windows: Add driver files of version 1.18 that have been signed by Microsoft (IDRIX signature is still present) 2016-08-19 09:59:19 +02:00
Mounir IDRASSI
a63ae58596
Linux: don't use SSE/AES switched of gcc if the architecture is not x86 or x64 (for example ARM). 2016-08-19 01:11:51 +02:00
Mounir IDRASSI
7ad75a81ca
Windows: Fix compilation error caused by latest MacOSX change. 2016-08-17 22:38:14 +02:00
Mounir IDRASSI
f84dc7b78f
Windows Boot: update EFI Boot Loader file after correction made to wrong password error message. 2016-08-17 22:18:03 +02:00
Mounir IDRASSI
882525b879
Add reference of new algorithms introduced in version 1.18 (Camellia, Streebog, Kuznyechik and GOST-89) 2016-08-17 22:18:02 +02:00
Mounir IDRASSI
24e233ea2e
Update License.txt with additional copyrights. 2016-08-17 22:18:01 +02:00
Mounir IDRASSI
c6d5b30704
MacOSX: fix compiler warning about ALIGN macro being already defined 2016-08-17 22:18:01 +02:00
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
Mounir IDRASSI
6738cba617 Windows: Better alignment for Group Boxes in favorites management dialog 2016-03-20 01:26:32 +01:00
Axel Köllhofer
1290e7836f Linux/MacOSX: Fix build error when using strict wxWidgets library that doesn't allow implicit conversions. 2016-03-20 01:26:28 +01:00
Mounir IDRASSI
646679da4d Linux: Completely fix gcc-5 "Invalid characters encountered" issue on mount. It was caused by an issue of gcc-5 STL implementation that is causing char* pointers retrieved from std::string using c_str method to become invalid in the child of a child process (after two fork calls). The workaround is to first copy the std:string values in the child before calling the second fork. 2016-03-18 16:27:29 +01:00
Mounir IDRASSI
fd26f49958 Linux: fix mount failure with "Invalid characters encountered" error when building using gcc-5 by disabling the new C++ ABI. For this to work, wxWidgets static library must be built and used by VeraCrypt by specifying WXSTATIC=1 in make command line. 2016-03-17 14:09:59 +01:00
Mounir IDRASSI
8bfc7f1caa Windows: Correctly disable/enable the "Display PIM" checkbox in the favorites configuration dialog 2016-03-17 14:09:55 +01:00
Mounir IDRASSI
fffb3bde7a Linux: fix compilation error 2016-02-22 07:57:03 +01:00
Mounir IDRASSI
facfda73eb Linux: fix mount issue on Fedora 23 by forcing the creation of a default loop device. 2016-02-22 00:34:36 +01:00
Mounir IDRASSI
50f85b4512 Windows bootloader: try to fix boot issues on some machines by increasing required memory by 1 KiB 2016-02-22 00:34:33 +01:00
Mounir IDRASSI
e175adcd46 Windows: correct static inline declaration to solve Windows compilation error 2016-02-22 00:34:30 +01:00
Mounir IDRASSI
0c0ea60b77 Linux & MacOSX: better implementation for TC_THROW_FATAL_EXCEPTION to use __builtin_trap when available. 2016-02-21 10:59:16 +01:00
Mounir IDRASSI
87df2fd2fc Crypto: update Whirlpool implementation using latest code from Crypto++. 2016-02-21 10:59:13 +01:00
Mounir IDRASSI
faf00ca1e0 MacOSX: Correctly detect newer versions of OSXFuse 2016-02-21 10:59:11 +01:00
Mounir IDRASSI
b331668c06 Windows:Correct explanatory text in VeraCrypt Expander to reader "Mount" instead of "Start". 2016-02-20 02:05:48 +01:00
Mounir IDRASSI
8e8e273e11 Windows: Correctly remove driver file veracrypt.sys during uninstall on Windows 64-bit. Implement deleting locked files after machine reboot. 2016-02-20 02:05:45 +01:00
Mounir IDRASSI
3c87c095c3 Windows: use buffer with known maximum length as input to FakeDosNameForDevice 2016-02-16 23:21:45 +01:00
Mounir IDRASSI
26e2d22d62 MacOSX: increment bundle version to 1.17.22 2016-02-14 10:29:58 +01:00
Mounir IDRASSI
a144e2167d MacOSX: increment installer version to 1.17. 2016-02-14 09:15:13 +01:00
Mounir IDRASSI
2b4003cc81 Increment version to 1.17. Update user guide PDF file. 2016-02-14 09:03:13 +01:00
Mounir IDRASSI
1f87e64127 Windows: handle rare case where size of disk can't be retrieved using IOCTL_DISK_GET_PARTITION_INFO_EX. use IOCTL_DISK_GET_DRIVE_GEOMETRY in such case and add workaround to display correctly partitions in dialog even if disk size is not available. 2016-02-13 22:14:40 +01:00
Mounir IDRASSI
d7d4c98775 Windows: Add colors (Red, Yellow, Green) to the collected randomness indicator depending on how much entropy was gathered. Code re-factoring. 2016-02-12 00:04:31 +01:00
Mounir IDRASSI
89d238bb32 Window: fix regression that caused only a single keyfile to be taken into account. 2016-02-12 00:04:28 +01:00
Mounir IDRASSI
7fee9a04c4 Windows: Avoid updating configuration after opening keyfile file dialog when /quit switch used without preferences parameter. 2016-02-12 00:04:25 +01:00