Commit Graph

2391 Commits

Author SHA1 Message Date
Mounir IDRASSI
95bc7d55fe
HTML Documentation: Update Russian translation by Dmitry Yerokhin 2023-10-09 00:24:23 +02:00
Mounir IDRASSI
35135cd1fb
Windows: Fix expansion of volumes on devices with sector size!=512 (by skl0n6) 2023-10-08 15:56:42 +02:00
kovalev0
847abb23f0
Fix warnings and throwing an exception instead of ignoring the error (#1229)
* EMVCard.cpp: ArrayToHexWideString: prohibit conversion of a string constant

../Common/EMVCard.cpp: In function 'std::wstring VeraCrypt::ArrayToHexWideString(con
st unsigned char*, size_t)':
../Common/EMVCard.cpp:28:43: warning: ISO C++ forbids converting a string constant
to 'wchar_t*' [-Wwrite-strings]
   28 |                 static wchar_t* hexChar = L"0123456789ABCDEF";
      |                                           ^~~~~~~~~~~~~~~~~~~

Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org>

* EMVCard.cpp: ArrayToHexWideString: fix of the comparison of different types

../Common/EMVCard.cpp: In function 'std::wstring VeraCrypt::ArrayToHexWideString(con
st unsigned char*, size_t)':
../Common/EMVCard.cpp:32:43: warning: comparison of integer expressions of different
 signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
   32 |                         for (int i = 0; i < cbData; i++)
      |                                         ~~^~~~~~~~

Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org>

* SecurityTokenKeyfilesDialog.cpp: removed initialization of an unused variable

Forms/SecurityTokenKeyfilesDialog.cpp:58:24: warning: unused variable 'i' [-Wunused-
variable]
   58 |                 size_t i = 0;
      |                        ^

Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org>

* Core/Unix: throwing an exception instead of ignoring the error

Fixes: 5a6b445f ("fix warnings and UB (#1164)")
Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org>

---------

Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org>
Co-authored-by: Vasiliy Kovalev <kovalev@altlinux.org>
2023-10-08 15:36:15 +02:00
Mounir IDRASSI
c91e5792ef
Windows: Modified implementation for Secure Desktop handling to overcome Windows 11 issues
We use only alphanumeric characters for the name in addition to the '_' character
We ensure the random desktop name doesn't already exist
We create the random desktop on the Secure Desktop thread and we look over SwitchDesktop until it works.
We call SetThreadDesktop (hOriginalDesk) in main thread once we finish
2023-10-08 01:55:07 +02:00
Mounir IDRASSI
22ac25dde7
Harmonize copyright date and statements across various files 2023-10-06 00:13:28 +02:00
Mounir IDRASSI
42857b4930
Update various copyright dates 2023-10-05 09:07:35 +02:00
sardanap
01b49a2017
fix for corrupted icons (#1226) 2023-10-05 00:08:07 +02:00
Mounir IDRASSI
af5d91387e
Translations: update Russian translation file and documentation by Dmitry Yerokhin. 2023-10-03 00:19:11 +02:00
Mounir IDRASSI
d6964b38d3
Documentation: Fix wrong version and URL of Language Pack file. 2023-10-03 00:18:07 +02:00
Mounir IDRASSI
bd843ffa05
Linux: Fix compilation error on some 32-bit machines. 2023-10-02 18:02:33 +02:00
Jertzukka
5b5af85dbf
Fix Finnish language pack parsing issue (#1222) 2023-10-02 15:43:49 +02:00
TigerxWood
34407f4b31
Update Language.ro.xml (#1221) 2023-10-02 09:54:25 +02:00
Mounir IDRASSI
8f8c871ae3
Fix typo in Release Notes 2023-10-02 09:16:26 +02:00
Mounir IDRASSI
9d36f15bfc
MacOS: Fix Blake2s SSE 4.1 not being built
For now, we set GCC_GTEQ_430 to 1 to each OS. Later we will always
suppose that gcc is newer than 4.3 and remove this logic.
2023-10-01 18:52:55 +02:00
Mounir IDRASSI
8eb232a4a3
MacOS: set minimum target to OSX 12. Fix About menu not working.
The modification to Forms.cpp is temporary until we find a better
approach
2023-10-01 18:51:20 +02:00
Mounir IDRASSI
19fa1f8684
Linux: use "-std=c++11" for gcc 4.8 and adapt code to old compilers 2023-10-01 11:06:46 +02:00
Mounir IDRASSI
da49ebb927
Linux: Better detection of gcc version to correctly enable c++11
This allows to build correctly under CentOS 6 and CentOS 7
2023-10-01 00:48:57 +02:00
Mounir IDRASSI
0df7976e32
XML translations: increment version to 1.26.7 in Simplified Chinese file 2023-09-30 15:12:20 +02:00
风之暇想
a69921eaff
Update Language.zh-cn.xml (#1206)
1、翻译
2、统一加载按钮的翻译
2023-09-30 15:11:31 +02:00
Mounir IDRASSI
54ef22ce0a
XML translations: downgrade version of Simplified Chinese to be able to merge PR 2023-09-30 15:09:08 +02:00
Mounir IDRASSI
8d87b6a778
Windows: Update MBR bootloader for version 1.26.7 2023-09-30 11:24:05 +02:00
Mounir IDRASSI
53cbe028cd
Increment version to 1.26.7. Set release date to October 1st. Update Windows signed driver files. 2023-09-30 11:20:46 +02:00
Mounir IDRASSI
b96ae29abd
Documentation: Add documentation for RAM Encryption 2023-09-30 11:08:59 +02:00
Mounir IDRASSI
c0f8179f2a
Windows: enhancement to RAM encryption
- use a more standard-looking memory value tag instead of fully random one that will look suspicious and outstanding
 - If we fail to allocate 1MiB for derivation area, we device the size by two in a loop until we succeed. This is better than falling back directly to 8KiB size
 - Better method to derive actual encryption key: instead of simply duplicating 128bit key value, we combine a xor addition and self-encryption to build a 256-bit key
 - use both encID and pbKeyDerivationArea to derive IV for encryption and not only endID
2023-09-29 22:26:54 +02:00
Mounir IDRASSI
5192eac233
Windows Driver: Use KeQueryInterruptTimePrecise on Windows 8.1 and newer as better seed for internal RNG compared to KeQueryInterruptTime 2023-09-29 22:14:43 +02:00
Mounir IDRASSI
5234c479a4
Translations: update Russian translation file by Dmitry Yerokhin. 2023-09-29 01:50:24 +02:00
Mr-Update
ad4e5b3198
Update Language.de.xml (#1213) 2023-09-27 09:21:42 +02:00
Mounir IDRASSI
662b8d1b2f
Windows: during Setup, and if VeraCrypt already installed, open online help only if PC connected to Internet 2023-09-26 01:22:24 +02:00
Mounir IDRASSI
4cb4ec3500
Documentation: Mention Upgrade/Repair/Reinstall case in Memory Protection help page 2023-09-26 01:20:34 +02:00
nkh0472
c5e5e44e44
Update Language.zh-cn.xml (#1205)
* Update Language.zh-cn.xml

* Update Language.zh-cn.xml
2023-09-25 09:10:30 +02:00
Matthaiks
c4b3bc7f97
Update Polish translation (#1210) 2023-09-25 08:57:18 +02:00
Patriccollu
1caf587b2a
Update Corsican translation on 2023-09 (3rd) (#1211) 2023-09-25 08:56:56 +02:00
Mounir IDRASSI
7f902227b0
Documentation: Add entry in FAQ about ghost drive that maybe listed by VeraCrypt on Windows
Behavior report in Github: https://github.com/veracrypt/VeraCrypt/issues/1212.
There is also a Reddit thread about it: https://www.reddit.com/r/VeraCrypt/comments/r9sg11/veracrypt_showing_a_hdd_which_does_not_exist/

Closes #1212
2023-09-24 22:24:21 +02:00
Mounir IDRASSI
bbced81c6e
Documentation: mention that OS reboot is required after changing memory protection status 2023-09-24 21:53:29 +02:00
Mounir IDRASSI
718f11d9c3
Windows: make Setup correctly manage option to disable memory protection during upgrade 2023-09-24 12:48:34 +02:00
DLL125
2363506e09
Libzip 1.10.1 (#1209)
Updated to the latest version for the VeraCrypt 1.26.6 release.
2023-09-24 10:18:54 +02:00
Mounir IDRASSI
937c5cd5cd
Windows: always open online help in case of Setup because local help may be outdated 2023-09-24 01:41:35 +02:00
Mounir IDRASSI
76c64d49ea
Windows: Add tooltip message and help button for new option to disable memory protection
Also a dedicated page in the documentation was added for it.
2023-09-24 01:26:02 +02:00
Mounir IDRASSI
07c827c849
Language XML files: update Russian XML file by Dmitry Yerokhin. 2023-09-23 10:08:57 +02:00
Mr-Update
5a6a7a416f
Update Language.de.xml (#1207) 2023-09-22 22:44:13 +02:00
Mounir IDRASSI
91b3f0af0c
Linux/MacOSX: Increment packaging version to 1.26.6 2023-09-22 22:23:13 +02:00
Mounir IDRASSI
81c87a8f0b
Windows: Load Riched20.dll to use RichEdit control. Use InitCommonControlsEx instead of InitCommonControls 2023-09-21 22:42:35 +02:00
Matthaiks
8ccf4f98f0
Update Polish translation (#1204) 2023-09-21 09:08:37 +02:00
Mounir IDRASSI
d02734dfaa
Update Release Notes. Increment version to 1.26.6. 2023-09-21 01:31:35 +02:00
Mounir IDRASSI
273d285c5c
Documentation: Update the list of supported OSs 2023-09-21 01:28:45 +02:00
Mounir IDRASSI
340b773ed2
Translations: Add missing entries to Estonian XML file 2023-09-21 01:27:41 +02:00
Mounir IDRASSI
0fe6ef22f5
Translations: Add newly added string entry IDC_DISABLE_MEMORY_PROTECTION 2023-09-21 01:21:30 +02:00
Mounir IDRASSI
6c7e055f3f
Windows: use separate name for SetProcessMitigationPolicy function point. Remove unneeded boolean 2023-09-21 01:16:11 +02:00
Patriccollu
9e49a32942
Update Corsican translation on 2023-09 (2nd) (#1203) 2023-09-20 14:22:27 +02:00
Thomas De Rocker
5f54fb27cb
Update Language.nl.xml (#1202) 2023-09-20 14:21:45 +02:00