Compare commits

...
Author SHA1 Message Date
Mounir IDRASSI 81c87a8f0b Windows: Load Riched20.dll to use RichEdit control. Use InitCommonControlsEx instead of InitCommonControls 2023-09-21 22:42:35 +02:00
MatthaiksandGitHub 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
PatriccolluandGitHub 9e49a32942 Update Corsican translation on 2023-09 (2nd) (#1203) 2023-09-20 14:22:27 +02:00
Thomas De RockerandGitHub 5f54fb27cb Update Language.nl.xml (#1202) 2023-09-20 14:21:45 +02:00
Mounir IDRASSI 0f3ae268a4 Windows: Add setting in main UI and setup wizard to disable memory protection
This can be useful for users who need Accessibility software that may not work when memory protection is active in VeraCrypt
2023-09-20 09:39:22 +02:00
Mounir IDRASSI b1657e88e4 Windows Security: make memory protection enabled by default. Add process mitigation (ASLR, Dynamic code, extension points)
Memory protection can be disabled using registry value "VeraCryptEnableMemoryProtection" under the key "HKLM\SYSTEM\CurrentControlSet\Services\veracrypt"
2023-09-18 00:13:52 +02:00
Mounir IDRASSI fb8ae98c73 Windows: use same manifest structure for Expander as in Mount and Format 2023-09-18 00:07:10 +02:00
RobO 3945andGitHub 94fc04f806 Update Language.it.xml (#1200)
Some italian translation update. I'm a native italian.
2023-09-16 00:00:54 +02:00
TigerxWoodandGitHub 1ff56db112 Update Language.xml (#1199)
Corrected small typo
2023-09-15 23:49:08 +02:00
TigerxWoodandGitHub aa8dbc8b88 Update Language.ro.xml (#1198) 2023-09-15 23:48:37 +02:00
MatthaiksandGitHub 9a355b7ffd Update Polish translation (#1197) 2023-09-11 07:38:09 +02:00
Mounir IDRASSI d2f2defca9 Windows: replace CoInitialize calls with CoInitializeEx 2023-09-11 00:03:28 +02:00
Mounir IDRASSI aa311a6fad Windows: Indicate in manifest files that support starts from Windows 7 2023-09-10 23:57:53 +02:00
Mounir IDRASSI 83f3839b37 Translations: Add new field IDC_LINK_KEYFILES_EXTENSIONS_WARNING to language files 2023-09-10 09:37:25 +02:00
nkh0472andGitHub d878b0fe1f Update Language.zh-cn.xml (#1195)
for commit f15052e68d
2023-09-10 09:22:31 +02:00
PatriccolluandGitHub 0180bd53a7 Update Corsican translation on 2023-09 (#1196) 2023-09-10 09:22:01 +02:00
Mounir IDRASSI a8972c6569 Documentation: Indicate in System Encryptiom documentation that pasting passwords from clipboard is disabled during System Encryption wizard. 2023-09-09 18:04:18 +02:00
Mounir IDRASSI a903049858 Linux/macOS: simplify logic of handling /dev/random reading failure (proposed by @Lavode in #1187)
Fixes #1187
2023-09-08 09:49:07 +02:00
Mounir IDRASSI f15052e68d Windows: Add link in keyfiles dialog to documentation page for risks of third-party file extensions usage. 2023-09-08 09:38:51 +02:00
TigerxWoodandGitHub d74ea60436 Update Language.xml (#1192)
Corected a typo
2023-09-08 09:34:44 +02:00
TigerxWoodandGitHub dbda4d0705 Update Language.ro.xml (#1194) 2023-09-08 09:33:51 +02:00
Mounir IDRASSI 0ad5c43eb4 Windows: remove recommendation of keyfiles files extensions and update documentation to mention risks of third-party file extensions.
This commit also adds red color to the warning text about keyfiles in keyfiles dialogs.
2023-09-06 01:42:23 +02:00
JertzukkaandGitHub 609a638499 Update Language.fi.xml (#1190)
* Update Langugage.fi.xml

* Update Language.fi.xml

* Update Language.fi.xml

* Correct merge mishap

* Update Language.fi.xml

* Update Language.fi.xml

* Update Language.fi.xml

* Update Language.fi.xml

* Update Language.fi.xml

* Update Language.fi.xml

* normalize

* Update Language.fi.xml

* Update Language.fi.xml

* Update Language.fi.xml

* Update Language.fi.xml

* Update Language.fi.xml

* Update Language.fi.xml

* Update Language.fi.xml

* Update Language.fi.xml

* Update Language.fi.xml

* Update Language.fi.xml

* Update Language.fi.xml

* Update Language.fi.xml

* Update Language.fi.xml

* Update Language.fi.xml

* Update Language.fi.xml

* Update Language.fi.xml

* Update Language.fi.xml
2023-09-04 00:08:31 +02:00
Mounir IDRASSI 2a6726b00e Windows: Replace legacy file/dir selection APIs with modern IFileDialog interface
We remove usage of GetOpenFileNameW/GetSaveFileNameW/SHBrowseForFolderW which are deprecated by Microsoft
2023-09-03 23:42:41 +02:00
Mounir IDRASSI 201d09ff5a Windows: remove legacy code (XP, Vista). Simplify code since Windows 7 is now minimal OS version. 2023-09-03 16:47:41 +02:00
Mounir IDRASSI d68b9546bd Windows: simpler and more robust safe dll loading combined with delay loading thanks to Windows 7 being minimum supported version.
We also block execution on Windows versions older than Windows 7.
A lot of code was removed thanks to this.
2023-09-03 00:58:34 +02:00
Mounir IDRASSI 7b48d16fbd HTML Documentation: Update Russian translation by Dmitry Yerokhin 2023-09-03 00:50:37 +02:00
Mounir IDRASSI 87834fb330 Language XML files: update Russian XML file by Dmitry Yerokhin. 2023-09-03 00:48:41 +02:00
Mounir IDRASSI 14fee0da1a Linux/macOS: preserve unknown entries in configuration file
This helps to preserve unknown entries that may be used by future
versions of VeraCrypt (forward compatibility) or entries used by old
versions that were removed from current version (backward compatibility)
2023-09-02 01:37:52 +02:00
Mounir IDRASSI 8e2329bf9e Language XML files: update Czech translation (contributed by Lagardere) 2023-08-30 11:33:12 +02:00
TigerxWoodandGitHub d63a7ea0af Update Language.ro.xml (#1188)
Corrected a typo.
2023-08-30 10:28:50 +02:00
TigerxWoodandGitHub 84a7e1f6ff Update Language.ro.xml 1.26.5 (#1184)
* Update Language.ro.xml 1.26.5

* Update Language.ro.xml
2023-08-29 09:23:28 +02:00
Unit 193andGitHub d49c75370a Allow cross compilation. (#1182) 2023-08-21 11:24:25 +02:00
Mounir IDRASSI fd0d2e3353 Windows: Set minimum build target to Windows 7 2023-08-20 09:59:47 +02:00
Mounir IDRASSI 0dc4754c63 Windows: delay load bcrypt.dll to reduce startup dependency loading until setting safe dll loading 2023-08-20 09:57:38 +02:00
DLL125andGitHub 4f92ba5484 Update zlib to latest (#1181)
* Update zlib to latest

* Update copyright

Updated copyright of zlib.
2023-08-20 09:21:54 +02:00
Mounir IDRASSI 89d340271c Update Release Notes with latest Linux fix for hidden volume in CLI 2023-08-20 00:28:06 +02:00
Mounir IDRASSI 34ef189a92 Linux: try use IOCTL BLKGETSIZE64 to get size of device instead of lseek 2023-08-19 20:47:43 +02:00
Mounir IDRASSI 9d8afdad93 Linux: Fix wrong max size for hidden volume in CLI direct mode creation
There was a logical bug that made the code check the filesystem size of
the device path "/dev" instead of using the actual size of the device

Fix #1180
2023-08-19 20:44:32 +02:00
cjl3230andGitHub ed70b673d5 Update Language.zh-cn.xml (#1177)
https://github.com/veracrypt/VeraCrypt/blob/d3ecffac3b46abb0d6a91a82838c05b11fd6fe0c/Translations/Language.zh-cn.xml#L1608C89-L1608C89
Missing character n after backslash
2023-08-16 09:19:40 +02:00
Mounir IDRASSI d3ecffac3b Fix typo in Release Notes 2023-08-16 01:25:10 +02:00
Mr-UpdateandGitHub a22cc2f072 Update Language.de.xml (#1176) 2023-08-16 01:02:02 +02:00
Mounir IDRASSI 9bd6a46785 Windows: Update MBR bootloader files to 1.26.5 build 2023-08-15 10:17:04 +02:00
Mounir IDRASSI e47f6e900c Update Release Notes and set date of 1.26.5 to August 15th 2023-08-15 09:48:51 +02:00
nkh0472andGitHub 462140f144 Update Language.zh-cn.xml (#1175) 2023-08-14 22:18:36 +02:00
PatriccolluandGitHub 33c47c534c Update Corsican translation on 2023-08 (#1174) 2023-08-14 22:16:47 +02:00
Mounir IDRASSI d555ecf3c9 Translation XML: reintroduce new entry to zh-cn xml file 2023-08-14 09:50:46 +02:00
nkh0472andGitHub 53235b5db4 Update Language.zh-cn.xml (#1134)
* Update Language.zh-cn.xml

* Update Language.zh-cn.xml

* Update Language.zh-cn.xml

* Update Language.zh-cn.xml

* Update Language.zh-cn.xml

unify the colon symbol ``:`` to Chinese style ``:``

* Update Language.zh-cn.xml

unify symbols ``.`` ``,`` ``;`` to Chinese style ``。`` ``,`` ``;``

* Update Language.zh-cn.xml

* Update Language.zh-cn.xml

fix `:` in the bug report template
2023-08-14 09:48:55 +02:00
Mounir IDRASSI 4e6268e5d5 Translation XML: remove new entry for zh-cn to merge GH pull request without conflict
This avoids using a merge strategy that would have polluted git history (no squash possible)
2023-08-14 09:48:06 +02:00
MatthaiksandGitHub 2a0efe9c41 Update Polish translation (#1173) 2023-08-14 09:11:06 +02:00
Mounir IDRASSI fcf0cb94f1 Increment version to 1.26.5. Update signed Windows drivers. 2023-08-14 01:45:37 +02:00
Mounir IDRASSI ed53857b2f Translations: Add new entry "PARTIAL_SYSENC_MOUNT_READONLY" 2023-08-14 01:11:27 +02:00
Mounir IDRASSI f84d235cf1 Windows: Implement support for mounting partially encrypted system partitions
For now, we force ReadOnly mounting for such partitions.
2023-08-13 22:50:37 +02:00
Mounir IDRASSI 8c7962bda7 Windows: Better way to enable required privileges for FastCreate Options
If we can set required privilege, we ask the user using UAC to enable them.
2023-08-13 00:56:49 +02:00
JertzukkaandGitHub eb2f5f33c9 Linux: Flush stdout explicitly when reading stdin (#1172)
Rules of automatic flushing of stdout buffer is implementation-defined
behaviour. In glibc this is automatically flushed, but we can't rely
on it for other implementations such as musl.
2023-08-12 09:18:57 +02:00
JertzukkaandGitHub 5c9e135c9e Linux: Typo fix and consistency in help command (#1169) 2023-08-12 09:17:18 +02:00
Mounir IDRASSI f48c21a54b Documentation: Update Windows build guide to mention Windows Test Mode and steps to avoid signature check failures 2023-08-10 01:27:57 +02:00
Mounir IDRASSI c15b84b32d Windows: Fix failure creating Traveler Disk caused by outdated hardcoded value of MS certificate
We also rename the variables gpbSha256CodeSignCertFingerprint and gpbSha256MSCodeSignCertFingerprint to gpbSha512CodeSignCertFingerprint and gpbSha512MSCodeSignCertFingerprint respectively to reflect the fact that they are actually SHA512 hash values and not SHA256 ones.
2023-08-10 01:23:24 +02:00
Mounir IDRASSI 0e32e5f398 FAQ: Add entry for solving Operation no permitted issue on macOS 2023-08-09 00:59:00 +02:00
TigerxWoodandGitHub 64891d08a8 Update Language.ro.xml (#1168)
* Update Language.ro.xml

* Update Language.ro.xml

Final version
2023-08-09 00:48:48 +02:00
Deniz TürkogluandGitHub 8f3082c3ef Call EnsureVisible() for OSX in OnActivate (#1167)
When using multiple monitors, the resolution can change in OSX,
during plug-in/off off the display(s). To avoid window becoming
non-usable, there is EnsureVisible, that is called in several
places.

However, if you minimize VeraCrypt on the bigger screen, and
restore it in the main screen of a MacBook, after unplugging, the
window will become unusable (unless you know that clicking 'About'
calls EnsureVisible :-)).

Call EnsureVisible OnActivate so MainFrame is always functional
across screens, even when minimized.
2023-08-07 22:53:19 +02:00
Mounir IDRASSI fba1943d87 Linux/macOS: Add explicit include of <sys/types.h> to define ssize_t
Some systems (e.g. Alpine Linux) seems to require this.
2023-08-06 10:28:42 +02:00
Mounir IDRASSI dab261c694 Linux: capture both stdout and stderr in popen call to avoid printing anything
If an error happens, error message will be read from popen pipe and so
libpcsclite.so will not be found. This is the same outcome as when
stdout is empty.
2023-08-06 01:06:19 +02:00
Mounir IDRASSI 16bb1de3a6 Security: ensure that XTS primary key is different from secondary key when creating volumes
This is unlikely to happen thanks to random generator properties but we much add this check to prevent an attack described in page 3 of https://csrc.nist.gov/csrc/media/Projects/crypto-publication-review-project/documents/initial-comments/sp800-38e-initial-public-comments-2021.pdf
2023-08-05 10:55:46 +02:00
Mounir IDRASSI e8f83544ea Windows: Fix false positive detection of new device insertion when clear keys option is enable
When this option is enabled, we first build the list of currently inserted devices then we start listening to insertion events.
When a device insertion occurs, we check if this device is on our list and if yes, we ignore its insertion.
We also ignore devices whose Device ID starts with "SWD\" and "ROOT\" since these are not real devices.
2023-08-05 00:45:39 +02:00
5a6b445f0e fix warnings and UB (#1164)
* Crypto: fix warning mismatched bound

../Crypto/cpu.c:67:32: warning: argument 2 of type 'uint32[4]'
{aka 'unsigned int[4]'} with mismatched bound [-Warray-parameter=]
   67 | int CpuId(uint32 input, uint32 output[4])
      |                         ~~~~~~~^~~~~~~~~
In file included from ../Crypto/cpu.c:3:
../Crypto/cpu.h:236:33: note: previously declared as 'uint32 *'
{aka 'unsigned int *'}
  236 | int CpuId(uint32 input, uint32 *output);

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

* Core/Unix: fix warning ignoring return value

Unix/CoreUnix.cpp: In member function 'virtual std::shared_ptr<VeraCrypt:\
:VolumeInfo> VeraCrypt::CoreUnix::MountVolume(VeraCrypt::MountOptions&)':
Unix/CoreUnix.cpp:682:55: warning: ignoring return value of
'int chown(const char*, __uid_t, __gid_t)' declared with attribute
'warn_unused_result' [-Wunused-result]
  682 |     chown (mountPoint.c_str(), GetRealUserId(), GetRealGroupId());
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

* Main/Forms: fix warning cast to pointer from integer of different size

Forms/MainFrame.cpp: In member function 'void VeraCrypt::MainFrame:\
:UpdateVolumeList()':

Forms/MainFrame.cpp:1718:106: warning: cast to pointer from integer of
different size [-Wint-to-pointer-cast]
 1718 |       Gui->InsertToListCtrl (SlotListCtrl, ++prevItemIndex,
        fields, 0, (void *) volume->SlotNumber);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~

Forms/MainFrame.cpp:1753:114: warning: cast to pointer from integer of
different size [-Wint-to-pointer-cast]
 1753 |       Gui->InsertToListCtrl (SlotListCtrl, ++prevItemIndex,
        fields, 0, (void *) slotNumber);
      |            ^~~~~~~~~~~~~~~~~~~

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

* Crypto: fix undefined behavior signed integer overflow

In function 'twofish_set_key':
cc1: warning: iteration 4 invokes undefined behavior
[-Waggressive-loop-optimizations]
../Crypto/Twofish.c:626:23: note: within this loop
  626 |         for (i = 0; i != 40; i += 2)
      |                     ~~^~~~~

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-08-04 23:49:11 +02:00
PatriccolluandGitHub 32e9703905 Update Corsican translation on 2023-07 (2nd) (#1162) 2023-07-31 23:14:18 +02:00
JertzukkaandGitHub 9b29eadc41 Windows: Add installer language support for rest of the translations (#1160)
Currently there are a lot of translated strings that are never seen
anywhere as the installer doesn't offer all the available languages
as options in the installer wizard (sans Burmese).
2023-07-29 16:31:40 +02:00
Mounir IDRASSI be5c28c481 Release Notes: Fix typo 2023-07-25 22:26:16 +02:00
Mounir IDRASSI b7fc6897b9 Linux/macOS: Increment version to 1.26.4 in installation packages 2023-07-25 22:25:46 +02:00
Mounir IDRASSI e80dd29c0d Windows: remove unused variable 2023-07-24 09:20:43 +02:00
Mounir IDRASSI d4fdba1d29 Update Release Notes and set date of 1.26.4 to July 24th 2023-07-24 09:13:34 +02:00
harryytmandGitHub ab844d8bad Language Translations files: update Chinese (Hong Kong) translation (#843)
* Update Chinese (Hong Kong) translation

- replace Mainland China wordings with Hong Kong wordings
- correcting size unit to use KiB, MiB, GiB, TiB
- using Windows default Chinese Traditional fonts

* Update Language.zh-hk.xml

* Update Language.zh-hk.xml

- translated some untranslated lines
- minor wording refinements

* Update Language.zh-hk.xml

daily commit for translation progress

* Update Language.zh-hk.xml

* Update Language.zh-hk.xml

* Update Language.zh-hk.xml

* Update Language.zh-hk.xml

* Update Language.zh-hk.xml

* Update Language.zh-hk.xml

* translated some more untranslated strings

* Update Language.zh-hk.xml

* Language Translations files: update Chinese (Hong Kong) translation

# minor wording changes
# corrected lang attribute to en on some untranslated entries
+ translated some untranslated entries
+ translated some new entries

* Language Translations files: update Chinese (Hong Kong) translation

 - translated some new entries

* Language Translations files: update Chinese (Hong Kong) translation

- minor changes

* Language Translations files: update Chinese (Hong Kong) translation

- translated some new entries

* Language Translations files: update Chinese (Hong Kong) translation

- translated some new entries for Linux

* Language Translations files: update Chinese (Hong Kong) translation

- translated some new entries

* Update Language.zh-hk.xml

- add back and translated missing line 298
- minor wording changes
- major progress

* Update Language.zh-hk.xml

- refine wordings
- correct mismatch translations in lines 635-640
- minor progress

* Update Language.zh-hk.xml

- refine wordings
- correct line 470
- minor progress

* Update Language.zh-hk.xml

- correct line 164 and 273

* Update Language.zh-hk.xml
2023-07-24 09:11:50 +02:00
Mr-UpdateandGitHub bc9803f22e Update Language.de.xml (#1158) 2023-07-24 09:10:33 +02:00
MatthaiksandGitHub 9ffc544397 Update Polish translation (#1157) 2023-07-24 09:10:05 +02:00
Mounir IDRASSI 3f976c24d2 Linux/macOS: Remove TrueCrypt support 2023-07-24 08:48:52 +02:00
Mounir IDRASSI ba74b9d5b8 Linux/macOS:Add EMV option checkbox to the fbp file. Remove TrueCrypt checkboxes.
We also update to wxFormBuilder 3.10.1
2023-07-23 21:45:16 +02:00
Mounir IDRASSI ea1dfde8e6 Language XML files: update Russian XML file by Dmitry Yerokhin. 2023-07-23 15:12:00 +02:00
Mounir IDRASSI b28cf591c0 XML Language files: remove \r from new entries as it is automatically added by code 2023-07-23 12:00:34 +02:00
Mounir IDRASSI 5b1ed38659 Windows: update signed drivers 2023-07-23 11:15:58 +02:00
Mounir IDRASSI 2111084fc6 Windows: Update driver inf file to meet new requirements for Microsoft driver submission 2023-07-23 11:15:05 +02:00
Mounir IDRASSI b1cc49e3d7 Documentation: Indicate that TrueCrypt support is dropped starting from version 1.26 2023-07-23 10:05:10 +02:00
Mounir IDRASSI 75334fc37d Translations: Add new entries. update Russian XML file by Dmitry Yerokhin. Increment version to 1.26.4 2023-07-23 10:03:26 +02:00
Mounir IDRASSI 334ea9c0b9 Windows: Make Expander progress messages translatable 2023-07-23 10:00:45 +02:00
Springfield Data RecoveryandGitHub f037dae413 Update UserInterface.cpp (#1155)
Docs specify cascading encryption should be specified as "AES(Twofish)" but on Linux it requires "AES-Twofish".
2023-07-23 09:13:03 +02:00
Mounir IDRASSI fa6359d424 Windows: Remove TrueCrypt support. Increment version to 1.26.4. 2023-07-22 10:25:22 +02:00
Mounir IDRASSI 34b00fa825 Windows: Fix compiler warnings 2023-07-18 08:38:02 +02:00
Mounir IDRASSI c0785aa1d4 Windows: Fix buffer overrun caused by bug in UpperCaseCopy function 2023-07-17 14:28:45 +02:00
Mounir IDRASSI 9607b9708c Windows: Fix link error with latest libzip by adding new file zip_source_pass_to_lower_layer.c tp VS projects 2023-07-17 14:26:53 +02:00
DLL125andGitHub 65765798d8 Libzip (#1152)
* Update LZMA to latest

* Update Libzip

Libzip updated to latest.
2023-07-17 14:11:12 +02:00
Mounir IDRASSI 6267b91931 Windows: fix issue with fastCreate by requesting SE_MANAGE_VOLUME_NAME privilege before calling CreateFile
This ensures that the returned handle inherits the privilege
2023-07-16 11:08:24 +02:00
Mounir IDRASSI c759c2230b Language XML files: update Russian XML file by Dmitry Yerokhin. 2023-07-16 11:02:41 +02:00
Mounir IDRASSI 8491d5df65 HTML Documentation: Add Russian translation by Dmitry Yerokhin 2023-07-16 11:01:28 +02:00
Mounir IDRASSI 7ada94d36b Windows: enhance secure desktop handling to try to workaround Windows 11 issue
Several enhancements implemented:
 - replace CreateThread by _beginthreadex to avoid potential issues when using C runtime
 - use an event to notify monitoring thread to stop instead of a volatile boolean
 - perform switch to the regular desktop in the main thread and not in the secure desktop thread
2023-07-15 02:59:13 +02:00
Mounir IDRASSI 49fff71d0a Language XML files: update Russian XML file by Dmitry Yerokhin. 2023-07-13 20:14:31 +02:00
Mounir IDRASSI 014ed77130 Windows: when overwriting an existing file container, add its current size to the available free space 2023-07-11 21:21:18 +02:00
Mounir IDRASSI b1f578f0ef Update the Release Notes with URL related to the EMV project by the students 2023-07-11 19:43:27 +02:00
Mounir IDRASSI 1a46ed9aef Language XML files: update Czech translation (contributed by Lagardere) 2023-07-11 19:07:37 +02:00
Mounir IDRASSI 210968bed1 Windows: Add a PowerShell script that can be used to create a volume from a given directory or file
The script will try to calculate the minimal required size to store the given directory or file in the exFAT formatted volume
2023-07-07 23:55:21 +02:00
Mounir IDRASSI 26fffec1e3 Release Notes: Fix typo 2023-07-07 23:49:12 +02:00
Mr-UpdateandGitHub a3ddcbd256 Update Language.de.xml (#1148)
- Translation completed
- Salutation pronouns corrected
2023-07-06 11:02:32 +09:00
JertzukkaandGitHub 232d3290b0 Linux: Overwriting file container allows you to use its space (#1147)
When replacing a file container, we increase the `diskSpace`
by the file container's size. This doesn't affect the hidden volume
space logic, as in that case we use `MaxVolumeSize` when
`MaxVolumeSizeValid` is true instead of `AvailableDiskSpace`.
2023-07-05 19:00:37 +09:00
JertzukkaandGitHub aa49278673 Updates on WinCompiling docs and script (#1146) 2023-07-05 17:40:57 +09:00
JertzukkaandGitHub 3987b922a8 Update .gitignore with .idea/ and blake2s build artifacts (#1145) 2023-07-02 23:18:58 +02:00
Mounir IDRASSI 4956acd3aa Fix typos in Release Notes 2023-07-02 22:37:02 +02:00
Mounir IDRASSI 0e49b7bc33 Windows: Fix regression when creating multiple keyfiles with a fixed size 2023-07-02 22:36:33 +02:00
JertzukkaandGitHub 3b80c8416b Renormalize 7zWindows.h from CRLF to LF line separator as intended (#1144) 2023-07-02 21:51:44 +02:00
Mounir IDRASSI efa815a6da Indicate in Release Notes that EMV support must be enabled in the settings 2023-07-02 16:34:03 +02:00
Mounir IDRASSI d2caa77207 Fix compiler type-cast warnings 2023-07-02 15:25:21 +02:00
Mounir IDRASSI fe30ebe3f3 Update Release Notes with latest changes. 2023-07-02 15:01:28 +02:00
Mounir IDRASSI 2a728dec88 Windows: Use full list of supported cluster sizes for NTFS, ReFS and exFAT filesystems
We keep FAT32 list of supported cluster sizes as it is today for compatibility with existing FAT code
2023-07-01 23:36:05 +02:00
Mounir IDRASSI 580423b5dd Windows: Add missing header changes needed for previous commit 2023-07-01 23:32:44 +02:00
Mounir IDRASSI 7a3daa389c Windows: Make API formatting fallback to format.com in case of elevation. remove dead code from ExternalFormatFs
We also modify UacFormatNtfs/UacFormatFs to return actual error code in case of failure
2023-07-01 22:46:01 +02:00
PatriccolluandGitHub e28de414e0 Update Corsican translation on 2023-07 (#1140) 2023-07-01 22:38:52 +02:00
MatthaiksandGitHub 63d6ec374a Update Polish translation (#1139) 2023-07-01 22:38:40 +02:00
Mounir IDRASSI a388262a2e Windows: fix compilation warnings 2023-07-01 15:17:24 +02:00
Mounir IDRASSI 0bfed6553d Windows: Fix formatting issue during volume creation by using /Y for format.com and specifying removal parameter in FormatEx
The usage of /Y parameter in format.com simplifies the logic and makes the code robust since we don't need to send \n to the format.com process.
Specifying RemovableMedia parameter to FormatEx fixes its failure in Windows 10 and later to perform quick format. This is also more adequate since we are mounting the volume as removable media for the formatting process.
We also add better error management in order to display adequate error message to the user in case of failure
2023-07-01 15:16:46 +02:00
Mounir IDRASSI 17dcd73936 Windows: Don't make Mount button split button if it is for dismounting
If the currently selected item in the drive list is a mounted volume that can be dismounted, the Mount button displays "Dismount" and so we should not add the popup menu of "mount without cache" to it.
2023-07-01 09:58:36 +02:00
Mounir IDRASSI a438e19f61 Windows: Support drag-n-drop of files in Expander for mounting. Fix drag-n-drop of keyfiles.
To fix drag-n-drop of keyfiles, we remove the password drop target since it was blocking the standard drop of files and drop target doesn't work because of UIPI restrictions across privilege levels since Expander is started elevated
2023-06-30 23:03:56 +02:00
MatthaiksandGitHub 4defec4aeb Update Polish translation (#1137) 2023-06-30 01:13:37 +02:00
Mounir IDRASSI 14eef978ad Increment version to 1.26.3 in XML language files 2023-06-30 00:35:48 +02:00
Mounir IDRASSI d2efeaffe7 Correctly detect ARM builds when listing CPU features in headers 2023-06-30 00:34:16 +02:00
Mounir IDRASSI df62c0227c Linux: Fix wrong size for hidden volume when selecting the option to use all free space (fix by @Jertzukka) 2023-06-29 23:24:47 +02:00
Mounir IDRASSI 417ff5564e Linux/FreeBSD: Make pcsclite a dependency of the packages and the generic installer 2023-06-29 23:15:03 +02:00
Mounir IDRASSI b750c67810 Translations: Add new messages related to EMV to XML files 2023-06-29 21:30:40 +02:00
JertzukkaandGitHub 364f3be41b Linux: Add libpcsclite dependency into compilation guide (#1136)
After the EMV support commits, the project won't build anymore
without the new dependency of libpcsclite.
2023-06-29 20:53:25 +02:00
PatriccolluandGitHub a2bc852c4d Update Corsican translation on 2023-06 (7th) (#1135) 2023-06-29 20:39:27 +02:00
Mounir IDRASSI 034b64f415 EMV keyfile support: Overall code improvements and bug fixes 2023-06-29 00:06:20 +02:00
502ab9112a Add EMV functionality (#1080)
* Add basic strcture needed for EMV implementation

* Add demo EMV functionality with C code pasted in a very dirty and unsafe way. NOT FINAL

* Refactor IccExtractor Structure

* Fix Makefile

* fix include file

* move global variables from h to c

* revert to memcpy

* fix icc data recovery functions

* Add EMV functionalities on windows

* Make EMVToken structures like SecurityToken

* Define constants instead of hard coded values

* Token structures created with inheritance

* refactor TokenKeyfile to use inherit. + polymor.

* add Token.h + Token.cpp in modules in VS2010

* Add a comment at each use of SecurityToken class or objects

* SecurityTokenKeyfilesDialog preparation

* Implemennt GetAvailableTokens in Token class on windows

* merge

* up (patching for Windows)

* foreach Token.cpp corrected

* Display EMV keyfiles on first window in graphic interface

* Add token to Windows UI

* EMVToken selection on OKButton on Linux

* Keyfile.cpp optimization

* Move getKeyfileData in the token class

* EMV::Token GetAvailableKeyfiles() base

* Move getKeyfileData in the token class on unix

* Remove test comments

* Warnings resolved

* RemoveeSecurityTokenLibraryNotInitialized exception if at least one emv token is detected

* Adding new files

* Remove old files and add the new version to the windows project

* Change make_shared to shared_ptr constructor

* IccExtractor integration working on linux

* Throwing card not EMV execption

* catch error when not EMV type in EMVToken::GetAvailableKeyfiles

* Change types to compile on windows

* list all keyfiles, security keyfiles and emv keyfiles in command line

* Change type to be coherent and remove old todo comments

* Remove todo comments

* Change indentation and resolve a bug from previous commit

* Use polymorphism for GetKeyfileData and add export option for EMVTokens on Linux

* Linux : Allow to export EMV Tokens in command lines, Windows : Disable the delete button when EMV Keyfiles are selected

* Remove SlotId from TokenInfo as it is already in Token

* Correct errors on Linux

* Disable delete option if one EMV Token is selected on Linux

* Fix bug enabling delete button if nothing is selected

* emv data used as reference then burnt

* use of normal files in linux corrected

* help updated

* help updated for export functionnality

* option EMV added to graphic interface but not yet working

* Bug fix : Allow to use multiple EMV on windows

* EMV Option added to UserPreferences

* EMV Option working for Linux

* EMV option added to Windows (not working yet)

* [NOT TESTED] EMV option for Windows

* Working EMV option on Windows

* EMV Option for data extraction working for volume creation

* EMV Option for data extraction working for Mount

* EMV Option for data extraction working for mounting favorites volumes

* EMV Option for extraction working for Changing volume password, Set Derivation Key Algorithm and Add or remove keyfile from volume

* Windows : re-checking EMV Option when getting data

* Removing error catches in the IccDataExtractor classe (It only throws error now). Changing GetPan signature to resemble the other functions signatures more

* Changing EMV errors

- Only throwing ICCExtractionException from outside of the ICC module.
- Catching all TLVExceptions and PCSCExceptions to throw the right ICCExtractionException

- Deleting APDU exceptions.

* First version of the documentation

* Adding function pointers for winscard library (but it crashes VeraCrypt)

* Debugging function pointers

* The import of the library on windows work as expected now

* Reverting EMVToken.cpp changes used to test to library import

* Searching for the System32 path instead of hard codding it

* Fixing the bug were VeraCrypt crashes if there is no readers when  "add Token files" is clicked

* Winscard library not initialized in object constructor anymore to delay it after EMVOption check

* Remove winscard lib from windows dependencies

* Properly displaying errors

* Adding a dot in Language.xml

* Catching TLVException

* Removing unused code

* Remove unusefull comments

* Trying to fix 0x1f error

* Update IccDataExtractor.cpp

* Delete History.xml

* Fix get data without get pan

* Cleanup code

* changes for linux compilation but linking not working

* error handling for linux

* erasing emv data

* Burn PAN

* Burn PAN from memory

* Uncomment selfcheck before merging master

* burn corrected

* EMV errors handling for Linux

* EMV working for Linux CLI

* Doc : Winscard Linux package and VeraCrypt versions

---------

Co-authored-by: doriandu45 <d45.poubelle@gmail.com>
Co-authored-by: red4game <redemgaiming@gmail.com>
Co-authored-by: Brice.Namy <brice.namy@insa-rennes.fr>
Co-authored-by: vocthor <pieceo108@gmail.com>
Co-authored-by: vocthor <67202139+vocthor@users.noreply.github.com>
Co-authored-by: Andrei COCAN <andrei.cocan@insa-rennes.fr>
Co-authored-by: AndreiCocan <95496161+AndreiCocan@users.noreply.github.com>
Co-authored-by: francoisLEROUX <francois3443@gmail.com>
2023-06-28 22:51:43 +02:00
MatthaiksandGitHub f4e109afcf Update Polish translation (#1132) 2023-06-28 20:44:02 +02:00
Dr-Jordi-WandGitHub 166bf8a67f Update Language.fr.xml (#1130)
French translation for the ADMIN_PRIVILEGES_WARN_MANAGE_VOLUME key
2023-06-28 20:17:59 +02:00
Mounir IDRASSI 342f78c090 Increment version to 1.26.3. Update Release Notes 2023-06-28 19:18:35 +02:00
Mounir IDRASSI 47c081792c Windows: Add comboxbox to Format wizard to choose QuickFormat/FastCreate/FullFormat
This required changes to internal logic and addition of new UI strings
2023-06-28 18:12:17 +02:00
Mounir IDRASSI e0e043157f Documentation: Fix typos 2023-06-28 09:39:52 +02:00
Mounir IDRASSI 579ce2fd31 Windows: Better handling of quick format for file container
We write a zeroed sector every 128 MiB, leaving other sectors untouched
This helps users visualize the progress of actual file creation while forcing Windows to allocate the disk space of each 128 MiB chunk immediately, otherwise, Windows would delay the allocation until we write the backup header at the end of the volume which would make the user think that the format process has stalled after progress bar reaches 100%.
2023-06-28 00:47:58 +02:00
MatthaiksandGitHub db12703e9b Update Polish translation (#1129) 2023-06-27 17:48:46 +02:00
Mounir IDRASSI 9836fdccd9 Translations: Add new messages to XML files where it was missing 2023-06-27 15:40:38 +02:00
Thomas De RockerandGitHub 72fa43662c Update Language.nl.xml (#1125) 2023-06-27 15:25:28 +02:00
PatriccolluandGitHub 9a3fd52062 Update Corsican translation on 2023-06 (6th) (#1124) 2023-06-25 23:05:15 +02:00
MatthaiksandGitHub 49af509deb Update Polish translation (#1123) 2023-06-25 23:04:20 +02:00
Mounir IDRASSI 83064d6cec Update language XML files with new Expander entries 2023-06-25 18:30:20 +02:00
Mounir IDRASSI 78d22e569b Windows: 100% localization of Expander UI strings 2023-06-25 18:08:59 +02:00
MatthaiksandGitHub aff54ffcba Update Polish translation (#1122) 2023-06-25 09:08:39 +02:00
Mounir IDRASSI 394ed5d867 Windows: Better language localization support for Expander.
More work is needed to localize remaining string resources
2023-06-25 00:41:02 +02:00
Mounir IDRASSI 52b3e0113a Windows: Add 7zWindows.h file to Lzma project files 2023-06-24 22:01:12 +02:00
DLL125andGitHub 097cfa947e Dll125 lzma (#1120)
* Update LZMA to latest

* Add missing file
2023-06-23 21:19:50 +02:00
PatriccolluandGitHub 9e1c0e5b22 Update Corsican translation on 2023-06 (5th) (#1117) 2023-06-23 20:53:49 +02:00
nkh0472andGitHub c6a3902538 Update Language.zh-cn.xml (#1114)
for commit bb55343f63
2023-06-23 20:53:06 +02:00
Mounir IDRASSI bb55343f63 Windows: if /fastCreateFile set, request SE_MANAGE_VOLUME_NAME privileges (credits: @xnoreq)
Display a warning if request failed and allow to continue without fast creation
2023-06-23 00:36:07 +02:00
Mounir IDRASSI 0e4f1ecee3 Windows: Make SetPrivilege return error if AdjustTokenPrivileges cannot adjust privileges 2023-06-23 00:32:24 +02:00
nkh0472andGitHub d4ae2ce893 Update Language.zh-cn.xml (#1113) 2023-06-22 23:11:46 +02:00
PatriccolluandGitHub 1afa81eef9 Update Corsican translation on 2023-06 (4th) (#1112) 2023-06-21 17:13:01 +02:00
MatthaiksandGitHub 3c25fbdc79 Update Polish translation (#1111) 2023-06-21 09:31:41 +02:00
Mounir IDRASSI fbb1d18034 Windows: Allow selecting size unit (KB/MB/GB) for generated keyfiles
This change also makes it possible to generate keyfiles larger than 1 MiB although only the first 1 MiB will be taken into account by VeraCrypt.
Update strings in XML files
2023-06-20 23:15:46 +02:00
Mounir IDRASSI 2bfeba160c Windows: make Expander first check file existence before proceeding further 2023-06-18 23:31:18 +02:00
Mounir IDRASSI 031748a988 Linux: make .deb package compatible with Debian 12 2023-06-18 00:28:08 +02:00
Mounir IDRASSI 36a055f669 Linux/macOS: only wipe password/PIM text controls if they are not empty
This fixes a crash on macOS with latest wxWidgets 3.2.2.1 where
GetLineLength returns -1
2023-06-14 00:31:46 +02:00
Mounir IDRASSI 440df02355 Linux: Fix compatibility of generic installers with old Linux distros
In old Linux distributions, tar command doesn't support
"--keep-directory-symlink" so we now dynamically detect if this switch
is support and then we use it if it is available
2023-06-13 23:34:04 +02:00
Mounir IDRASSI 4cc203e7b3 Crypto: Fix detection of SSSE3 intrinsics in compiler
We use correct define CRYPTOPP_BOOL_SSSE3_INTRINSICS_AVAILABLE
2023-06-13 23:26:02 +02:00
Mounir IDRASSI 41516242d5 Linux: use wxWidgets 3.2.2.1 for official VeraCrypt Linux packages 2023-06-13 23:23:18 +02:00
Mounir IDRASSI 2639e39976 Linux: fix static build against wxWidgets 3.2.2.1
libcurl support must be explicitely disabled
GKT2 must be explicitely set as defaut in VeraCrypt Makefile since
wxWidgets 3.2.2.1 uses GKT3 as default
2023-06-13 23:16:39 +02:00
JertzukkaandGitHub 444152b286 Fix WXSTATIC building on latest wxWidgets stable 3.2.2.1 (#1103)
Changes to be able to build latest wxWidgets stable 3.2.2.1.

Removed in 3.1.5, needs to be removed.
--disable-webkit

Added in 3.1.0, needs to be added.
--disable-addremovectrl
2023-06-13 23:11:23 +02:00
Mounir IDRASSI b0d0fbbcfd Documentation: Clarify various points in the documentation 2023-06-13 00:32:41 +02:00
Thomas De RockerandGitHub 569e7b91ab Update Language.nl.xml (#1099) 2023-06-10 01:08:55 +02:00
JertzukkaandGitHub 0ffd61a55c Linux/FreeBSD: Fix privilege escalation prompts being ignored (#1100)
Currently if you fail the privilege escalation prompt, the second
one and consecutively every second will be ignored. This is because
if we do not --use-dummy-sudo-password and are on Linux/FreeBSD,
we will be prompted for password twice for one evaluation in the
while(!ElevatedServiceAvailable) loop.

For the fix, we make sure that we run the prompt only once for each
case.
2023-06-10 01:07:27 +02:00
Mounir IDRASSI 9ad75aaa0f Translations: restore lost change in Language.fr.xml. Translate two strings. 2023-06-10 00:51:33 +02:00
nkh0472andGitHub b18a392177 Update Language.zh-cn.xml (#1098)
for commit 5e4e2e0483
2023-06-10 00:36:26 +02:00
PatriccolluandGitHub 1a12f5892b Update Corsican translation on 2023-06 (3rd) (#1097) 2023-06-10 00:31:20 +02:00
Mounir IDRASSI d5ef46ef74 Documentation: Document difference between normal dismount and force dismount 2023-06-09 22:37:53 +02:00
Mounir IDRASSI e7f5bca0b5 Update compilation doc to match website version 2023-06-09 20:16:49 +02:00
Mounir IDRASSI 9d9a73d4eb Update copyright in CHM file 2023-06-06 00:06:42 +02:00
Mounir IDRASSI 5ced64881c Update copyright on various files 2023-06-06 00:03:12 +02:00
Mounir IDRASSI b25ebeb7b4 Linux/macOS: Fix error during creation of installation package
"-R" switch was missing from the "cp" command
2023-06-05 22:46:20 +02:00
Mr-UpdateandGitHub e328d38bfe Update Language.de.xml (#1096)
- Translation completed
2023-06-05 00:08:59 +02:00
Mounir IDRASSI 4b46bdc253 Update copyrights in Readme.txt 2023-06-04 17:18:53 +02:00
Mounir IDRASSI 9086232d17 Increment version to 1.26.2. Update Release Notes 2023-06-04 17:17:54 +02:00
Mounir IDRASSI 22466535f1 Windows: Possible workaround for logarithmic slowdown for Encrypt-In-Place on large volumes (relates to #1063)
We replace absolute file pointer moving by relative moving with respect to current position. This was implemented as a workaround to address the performance issues related to in-place encryption. When using SetFilePointerEx() with FILE_BEGIN as the reference point, reaching the end of large drives during in-place encryption can cause significant slowdowns. By moving the file pointer relatively, these performance issues are mitigated.
2023-06-04 16:25:55 +02:00
MatthaiksandGitHub 3c68349a39 Update Polish translation (#1093) 2023-06-04 11:26:28 +02:00
PatriccolluandGitHub b73642ccc0 Update Corsican translation on 2023-06 (2nd) (#1092) 2023-06-02 22:54:57 +02:00
Mounir IDRASSI 5e4e2e0483 Windows: Add dropdown menu to Mount button to allow mounting without cache 2023-06-02 09:39:14 +02:00
Thomas De RockerandGitHub 40b17cca0a Update Language.nl.xml (#1091) 2023-06-02 00:27:46 +02:00
PatriccolluandGitHub ae32f13b00 Update Corsican translation on 2023-06 (#1090) 2023-06-02 00:23:01 +02:00
MatthaiksandGitHub 19e2c33347 Update Polish translation (#1089) 2023-06-02 00:13:22 +02:00
JertzukkaandGitHub 6ced991d98 Fix issues launching fsck via terminal on Linux (#1086)
Currently on a system without xterm or konsole (like fresh
Ubuntu install) the fsck check will not launch. Added
gnome-terminal as an alternative and fixed an issue where
konsole will always error out as --title and --caption are
no longer valid arguments.

Previously the error message was simply "xterm not found", so
new LangString LINUX_EX2MSG_TERMINALNOTFOUND was added to let the
user knows which programs they need to get the feature working.
2023-06-01 09:01:53 +02:00
PatriccolluandGitHub 5efda52d51 Format Corsican localization XML file (#1087) 2023-05-31 23:47:53 +02:00
PatriccolluandGitHub 79206e21c9 Update Corsican translation on 2023-05 (#1085)
* Update Corsican translation on 2023-05

* Update Corsican translation on 2023-05
2023-05-29 21:31:18 +02:00
PasswandGitHub 1fe7340f4b fix wrong URL to clone EDK2 repo (#1084) 2023-05-29 09:26:00 +02:00
Mounir IDRASSI f58a796ae6 Pkcs5.c: Fix typos where SHA256 is mentionned instead of Blake2s
This didn't cause any issue because SHA256_DIGESTSIZE is equal to
BLAKE2S_DIGESTSIZE
2023-05-28 17:36:29 +02:00
JertzukkaandGitHub 4e5529bee0 Prevent failing fs options being shown in --text --create (#1078)
Removes the options exFAT and Btrfs being shown when creating a
volume in text mode when the system does not support them and will
end up erroring out at the end. Hide Btrfs option when the volume
is too small, as we will anyways fail right after.

Hardcoded numbering changed to dynamic as the available options
are not necessarily consecutive.
2023-05-27 18:08:51 +02:00
Mounir IDRASSI 7ae63335ac Linux/macOS: Make RNG implementation match documentation and the Windows implementation 2023-05-27 17:24:11 +02:00
Mounir IDRASSI f4b310b23f Linux/macOS: explicitely initialize hash algo before hashing random pool
The lack of explicit hash initialization was causing issue with Blake2s
because it doesn't allow further processing once a digest value was
returned.
Other hash algorithms don't have this restriction.
Not we explicitely initialize all hash algorithms which is the correct
way to do things.
2023-05-27 10:25:56 +02:00
Mounir IDRASSI 40caafdb1b Windows: Add missing Blake2s source files to VS 2019 crypto project 2023-05-26 00:36:05 +02:00
Mounir IDRASSI 28aff67293 Windows: Add missing update of libzip zip_err_str.c and fix libzip related project configuration 2023-05-26 00:35:58 +02:00
MatthaiksandGitHub 2ae31e5254 Update Polish translation (#1076) 2023-05-25 20:23:01 +02:00
Thomas De RockerandGitHub 3f6d12416c Update Language.nl.xml (#1075)
* Update Language.nl.xml

Add new translations, update/edit some existing translations

* Update Language.nl.xml

* Update Language.nl.xml
2023-05-25 20:12:10 +02:00
BaekMuandGitHub 5a23846248 Update Language.ko.xml (#1067)
- New translations for commit https://github.com/veracrypt/VeraCrypt/commit/8072207eb6ad0783a4e2c54addc4b3196738029e
- Fix the wrong part
2023-05-25 14:11:01 +02:00
DLL125andGitHub 7c516dcede Update README.md (#1070)
* Update README.md

Update Copyright.

* Update README.md

Updated The zlib copyright.

* Revert "Update README.md"

This reverts commit be0742d8d1.
2023-05-25 12:53:49 +02:00
DLL125andGitHub 1fc4168b81 Update Libzip to latest 1.9.2 (#1071)
* Libzip 1.9.2

Updated Libzip to latest version 1.9.2 and changed version number in the config.h from 1.7.3 to 1.9.2. Not sure if anything else needs to be tweaked :)

* Modified Libzip to work with Visual studio

* Update README.md

Update libzip copyright.

* Added the missing files.

I've added the missing files zipconf.h and config.h, I've missed those sorry for that!
2023-05-25 12:52:53 +02:00
Mounir IDRASSI b872702309 Linux: Fix printing error when checking freespace during volume creation
No parent directory specified in the path, we assume current directory
We first check if parent directory exists before checking its free space
using wxgetDiskSpace

Based on idea proposed by @bogdro in PR#1025
2023-05-22 01:05:17 +02:00
Mounir IDRASSI eb61010ce2 Linux/macOS: Better handling of wrong PIM value in text mode (enhances PR#1026) 2023-05-21 17:27:33 +02:00
Bogdan DrozdowskiGitHubBogdan Drozdowski <>
b05b18928f Keep PIM secret and re-ask when user entered a wrong value (#1026)
Co-authored-by: Bogdan Drozdowski <>
2023-05-21 17:21:21 +02:00
Mounir IDRASSI 76df737ae5 Update Language.zh-cn.xml to remove unused string after revert of newsysenc commit 2023-05-20 17:43:06 +02:00
Mounir IDRASSI 1f3ebcd7c6 Update Language.nl.xml to fix format of some entries and remove strings that don't exist anymore after revert of sysenc commit 2023-05-20 17:42:10 +02:00
ce44f959e8 Update Language.zh-cn.xml and replace PR #817 (#1065)
* Solve conflicts, and apply PR #817

Co-authored-by: lifansama <lifansama@users.noreply.github.com>

* Update Language.zh-cn.xml

translation for commit 8072207

---------

Co-authored-by: lifansama <lifansama@users.noreply.github.com>
2023-05-20 10:34:09 +02:00
Marius KjærstadandGitHub 2b6ed5a582 Added line breaks between new copyright holders (#963) 2023-05-19 23:28:40 +02:00
nkh0472andGitHub 78c878c19a Update Language.zh-cn.xml (#961)
* Update Language.zh-cn.xml

For commit c0ff7a7c52 and pull #957

* Optimize the use of quotation marks

use Chinese standardized quotation marks (“”) instead of unusual white lenticular bracket (〖〗)

* Unified the translation of RESCUE_DISK

* Optimize the use of quotation marks

use Chinese standardized quotation marks (“”) to replace other unusual usage of non-standardized quotation marks

* improve "SYSENC_INFO_2" translation

thanks to @ZhanYF in https://github.com/veracrypt/VeraCrypt/pull/961#pullrequestreview-1190980437

* improve "IDC_LINK_HASH_INFO" translation

thanks to @ZhanYF in veracrypt#961 (review)

* Update Language.zh-cn.xml

-unified the translation of "hash"
-improve "DECOY_OS_INSTRUCTIONS_PORTION_10" translation
2023-05-19 22:32:43 +02:00
Thomas De RockerandGitHub 78fc3db8d7 Update Language.nl.xml (#967) 2023-05-19 22:30:54 +02:00
WendigoandGitHub 8fc866df40 update zlib to latest version 1.2.13 (#986) 2023-05-19 22:15:01 +02:00
Ömer Faruk ÖzdemirandGitHub 21918e33b6 Add Hyperlinks to Content Table (#989) 2023-05-19 00:46:45 +02:00
EsandGitHub e59581918f wxWidget assert failure bug (#999)
* Removal of any of the any of `wxALIGN_RIGHT`/`wxALIGN_CENTRE_HORIZONTAL`/`wxALIGN_BOTTOM`/`wxALIGN_CENTRE_VERTICAL` when used in conjunction with `wxEXPAND`

wxWidget has an "assert" that gets triggered anytime `wxEXPAND` gets used with an alignment property (useless override). This leads to a popup backtrace everytime a non-compliant widget is opened.

* Removal of missed `wxALIGN_RIGHT`/`wxALIGN_CENTRE_HORIZONTAL`/`wxALIGN_BOTTOM`/`wxALIGN_CENTRE_VERTICAL` when used in conjunction with `wxEXPAND`

* Removed property 'label' for wxMenuBar as no longer used (wxFormBuilder)

* Removed redundant 'wxALIGN_RIGHT' for the "OK" button in the preference panel (there is a spacer already in-place that pushes the buttons to the right)

* Removed redundant 'wxALIGN_RIGHT' for items in the wizard panel's (`WizardFrameBase`) button bar and added width spacing for the 2 spacers between the buttons to make up for the change.

* Changed constructor signature for the `WizardPage` and all subclasses

 The addition of the wxString 'name' arg brings it inline with the new wxFromBuilder v3.10.1 output so that editing+generating the forms from it won't brake the build now.

* Removed remaining redundant 'wxALIGN_*' that were paired with 'wxEXPAND'.

* Added missing default flags to wxFileName::Normalize(..) method

The old empty initialization which was fine up to v2.8.12 of wxWidget gives off a compile warning. Since the default `wxPATH_NORM_ALL` is now depreciated (v3.x) the equivalent individual flags must be explicitly given.

* Changed spaces to tabs to bring last commit inline with the rest of the src code
2023-05-19 00:44:13 +02:00
b6513d82f8 OpenBSD vnconfig no longer needs -c option (#1002)
Co-authored-by: Your Name <you@example.com>
2023-05-19 00:29:59 +02:00
rigwildandGitHub f3d79d1f62 Update Language.fr.xml (#1022) 2023-05-19 00:26:58 +02:00
DavidandGitHub ecb5ea9671 Fix compiler warnings (#1030)
Fixing the following compiler warnings:

FuseService.cpp: In function ‘int VeraCrypt::fuse_service_read(const char*, char*, size_t, off_t, fuse_file_info*)’:
FuseService.cpp:233:12: warning: catching polymorphic type ‘struct VeraCrypt::MissingVolumeData’ by value [-Wcatch-value=]
  233 |     catch (MissingVolumeData)
      |            ^~~~~~~~~~~~~~~~~
FuseService.cpp: In static member function ‘static int VeraCrypt::FuseService::ExceptionToErrorCode()’:
FuseService.cpp:362:15: warning: catching polymorphic type ‘class std::bad_alloc’ by value [-Wcatch-value=]
  362 |   catch (std::bad_alloc)
      |               ^~~~~~~~~

Apart from warnings, the current code creates unnecessary copies of the exception object in debug mode. (But not in -O3)
2023-05-18 23:12:01 +02:00
JertzukkaandGitHub 1043bff967 Fix mount.veracrypt (#1064)
Reverses order of --non-interactive and --text to actually make it work, also fix --pim working.
2023-05-18 23:09:32 +02:00
JertzukkaandGitHub 8072207eb6 Add a new LangString 'LINUX_VOL_MOUNTED' to show when volume mounted. Fixes (#1029)
the issue of 'LINUX_VOL_DISMOUNTED' being shown even when not dismounting.
2023-05-18 22:59:36 +02:00
Mounir IDRASSI 8e443c25cc Linux/macOS: Suppress asserts displayed by wxWidgets 3.1.6+ for sizer flags until we fix all sizer flags in our UI. 2023-05-18 21:25:07 +02:00
Mounir IDRASSI 0fdf2edda7 Linux: Fix .deb package compatibility with Ubuntu 23.04 2023-05-18 21:22:24 +02:00
Mounir IDRASSI 49de3de994 Windows MSI: fix failure to create MSI because of missing html files during packaging 2022-12-11 23:04:02 +01:00
Mounir IDRASSI 13dc3da6a6 Windows MSI: Add reference to newly added documentation files. Remove reference to RIPEMD-160 html file. 2022-12-11 21:26:58 +01:00
Mounir IDRASSI 4056f58add Documentation: remove usage of CSS collapsible to avoid breaking CHM generation. Add new entries to CHM. Remove example script file since its content is described inline in the documentation
We need to generate CHM from the same HTML files as the documentation and so we are limited by CHM compatibility
2022-12-11 18:40:33 +01:00
Mounir IDRASSI e04bf339f7 Documentation: Add missing file Miscellaneous.html 2022-12-11 17:50:38 +01:00
Mounir IDRASSI 44c9c077f3 Revert "New sys enc wizard (#957)"
This reverts commit c0ff7a7c52.
2022-12-11 13:01:14 +01:00
c0ff7a7c52 New sys enc wizard (#957)
* New VeraCrypt interface (for system encryption) with improved usability

* System Encryption: translate password to US keyboard layout + improved new interface

* Windows: Fix build error following merge

* Windows: Remove unused variable

* Windows: Add missing string in Language.xml

* Windows: fix buffer overrun caused by wrong use of wmemset

* Do not delete password file

Since the file is only available in \Release\Setup Files\ it would be fully deleted after running this script the first time.

* Correct return code

Originally the function would have always returned the return-code 1 resulting that the user is not able to change the location for the rescue zip.

* Added hint for sysenc

Added a hint why the field for repeating the password is initially greyed out within the system encryption.

* Corrected spelling mistake

Corrected spelling mistake

* Removed not working copy job

The file to be copied was stored at the source location. Therefore the copyjob will not work. Instead the file is already in the target folder.

* Removed RIPEMD-160 from Product64.wxs

See commit from 21.03.2022

* Added german translation for new interface

* Fixed PIM bug

* Corrected translation file based on the guidelines within the pull request

* Fixing merge conflicts

* Fixed Compiling issues. Reverted keyboard translation

* Removed artifacts of password translation

* Corrected language.xml

* Fixed order within german language file

* Corrected positions

Co-authored-by: Bruna2803 <bruna.radeljak@hotmail.com>
Co-authored-by: felixreichmann <30237956+felixreichmann@users.noreply.github.com>
Co-authored-by: Mounir IDRASSI <mounir.idrassi@idrix.fr>
2022-08-25 09:46:58 +02:00
Mounir IDRASSI 99c3cda01a Windows: use newer MEMORYSTATUSEX structure in call to GlobalMemoryStatusEx 2022-08-25 09:38:49 +02:00
WendigoandGitHub 46ecb1a66d Minor bugfixes (#950)
* Update Dlgcode.c

minor bugfixes

* GlobalMemoryStatus x64 bugfix

GlobalMemoryStatus deprecated in x64
2022-08-25 08:57:34 +02:00
Kenneth ChewandGitHub a23d4392fb Fix incorrect text color in dark mode (#920) 2022-08-21 17:58:08 +02:00
Matteo BaccanandGitHub 53b4019d1f Fixed a typo error (#929)
Hi

I have fixed a little typo error: a double semicolon at the end of one line

ciao
matteo
2022-08-21 17:56:31 +02:00
Felix ReichmannandGitHub cc5212fdb1 Documentation overwork (#953)
Github PR: https://github.com/veracrypt/VeraCrypt/pull/953

* Create CompilingGuidelinerh

* Initial Upload Windows Compiling Guide

* Removed RIPEMD-160 from Product64.wxs. See commit from 21.03.2022

* Completed Win compiling guideline

* Added link to detailed compiling guide

* Added link to detailed compiling guide

* Restructured docu main page

* Added sourceforge link

* Added compiling guide for Linux

* References to detailed instructions

* Revert "Removed RIPEMD-160 from Product64.wxs. See commit from 21.03.2022"

This reverts commit 024ae2a465.

* Correction of a div box
2022-08-16 08:21:55 +02:00
Mounir IDRASSI 0871695403 Update zlib to version 1.2.12 2022-03-31 00:52:40 +02:00
Mounir IDRASSI 2be0b2e88f HTML Documentation: Add Russian translation by Dmitry Yerokhin 2022-03-31 00:52:33 +02:00
Mounir IDRASSI a077eb94ef Documentation: clearer description of how number of iterations are calculated 2022-03-27 16:34:42 +02:00
nkh0472andGitHub 540fb52aca Update Language.zh-cn.xml (#914) 2022-03-27 11:48:05 +02:00
PatriccolluandGitHub 6f57badb2e Update Corsican translation for commit 5383190 (#913) 2022-03-27 11:47:17 +02:00
Mounir IDRASSI 762065917f Windows: Add various checks to address Coverity reported issues. 2022-03-26 21:15:11 +01:00
Mounir IDRASSI a0809fe85c Windows: check result of WriteFile and don't block if it is failing (Coverity) 2022-03-26 21:15:04 +01:00
Mounir IDRASSI 05fd14006d Remove dead code from chacha_ECRYPT_encrypt_bytes (Coverity) 2022-03-26 21:14:57 +01:00
Mounir IDRASSI 533269ca9a Windows: Fix wrong parameter to CloseHandle function in case of failure of CreateEvent (Coverity) 2022-03-26 21:14:49 +01:00
Mounir IDRASSI 69a9c6b394 Update release notes for 1.26.0 and set its date to March 21st 2022 2022-03-22 00:56:54 +01:00
Mounir IDRASSI 165df2188e Language Translations files: update polish translation 2022-03-21 07:59:31 +01:00
Mounir IDRASSI fbdcd35b00 Language XML files: Add newly added entry to the XML files of supported languages 2022-03-21 01:19:17 +01:00
Mounir IDRASSI 5124775236 Windows: Add latest 1.26 EFI bootloader files that are signed by Microsoft that come with the following modifications: - Fix bug in PasswordTimeout value handling that caused it to be limited to 255 seconds. - Rescue Disk: enhance "Boot Original Windows Loader" by using embedded backup of original Windows loader if it is missing from disk - Addition of Blake2s and removal of RIPEMD160 & GOST89 2022-03-21 01:19:09 +01:00
Mounir IDRASSI 67acba4b4f Increment version to 1.26 and update windows driver and MBR bootloader files 2022-03-21 01:19:02 +01:00
Mounir IDRASSI a239789317 Add missing Blake2s source files 2022-03-21 01:18:55 +01:00
Mounir IDRASSI a57a79c61d Update documentation to add Blake2s-256 and remove RIPEMD-160 2022-03-21 01:18:48 +01:00
Mounir IDRASSI 4a1be156f7 Language XML files: update Russian XML file by Dmitry Yerokhin. 2022-03-21 01:18:41 +01:00
Mounir IDRASSI 03e29434e8 Windows: Display message to recreate Rescue Disk when upgrading from version 1.25 or earlier because of the changes in the supported algorithms 2022-03-21 01:18:34 +01:00
Mounir IDRASSI 5383190518 Windows: Block upgrade of VeraCrypt is the system is encrypted using RIPEMD-160 or GOST89 since they are not supported anymore. 2022-03-21 01:18:27 +01:00
Mounir IDRASSI dd0f3cd167 Windows: use "HMAC-BLAKE2s-256" instead of "HMAC-BLAKE2s" for BLAKE2s PRF name 2022-03-21 01:18:20 +01:00
Mounir IDRASSI 36795a688f Implement support of Blake2s-256 hash algorithm and remove deprecated algorithms RIPEMD-160 and GOST89. 2022-03-08 00:29:26 +01:00
PatriccolluandGitHub 2dee49d3c8 Creating Language.co.xml for Corsican (#905) 2022-03-07 22:25:31 +01:00
Mr-UpdateandGitHub 1ee0ce506b Update Language.de.xml (#899)
- Correct typos
- Translation improved
2022-03-07 10:18:20 +01:00
Mr-UpdateandGitHub 3d655ca2a3 Update Language.de.xml (#898)
- Correct typos
- Translation improved
2022-02-20 00:16:01 +01:00
Mounir IDRASSI 3cab3ce37a Increment version to 1.25.9 and update Release Notes. 2022-02-19 22:54:59 +01:00
Mounir IDRASSI c145b337cb Linux/MacOSX: Fix hidden volume settings not correctly displayed when enabling hidden volume protection in mount options window 2022-02-19 22:35:34 +01:00
Mr-UpdateandGitHub c68e982f39 Update Language.de.xml (#893)
* Update Language.de.xml

- Correct typos
- Translation improved

* Update Language.de.xml

I corrected it.
2022-02-18 01:44:52 +01:00
Mounir IDRASSI b52ce86040 Linux: Fix code dump when built with -D_GLIBCXX_ASSERTIONS caused by an assert in libstdc++.
The variable has enough capacity so pointer &buffer[0] is valid but since clear method was called, we are not supposed to access element at index 0.
Related to Github issue #896
2022-02-18 01:24:32 +01:00
Mounir IDRASSI 662bb60fe4 Windows: Fix wrong Debug reference in VS2019 solution file 2022-02-16 23:44:18 +01:00
Mounir IDRASSI 8a1f6d904b Update Release Notes and release date 2022-02-16 23:22:32 +01:00
Mounir IDRASSI c2b2f80d4f Increment version to 1.25.8.2 and update signed Windows drivers 2022-02-16 23:22:22 +01:00
Mounir IDRASSI d417b2806c Linux/FreeBSD: Enable building without AESNI support by setting environment variable DISABLE_AESNI to 1 during build or passing NOAESNI=1 to make command
This comes following Github issue #892 and which should be solved thanks to this.
2022-02-13 18:42:27 +01:00
Mounir IDRASSI be5bcbf42f Language XML files: Update French translation 2022-02-13 18:42:21 +01:00
Mounir IDRASSI 4483d23fad Add missing copyright to README.md 2022-02-13 18:42:12 +01:00
Mr-UpdateandGitHub 049075cf43 Update Language.de.xml (#891) 2022-02-13 10:03:16 +01:00
Mounir IDRASSI 5ef553d18f Windows: remove debugging left over call to MessageBox 2022-02-11 00:37:39 +01:00
Mounir IDRASSI 11800e429d Windows: Activate lzma project build for x64 target 2022-02-11 00:37:33 +01:00
Mounir IDRASSI b1ae5f4740 Update copyrights following integration of LZMA SDK 2022-02-11 00:37:25 +01:00
Mounir IDRASSI b5b252107d Update Release Notes and set release date to February 10th. 2022-02-11 00:37:17 +01:00
Mounir IDRASSI e925dd2f1a Windows: Increment version to 1.25.8.1 and update signed Windows drivers 2022-02-11 00:37:09 +01:00
818638d2a2 Update Language.de.xml (#890)
* Update Language.de.xml

- Correct typos
- Translation improved

* Update Translations/Language.de.xml

Co-authored-by: Andreas Becker <andreas-becker@users.noreply.github.com>

* Update Language.de.xml

* Update Language.de.xml

Co-authored-by: Andreas Becker <andreas-becker@users.noreply.github.com>
2022-02-10 23:16:41 +01:00
Mounir IDRASSI c3bb028dfa Update Turkish translation (FabSec; By Fabriel) 2022-02-10 01:30:39 +01:00
Mounir IDRASSI aebb099da2 Windows Driver: Don't cache the password if outer volume mounting succeeds but hidden volume mounting fails 2022-02-10 01:21:25 +01:00
Mounir IDRASSI 1ef05f24e2 Windows: Reduce the size of installers by almost 50% by using LZMA compression instead of DEFLATE 2022-02-10 01:21:17 +01:00
Mounir IDRASSI 302dc37fb9 Windows: Make Travel Disk contains 32-bit and arm64 binaries when VeraCrypt installed using MSI 2022-02-10 01:20:25 +01:00
Mounir IDRASSI 2da115ffb4 Update Release Notes and add signed Windows driver. 2022-02-06 09:53:07 +01:00
Mounir IDRASSI c51a209879 Windows: Add registry setting to disable erasing encryption keys on Windows shutdown/reboot. This helps solve BSOD during shutdown/reboot on some machines.
Under "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\veracrypt", create a REG_DWORD value named "VeraCryptEraseKeysShutdown" and set its value to 0.
2022-02-06 09:52:24 +01:00
Mounir IDRASSI 6f3fc5b9e3 Update Release Notes 2022-02-05 22:52:25 +01:00
Mounir IDRASSI 0b78115084 Windows: Update MBR bootloader files. 2022-02-05 22:52:18 +01:00
Mounir IDRASSI 0e4c8f91af Windows: remove unneeded reference to XML files from Setup Visual Studio project 2022-02-05 22:52:09 +01:00
Mounir IDRASSI 91d308857a Translations: Fix minor typo in zh-CN translation (close #879) 2022-02-05 22:52:00 +01:00
Mounir IDRASSI 463ae8e6aa Increment version to 1.25.8 2022-02-05 22:51:52 +01:00
Mounir IDRASSI 3cf9364592 Linux: avoid overriding /usr/sbin if it is a symlink (close #888) 2022-02-05 22:51:41 +01:00
Mounir IDRASSI 4ef324df1a Linux: make generic uninstaller remove all VeraCrypt related files that were copied by the generic installer 2022-02-05 22:51:33 +01:00
Mounir IDRASSI 5c319dec94 Windows: Fix failure to verify driver file signature since it is signed by Microsoft not us.
This caused a failure when creating Traveler Disk
2022-02-02 01:55:23 +01:00
Mounir IDRASSI ebb67499f1 Windows: Fix failure to create Traveler Disk when VeraCrypt is installed using MSI 2022-02-02 01:23:34 +01:00
Mounir IDRASSI 06841f67c7 Windows MSI: set minimum support for MSI installation to Windows 7 2022-02-01 23:33:03 +01:00
Mounir IDRASSI 9b88625d97 Windows: Make MSI installer compatible with System Encryption by leveraging VeraCrypt service capabilities 2022-02-01 23:32:55 +01:00
Mounir IDRASSI 8ad93e6648 Windows: Fix wrong check on IUnknown_QueryService function pointer 2022-01-30 17:25:09 +01:00
Mounir IDRASSI 87efa35c38 Windows: Enhancement to CVE-2019-19501 fix to using IShellDispatch2::ShellExecuteW if RunAsDesktopUser fails. Also we don't use the fix if UAC is disabled since in this case the Shell Explorer.exe will be elevated anyway so we can't use to reduce elevation. 2022-01-30 16:48:49 +01:00
Mounir IDRASSI 0d92195c91 Windows MSI: set minimum support for MSI installation to Windows 8 as it was before 2022-01-16 15:18:48 +01:00
Thomas De RockerandGitHub b0c4ac6a90 Update Language.nl.xml (#870) 2022-01-12 00:20:11 +01:00
Mounir IDRASSI abfef8821d MacOSX: remove write permission also from group on application bundle 2022-01-08 11:08:47 +01:00
Mounir IDRASSI 46a32bea19 Update some translations from Transifex 2022-01-08 09:51:38 +01:00
Mounir IDRASSI 2d3771c45d Increment version to 1.25.7 and update Release Notes 2022-01-07 00:35:46 +01:00
Mounir IDRASSI 897b676e61 Windows: Update IDRIX SHA-256 code signing certificate to latest one 2022-01-07 00:35:31 +01:00
Mounir IDRASSI 9ee48b9d60 Windows: Remove adding signing certificate to TrustedPublishers on XP since it doesn't bring any benefits 2022-01-07 00:35:21 +01:00
Mounir IDRASSI 47f542bfa7 Windows: Fix text truncation in setup wizard and modaless waiting dialog 2022-01-07 00:33:44 +01:00
Mounir IDRASSI b1333b067b Update Italian translation from Transifex 2022-01-07 00:33:36 +01:00
Mounir IDRASSI 2d7d7ad968 Windows: Don't sign drivers with our certificate since we now use single attestation signing (no dual signing) 2022-01-02 21:52:57 +01:00
Mounir IDRASSI c490a75102 Update documentation and Release Notes for restored Windows 7 support. Set 1.25.6 release date at January 3rd 2022 2022-01-02 21:52:49 +01:00
Mounir IDRASSI 88e4a6cb0d Windows: Restore support of Windows 7, 8/8.1 by using single attestation signature for driver and add checks on needed KBs for Windows Vista and Windows 7. Add signed driver files.
- Windows 7 needs KB3033929 or KB4474419
 - Windows Vista needs KB4039648 or KB4474419
2022-01-02 21:52:39 +01:00
Mounir IDRASSI 88955393b2 Set 1.25.6 release date to January 1st 2022 2022-01-02 21:52:31 +01:00
Mounir IDRASSI ce733d547e Update copyright year to 2022 2022-01-02 21:52:23 +01:00
Mounir IDRASSI 656b1c5902 Update Release Notes and add signed Windows driver. 2021-12-30 15:35:58 +01:00
Mounir IDRASSI f63c2ec13c Windows driver: Set maximum values for encryption queue parameters. Add IOCTL code to read used values from user space maximum value for EncryptionFragmentSize is 2048 maximum value for EncryptionIoRequestCount is 8192 maximum value for EncryptionItemCount is (EncryptionIoRequestCount/2) 2021-12-30 00:42:39 +01:00
Mounir IDRASSI fac35ab08a Windows Driver: Better code for EncryptionFragmentSize variable handling 2021-12-30 00:42:30 +01:00
Mounir IDRASSI 7e20f65e68 Windows: Update precompiled MBR bootloader files for version 1.25.6 2021-12-28 00:31:45 +01:00
Mounir IDRASSI e3267f289b Increment version to 1.25.6. Update Release Notes and add signed Windows driver. 2021-12-27 22:40:28 +01:00
Mounir IDRASSI 7b8ba151b2 Documentation: clarify that non-cascaded encryption algorithm for system encryption can be inferred from VeraCrypt bootloader only in the case of MBR boot mode. 2021-12-27 20:14:44 +01:00
Mounir IDRASSI 7fcd4bce71 Windows (MSI install only): Fix double-clicking .hc file inserting %1 instead of volume name in UI path field when 2021-12-27 19:51:50 +01:00
Mounir IDRASSI 68131ac91b MacOSX: correct permission of VeraCrypt application bundle during packaging 2021-12-24 23:57:27 +01:00
Mounir IDRASSI bb0cef759b MacOSX: Increment version to 1.24.5 and update release notes. 2021-12-24 21:21:09 +01:00
Mounir IDRASSI 2f45be1219 MacOSX: make sure that no files inside VeraCrypt application bundle are world-writable.
Currently, documentation HTML files and XML language files embedded inside VeraCrypt application bundle are world-writable.
2021-12-24 21:21:00 +01:00
Mounir IDRASSI e373e72cda Increment version to 1.25.5 and update release notes 2021-12-20 00:19:10 +01:00
Mounir IDRASSI 5640de3584 Windows Driver: Add registry settings to control driver internal encryption queue Under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\veracrypt: - VeraCryptEncryptionFragmentSize (REG_DWORD): size of encryption data fragment in KiB. Default is 256. - VeraCryptEncryptionIoRequestCount (REG_DWORD): maximum number of parallel I/O requests. Default is 16. - VeraCryptEncryptionItemCount (REG_DWORD): maximum number of encryption queue items processed in parallel. Default is 8. 2021-12-20 00:18:58 +01:00
Mounir IDRASSI 4ed2bf5427 Language XML files: update Czech translation (contributed by Lagardere) 2021-12-16 23:27:55 +01:00
Mounir IDRASSI e2ed21ff8b Windows: Don't use version string suffix in language files version check. It is empty by default and for special build we want to use the same language files as standard build 2021-12-04 23:59:09 +01:00
Mounir IDRASSI a21b2270e8 Windows: Implement TESTSIGNING build configuration that allows running under Windows Vista,7, 8 and 8.1. 2021-12-04 23:59:01 +01:00
Mounir IDRASSI 0bc3e36f76 Windows: Add pre-compiled MBR bootloader binaries for version 1.25.4 to make it easier to build VeraCrypt without legacy VC compiler 2021-12-02 22:24:03 +01:00
Mounir IDRASSI d3e9fa9664 Language Translations files: update polish translation 2021-11-30 23:45:25 +01:00
Mounir IDRASSI bf9866e812 Increment version to 1.25.4 and set release date to December 3rd 2021 2021-11-30 23:45:17 +01:00
Mounir IDRASSI 0790b17488 Translation XML files: fix wrong version 2021-11-30 21:44:21 +01:00
Mounir IDRASSI 70001f01ac Documentation: Put back Windows XP to the list of supported OSes following latest changes. Indicate that MSI requires Windows 10 or newer. 2021-11-30 00:02:06 +01:00
Mounir IDRASSI f30e06e1d0 Documentation: Update list of supported OSes. Update Release Notes. 2021-11-29 22:24:13 +01:00
Mounir IDRASSI 622aaf4ef2 Windows: Try to workaround Windows Updates issues by fixing of bootloader and SetupConfig.ini when session logged in/unlocked or system resumes 2021-11-29 22:24:04 +01:00
AtalanttoreandMounir IDRASSI 79738a4e5a Add keyboard shortcut to "TrueCrypt mode" in the mount dialog in German translation 2021-11-28 18:17:38 +01:00
Ettore AtalanandGitHub 061606fa10 Fix wrong reference (#853)
Fix wrong reference to VeraCrypt 1.0 in German translation.
2021-11-28 17:45:15 +01:00
Mounir IDRASSI f79996b28c Language XML files: Fix wrong reference to VeraCrypt 6.0 which actually should be TrueCrypt 6.0 2021-11-28 11:58:55 +01:00
Mounir IDRASSI 017e397773 Windows: Add pre-compiled MBR bootloader binaries for version 1.25 to make it easier to build VeraCrypt without legacy VC compiler 2021-11-28 11:58:46 +01:00
Mounir IDRASSI febf7d048b Linux: change build script for GTK3 generic installer to build wxWidgets by default 2021-11-28 00:54:06 +01:00
Mounir IDRASSI 1dc9ec2499 Increment version to 1.25 (1.25.3) 2021-11-28 00:50:35 +01:00
Mounir IDRASSI e7b3ca7334 Linux: try to fix some rare issues when invoking sudo using fork by waiting 1 second for forked process to start 2021-11-28 00:50:26 +01:00
Mounir IDRASSI e42bc65ae9 Linux: Add script to build GTK3 based generic installer 2021-11-28 00:50:17 +01:00
Mounir IDRASSI f446e4176c Language XML files: update Russian XML file by Dmitry Yerokhin. 2021-11-27 13:25:19 +01:00
Mounir IDRASSI 24675707bb Windows: Update signed Windows driver to version 1.25.2.0 2021-11-21 22:29:51 +01:00
Mounir IDRASSI 34282e9fce Windows: Block installation of MSI on Windows version older than Windows 10 because of driver code signing 2021-11-21 21:45:31 +01:00
Mounir IDRASSI 3a28821b1d Increment version to 1.25-RC2 and update release notes 2021-11-21 21:45:23 +01:00
Mounir IDRASSI 43cf5d7b53 Linux/macOS/FreeBSD: return error if unknown filesystem value specified in --filesystem switch 2021-11-21 21:45:09 +01:00
Mounir IDRASSI 491fed3494 Linux/FreeBSD: Fix calling "make install" without specifying DESTDIR, which should work by installing into /usr 2021-11-21 21:45:01 +01:00
Mounir IDRASSI 5f5b8a15fc Windows: Restrict supported Windows versions to XP, 10 and 11 because of new requirement on driver code signing.
For now, we are not able to put in place HCK/WLK certification of VeraCrypt driver that is needed for Windows 7, 8 and 8.1.
2021-11-21 21:44:51 +01:00
nkh0472andGitHub 5426160c94 Improve translations for Chinese (#825) 2021-11-07 14:27:38 +01:00
Ettore AtalanandGitHub ef8a024a01 Update German translation (#830)
Translated newly added string.
2021-11-07 14:24:50 +01:00
Mounir IDRASSI 5e547b127f Linux/macOS: Add CLI switch (--size=max) and UI option to give a file container all available free space.
This commit also makes --size switch accept KiB/MiB/GiB/TiB prefixes and adds TiB choice in UI.
2021-09-21 01:41:25 +02:00
Mounir IDRASSI 635213c826 Language Translations files: update polish translation 2021-09-05 21:33:05 +02:00
Ettore AtalanandGitHub 8178f67f77 Update German translation. (#824)
Translated newly added string.
2021-09-05 21:26:55 +02:00
Mounir IDRASSI 30c87a63bc Update Release Notes for 1.25-RC1 2021-09-05 20:10:40 +02:00
Mounir IDRASSI 0dd87c07fd Increment version to 1.25-RC1 2021-09-05 20:10:33 +02:00
Mounir IDRASSI 7ac1abcad1 Windows: Fix warning and link error in SetupDLL project 2021-09-05 20:10:24 +02:00
Mounir IDRASSI 7666a77106 Documentation: Drop official support of Mac OS X 10.7 Lion and Mac OS X 10.8 Mountain Lion 2021-09-05 20:10:18 +02:00
Mounir IDRASSI 9820ca06df Update build requirements and instructions in Readme 2021-09-05 20:10:11 +02:00
Mounir IDRASSI ddf9811b21 Windows: Block installation with exe installer if VeraCrypt was already installed using MSI package 2021-09-05 01:13:23 +02:00
Mounir IDRASSI 8533ced1a4 Documentation: Drop Windows XP, Vista and 7 from list of supported OS. Add macOS Big Sur. 2021-09-04 22:10:46 +02:00
Mounir IDRASSI 5e109cf01d Linux: fix rpm installation conflict for /usr/share/mime 2021-09-04 22:10:39 +02:00
a1346054andGitHub 32052f214b Minor cleanup of the repo (#822)
* *: source files should not be executable

* *: make sure files have final newline

* *: remove BOM from text files

* translations: unify headers

* *: fix typos

* *: trim excess whitespace
2021-09-04 21:59:25 +02:00
Mounir IDRASSI ff3cbf5672 Windows MSI: block MSI installation if System Encryption is enabled until we find a workaround for MSI service inability to access EFI environment variables (GetFirmwareEnvironmentVariable return empty values) 2021-09-02 00:20:13 +02:00
Mounir IDRASSI 7bc4256c42 Windows MSI: Fix error querying bootloader information 2021-09-02 00:20:05 +02:00
Mounir IDRASSI 4dc3d9c1a7 Windows: Implement a new way to detect Windows version to overcome MSI limitation 2021-09-02 00:19:57 +02:00
Mounir IDRASSI ec8a6d9b82 Windows MSI: avoid duplicated entry for VeraCrypt when installing MSI over an EXE based installation 2021-08-30 00:27:43 +02:00
Mounir IDRASSI 81ed4e68f7 Windows: Remove unused certificate files 2021-08-30 00:27:35 +02:00
Mounir IDRASSI d7feaec833 Windows: Update signed Windows driver to version 1.25.0.0 2021-08-30 00:27:27 +02:00
Mounir IDRASSI 96c2effc2b Windows: Add latest 1.25 EFI bootloader files that are signed by Microsoft that come with the following modifications: - Fix memory leak in some cases caused by wrong check of pointer for calling MEM_FREE - Clear bootParams variable that may contain sensitive information when halting the system in case of fatal error - Add option "KeyboardInputDelay" in DcsProp to control the minimum delay supported between two key strokes 2021-08-30 00:27:19 +02:00
Mounir IDRASSI c048e5dae5 Increment version to 1.25 2021-08-30 00:27:10 +02:00
Mounir IDRASSI fb1a4893b8 Windows: Fix some VS static analyzed warnings 2021-08-30 00:26:57 +02:00
Mounir IDRASSI d9e1d57a53 Windows Driver: use functions from ntstrsafe.h instead of strsafe.h since they are destined for kernel mode 2021-08-30 00:26:50 +02:00
Mounir IDRASSI d33c5b6f08 Windows: Set minimal supported version to Windows 8 since our driver is now signed only SHA256 2021-08-30 00:26:42 +02:00
Mounir IDRASSI 78c2fe2562 Windows Exe Setup: Add ARM64 binaries to FileInUse detection 2021-08-30 00:26:34 +02:00
Mounir IDRASSI e948c5e0a3 Windows MSI: Don't reboot if /norestart is specified (which is equivalent to REBOOT=REALLYSUPPRESS) 2021-08-30 00:26:27 +02:00
Mounir IDRASSI aab6feabaa Windows: Remove sign-sha256.bat since now the default sign.bat only uses SHA256 2021-08-30 00:26:19 +02:00
Mounir IDRASSI 2216f739c4 Update copyright year to 2021 2021-08-30 00:26:11 +02:00
Mounir IDRASSI adc21bd1ab Linux: Build .deb packages with Ayatana application indicator support (Ubuntu >= 18.04, Debian >= 10) 2021-08-30 00:26:03 +02:00
Mounir IDRASSI efe1c59461 Windows: Update IDRIX SHA-256 code signing certificate to latest one 2021-08-30 00:25:54 +02:00
Mounir IDRASSI 09206053d5 Windows Driver: Potential memory corruption caused by integer overflow in IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES (reported by I.V. Sprundel) 2021-08-24 09:29:24 +02:00
Mounir IDRASSI f462160542 Linux: Add missing veracrypt.xml file used for mime type handling 2021-08-23 08:57:22 +02:00
Mounir IDRASSI 320bead09f Windows: Update signing script to use newly issued IDRIX EV code signing certificate (22-08-2021) 2021-08-23 00:05:25 +02:00
Mounir IDRASSI 3ac533860c macOS: During install, set libfuse.2.dylib as symbolic link to libosxfuse.2.dylib if it doesn't already exist 2021-08-23 00:05:17 +02:00
Mounir IDRASSI 7df5a58adc Linux: Better Linux desktop integration. Add mount.veracrypt script for fstab (proposed by unit193 at https://github.com/veracrypt/VeraCrypt/issues/814) 2021-08-21 22:36:48 +02:00
Mounir IDRASSI 49a1252306 Fix typo in GraphicUserInterface.cpp 2021-08-21 22:36:40 +02:00
Mounir IDRASSI e001642f86 Language XML files: remove duplicated entry and fix MOUNT_POINT entry 2021-08-21 19:18:45 +02:00
Mounir IDRASSI e570402983 German language XML file: charge order of "MOUNT_POINT" entry to match other language files 2021-08-21 19:18:36 +02:00
Mounir IDRASSI 0809f456d9 Linux/macOS: print LANG environment variable to console only in DEBUG mode 2021-08-21 19:18:28 +02:00
Mounir IDRASSI fd9412e6ac Language.xml: remove wrong character from MOUNT_POINT entry 2021-08-21 19:18:21 +02:00
Unit 193andGitHub 849cd010e8 Add compile-time toggleable support for application indicators, off by default. (#815)
This tries to figure out, via wx-config, if you're using GTK2 or GTK3
and uses the associated Ayatana library.
2021-08-16 00:54:21 +02:00
Mounir IDRASSI b1323cabae Increment version to 1.24-Update9-Beta-21-08-15 2021-08-16 00:26:54 +02:00
Mounir IDRASSI 40c7309917 MacOSX: Use 11.3 SDK from Xcode 12.5.1 2021-08-16 00:26:45 +02:00
Mounir IDRASSI d448713e61 MacOSX: Make AESNI availability linked to compiler target and not compilation host 2021-08-16 00:26:37 +02:00
Mounir IDRASSI 8ae5a715d6 MacOSX: First native Apple M1 support 2021-08-15 01:07:17 +02:00
Mounir IDRASSI 33baca7261 Windows: Increment version to 1.24.25.3 and update signed Windows driver 2021-08-15 01:07:03 +02:00
AlexandGitHub 22b0454b81 Added compatibility with GNU GCC 11 Toolchain (#811)
This fixes compilation issues when using GNU GCC >=11 where parameter -std=gnu++17 is used by default. Resolves #802
2021-08-07 21:42:51 +02:00
Mounir IDRASSI 4b98ff0e98 Windows: Better implementation of PRF autodetection optimization. 2021-08-07 20:47:07 +02:00
Mounir IDRASSI aeba32ba8b Windows Driver: fix BSOD during mounting caused by commit for PRF auto-detection speedup 2021-08-07 20:47:00 +02:00
Mounir IDRASSI a505f3d98b Windows: Fix wrong detection of ARM architecture 2021-08-02 01:17:59 +02:00
Mounir IDRASSI 17a3c3dbe0 Update Release Notes with latest changes for upcoming 1.24-Update9 2021-08-02 00:57:39 +02:00
Mounir IDRASSI ad1b91bf6f Windows: Increment version to 1.24.25.2 and update signed Windows driver 2021-08-02 00:57:32 +02:00
Mounir IDRASSI 6986dce63e Windows: clear DeriveKeyWork work item only if they have correct type 2021-08-02 00:57:25 +02:00
Mounir IDRASSI 2e32adf625 Windows: Avoid leaking sensitive values in work item of threads pool 2021-07-15 00:21:17 +02:00
Mounir IDRASSI fdf7888ab3 Windows: Reduce time of mount with PRF auto-detection 2021-07-14 23:59:42 +02:00
Mounir IDRASSI b98606e390 Windows: Fix compilation error of bootloader caused by introduction of strsafe.h in crypto.c 2021-07-14 23:59:37 +02:00
Mounir IDRASSI ad544681c7 Linux/macOS: re-order PRF algorithms from faster to slower for quicker autodetection mounting when usual algorithms used 2021-07-14 23:59:31 +02:00
Mounir IDRASSI 2fb4489e22 Windows: Remove unused files 2021-07-14 14:14:23 +02:00
Mounir IDRASSI 66acbbf6a3 Windows: Copy ARM64 binaries when creating Traveler Disk and when VeraCrypt is installed 2021-07-14 14:07:15 +02:00
Mounir IDRASSI d6402ac146 Windows: Use only SHA256 certificate for code signature verification since SHA1 certificate is not used anymore. 2021-07-14 14:07:08 +02:00
chasonrandGitHub 94cd0a477f Make compatble with pam_tmpdir (#793)
If pam_tmpdir is in use, use the temporary directory for the sudoing
user, rather than that for root.
2021-07-14 13:55:15 +02:00
MrLightningBoltandGitHub 7c3355a2d1 Make system devices work under FreeBSD (#777)
We query the kern.geom.conftxt sysctl for the GEOM configuration to find
the partition offset. Technically speaking it would probably be better
to link against libgeom but this is less overall intrusive. Also
includes a small fix to find the parent device of an encrypted partition
when it is a GPT partition rather than a BSD slice.
2021-07-14 13:48:13 +02:00
kokokodakandGitHub c8830a04b4 Add support for OpenBSD (#779)
* OpenBSD: add basic support

	modified:   Build/Include/Makefile.inc
	modified:   Driver/Fuse/FuseService.cpp
	modified:   Main/FatalErrorHandler.cpp
	modified:   Makefile
	modified:   Platform/Unix/File.cpp
	modified:   Platform/Unix/FilesystemPath.cpp
	modified:   Platform/Unix/SystemInfo.cpp

* OpenBSD: some necessary files were missing

	new file:   Core/Unix/OpenBSD/CoreOpenBSD.cpp
	new file:   Core/Unix/OpenBSD/CoreOpenBSD.h
	new file:   Core/Unix/OpenBSD/System.h
2021-07-14 13:43:34 +02:00
sfringsandGitHub 0ff7f4548a Update Language.de.xml (#751) 2021-07-14 13:38:47 +02:00
Mounir IDRASSI 90d4b32ae6 Windows: Update sign.bat to remove SHA1 signing and add ARM64 binaries to the signing process alongside MSI custom action dll 2021-07-13 23:45:09 +02:00
Mounir IDRASSI b9c93d7451 Windows: Update signed Windows driver to version 1.24.25.1 2021-07-13 23:12:55 +02:00
Mounir IDRASSI c374782436 Windows: replace insecure wcscpy/wcscat/strcpy runtime functions with secure equivalents
This fixed failure to build driver for ARM64 with latest VS 2019
2021-07-13 22:08:02 +02:00
Mounir IDRASSI dce6d76b81 Windows: Fix link error on ARM64 with latest VS2019 (undefined __stdio_common_vswprintf symbol) 2021-07-13 22:07:55 +02:00
Mounir IDRASSI d3489f4771 Windows: Fix compilation error on ARM64 caused by definition of UINT64_MAX 2021-07-13 22:07:49 +02:00
Mounir IDRASSI 62d3c9eacd Add BTC SegWit donation address 2021-04-13 15:34:58 +02:00
Mounir IDRASSI 32976931ee Windows: add Visual Studio build artifacts to .gitignore file 2021-03-22 08:03:06 +01:00
Mounir IDRASSI ee79ff0579 Windows: first implementation of MSI installer for silent mode deployment (ACCEPTLICENSE=YES must be set in msiexec command line) 2021-03-22 08:03:01 +01:00
bda0880453 Adding more Turkish translations (#744)
* Adding more Turkish translations

This change is translating some still English lines to Turkish

* Fixing typo

Co-authored-by: Özgür Pekçağlıyan <zgrw@users.noreply.github.com>
2021-02-28 09:42:59 +01:00
江南一根葱andGitHub 23bcd7fb33 update Simplified Chinese translation (#747) 2021-02-28 09:41:13 +01:00
Mounir IDRASSI 8397c66bf3 Windows: Load UrlUnescapeW dynamically from Shlwapi.dll and use safe URL opening starting from Vista only since security mechanism doesn't apply to Windows XP. 2021-02-27 23:25:47 +01:00
Mounir IDRASSI c6d63e9365 Windows: Block Windows from resizing system partition if it is encrypted. This avoid issues during Windows Upgrade that sometimes resizes system partition which create problems if it is encrypted by VeraCrypt 2021-02-27 23:07:10 +01:00
Mounir IDRASSI c1e81d9692 Windows: Fix failure to launch keyfile generator in secure desktop mode
Hooking is not allowed if thread is running in secure desktop so we ignore SetWindowsHookEx failure in this case and random generator will be initialized using the other entropy sources from the system.
2021-02-24 21:51:00 +01:00
Mounir IDRASSI 7efe4e4f2a Windows: Fix freeze when password dialog displayed in secure desktop and try to access token keyfiles protected by PIN 2021-02-24 21:50:52 +01:00
Mounir IDRASSI 0eace45cea Windows: Fix failure to load local HTML documentation if application running with administrative privileges
In this case, FileExists was called on a path with format "file:///..." and containing escape sequences, which was not recognized.
2021-02-21 18:57:27 +01:00
thewh1teagleandGitHub 13a1b3482c Hebrew translation (#725)
* Added Translations/Language.he.xml

* translate

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* fixed RTL points

* changes

* Removed hebrew string vowels

* changes

* Changed Makefile path

* changes

* changes

* fixed strings with variables
2021-02-21 10:18:43 +01:00
T-BonhagenandGitHub 874d29390f fix Program freeze Volume Creation Wizard linux (#726) 2021-02-21 10:16:24 +01:00
alt3r 3goandGitHub c802db448d interface: add keyboard shortcut to "TrueCrypt mode" in the mount dialog (#729)
I've also updated all the relevant language files.

Closes #95.

Signed-off-by: alt3r 3go <alt3r.3go@protonmail.com>
2021-02-21 10:11:32 +01:00
Seia-SotoandGitHub d43f374189 Improve Korean translations (#733) 2021-02-21 10:09:56 +01:00
Thomas De RockerandGitHub 00365cb193 Update Language.nl.xml (#734)
- Make some strings longer to enhance reading (no abbreviations)
- Some small grammatical fixes
2021-02-21 10:09:08 +01:00
Mounir IDRASSI 65ab045691 Language translations: Update Hungarian translation from Transifex 2021-01-06 06:36:17 +01:00
Mounir IDRASSI 53749d4b06 Language Translations files: update polish translation 2021-01-04 23:13:48 +01:00
Mounir IDRASSI 441babf069 Increment version to 1.24-Update9 2021-01-02 01:16:57 +01:00
Mounir IDRASSI 0944b68933 Revert "Windows: Don't check for availability of 32KB of free space for bootloader in UEFI boot mode"
More work is needed to reduce the 32KB free space requirement without creating regressions.
2021-01-02 01:16:48 +01:00
Mounir IDRASSI 3281b276b6 Windows: Fix various warnings 2021-01-02 01:16:40 +01:00
Mounir IDRASSI 9881744c95 Windows: Add support for ARM64 platform (e.g. Microsoft Surface Pro X). System encryption still not implemented on ARM64 2021-01-02 01:16:31 +01:00
Mounir IDRASSI dc3700e8bb Windows: Fix issue in preserving last access timestamp of file containers when creating hidden volumes in direct mode inside them 2021-01-02 01:16:23 +01:00
Andreas BeckerandGitHub 9277ea9700 adding a sponsor button to repository (#720)
this commit will add a sponsor button to the repository,
pointing to the donation page of the veracrypt website.

more information on github documentation under https://git.io/JL9e6
2020-12-30 05:12:35 +01:00
Andreas BeckerandGitHub 3139066509 added probot configuration (#719)
this commit includes the configuration for the github-app
probot. more information can be found here:
https://probot.github.io/apps/stale/
2020-12-30 05:06:47 +01:00
ceacda7d80 Added a bug, change and feature template (#716)
Co-authored-by: Andreas Becker <mail@andreasbecker.de>
2020-12-29 01:05:47 +01:00
Mounir IDRASSI 575d4ec624 Update Release Notes with latest changes for upcoming 1.24-Update9 2020-12-23 01:20:42 +01:00
Mounir IDRASSI 73ef6b6f19 Documentation: Update USD donation bank details 2020-12-23 01:20:35 +01:00
Mounir IDRASSI d10739a45e Linux/MacOSX: make LanguageStrings.cpp build depend on Language.xml.h since it uses it 2020-12-20 01:22:25 +01:00
Mounir IDRASSI 4b9bfecf6a Linux: fix build error with old gcc compilers that don't have std::getenv 2020-12-20 01:22:16 +01:00
Ettore AtalanandGitHub 55913322f8 Improve German translation (#714)
Fix some typos and improve grammar.
2020-12-17 00:11:29 +01:00
Mounir IDRASSI c7637cbfa9 replicate change of "processors" with "logical processors" 2020-12-13 19:07:53 +01:00
Mounir IDRASSI 4f23267240 Language Translations: fix invalid escape sequence in untranslated entry in XML files 2020-12-13 13:02:22 +01:00
Mounir IDRASSI d12faf5b57 Fix invalid escape sequence in Language.xml 2020-12-13 01:54:47 +01:00
Mounir IDRASSI e42323802b Language Translations: fix invalid escape sequence in XML files 2020-12-13 01:32:02 +01:00
Mounir IDRASSI 1157971784 Windows: Update signed drivers to version 1.24.24 2020-12-13 01:00:47 +01:00
Mounir IDRASSI 68e439ebd7 MacOS: make legacy installer compatible with macFUSE 4.0.x 2020-12-13 01:00:39 +01:00
Ettore AtalanandGitHub 49aa403e0a Improve German translation (#712)
Make wording more consistent, replace Anglicisms and correct typos.
2020-12-13 00:46:22 +01:00
Thomas De RockerandGitHub 4b784ae55c Update Language.nl.xml (#711) 2020-12-13 00:45:38 +01:00
nkh0472andGitHub 86bd274376 Translate part of new strings into zh-CN. (#710)
* Translate part of new strings.

* Update Language.zh-cn.xml

* Update Language.zh-cn.xml
2020-12-13 00:41:59 +01:00
Mounir IDRASSI 21674c6aec Windows: Fix various compiler warnings 2020-12-11 23:42:14 +01:00
Mounir IDRASSI b48d437c80 Windows Driver: Fix build error using Windows 10 WDK caused by name conflict for KeSaveExtendedProcessorState/KeRestoreExtendedProcessorState functions 2020-12-11 23:42:08 +01:00
nkh0472andGitHub c44127fe3b Make the expression clearer. (#705)
Distinguish between the number of logical and physical processors.
2020-12-11 20:53:54 +01:00
nkh0472andGitHub 81d7d1e1ae Improve translations for Chinese (#704) 2020-12-11 20:27:57 +01:00
Mounir IDRASSI 99f21a16bf Language translations: Add newly added Linux entries to the XML files of supported languages 2020-12-11 19:01:23 +01:00
T-BonhagenGitHubtb@tbon.de <tb@tbon.de>
38ad7650ac new xml Tag for en and de (#708)
* new xml Tag for en and de

* add linux support for env LANG

* precopiled header into TrueCrypt.fdp to substitute '_()' with 'LangString[]'

* more LangString in Code

* add Language xml's to Linux Setup location

* backup language for linux is en

* remove Language.en.xml install

* rearange new xml lines to end

* yes/no dialogs now translated

* All OK/Cancel Button now support international

Co-authored-by: tb@tbon.de <tb@tbon.de>
2020-12-11 18:42:59 +01:00
Mounir IDRASSI cb7adbfa26 Windows: Don't check for availability of 32KB of free space for bootloader in UEFI boot mode since in this case bootloader will be stored in EFI partition and not in the unallocated space at the beginning of the drive 2020-12-11 02:12:07 +01:00
Mounir IDRASSI 20e0247471 Crypto: small speed optimization of Streebog and removal of unused macro 2020-12-11 02:11:59 +01:00
Gokturk YuksekandGitHub 5878486f56 src/Makefile: replace explicit calls to gcc with $(CC) (#706)
The Makefile should respect the value of CC even when performing
build-related tests.

Bug: https://bugs.gentoo.org/756787
2020-12-11 02:08:42 +01:00
Mounir IDRASSI 5db0ee25ff MacOSX: update build script to use 11.0 SDK while still targetting 10.9 2020-11-29 00:52:30 +01:00
Mounir IDRASSI e6000a654a Update Release Notes for 1.24-Update8 version for MacOSX 2020-11-29 00:52:23 +01:00
Mounir IDRASSI 81ba939b82 Increment version to 1.24-Update8 in sign script 2020-11-29 00:52:15 +01:00
Mounir IDRASSI 4a5e5735a5 Increment version to 1.24-Update8 2020-11-29 00:52:07 +01:00
Mounir IDRASSI dea28725c8 MacOSX: make installer compatible with macFUSE 4.0 and restriction to INTEL cpu to support new M1 cpu 2020-11-29 00:51:59 +01:00
Mounir IDRASSI 0015420c43 MacOSX: always use "pkg-config fuse" for linking since recent versions of osxfuse 3.x support this 2020-11-29 00:51:51 +01:00
Mounir IDRASSI 27ad5c3c8c MacOSX: ignore build artifacts 2020-11-29 00:51:44 +01:00
Mounir IDRASSI 5f08b45dcd MacOSX: revert part of changes of commit "Fixed macFUSE support for macOS 11 (Big Sur)"
We only changes related to the fix
2020-11-29 00:51:37 +01:00
harryytmandGitHub 14acc639e1 Update Chinese (Hong Kong) translation (#674)
* Update Chinese (Hong Kong) translation

- replace Mainland China wordings with Hong Kong wordings
- correcting size unit to use KiB, MiB, GiB, TiB
- using Windows default Chinese Traditional fonts

* Update Language.zh-hk.xml

* Update Language.zh-hk.xml

- translated some untranslated lines
- minor wording refinements

* Update Language.zh-hk.xml

daily commit for translation progress

* Update Language.zh-hk.xml

* Update Language.zh-hk.xml

* Update Language.zh-hk.xml

* Update Language.zh-hk.xml

* Update Language.zh-hk.xml

* Update Language.zh-hk.xml

* translated some more untranslated strings

* Update Language.zh-hk.xml
2020-11-28 17:11:25 +01:00
Thierry LelegardandGitHub 66e550d11f Fixed macFUSE support for macOS 11 (Big Sur) (#699) 2020-11-28 17:10:51 +01:00
Thomas De RockerandGitHub 719f32fa77 Update Language.nl.xml (#701)
Very small Dutch update (1 string)
2020-11-25 22:32:59 +01:00
Mehmet KeçeciandGitHub 247cb4bbac Some untranslated fields have been translated (#685) 2020-11-25 22:32:30 +01:00
Mounir IDRASSI ea9def1a86 Documentation: Update list of Supported Operating Systems 2020-08-26 08:31:16 +02:00
Mounir IDRASSI 1fb59b58ee Linux: Reduce minimal size requirement for BTRFS support to 16 MiB by using mixed mode for volumes whose size is less than 109 MiB 2020-08-26 08:31:10 +02:00
Mounir IDRASSI 0ab412a8de Revert "Update Chinese (Hong Kong) translation (#672)"
This reverts commit 578383a126.
2020-08-15 22:04:25 +02:00
harryytmandGitHub 578383a126 Update Chinese (Hong Kong) translation (#672)
* Update Chinese (Hong Kong) translation

- replace Mainland China wordings with Hong Kong wordings
- correcting size unit to use KiB, MiB, GiB, TiB
- using Windows default Chinese Traditional fonts

* Update Language.zh-hk.xml

* Update Language.zh-hk.xml

- translated some untranslated lines
- minor wording refinements
2020-08-15 15:53:18 +02:00
Mounir IDRASSI 42890b7b11 MacOSX: Enable c++11 in compiler for non-legacy build. 2020-08-08 20:29:34 +02:00
Mounir IDRASSI b764926bd3 Linux/FreeBSD: Fix build error using older compilers 2020-08-08 00:04:52 +02:00
Mounir IDRASSI e7a9898273 Set release date of 1.24-Update7 to August 7th 2020 2020-08-07 14:10:33 +02:00
Mounir IDRASSI 7d39e83655 Linux: Fix detection of available filesystem formatters 2020-08-07 14:10:27 +02:00
Mounir IDRASSI 847da0ccdf Increment internal version to 1.24.23 and update release notes 2020-08-06 18:48:59 +02:00
Mounir IDRASSI cb7fb0a46a Windows: Fix crash when using portable 32-bit "VeraCrypt Format.exe"/"VeraCrypt.exe" on a 64-bit machine where VeraCrypt is already installed 2020-08-06 18:48:52 +02:00
Mounir IDRASSI f3bc81dc70 Correct entry in "Release Notes.html" 2020-08-06 01:09:39 +02:00
Mounir IDRASSI 249077ab79 Fiw typo in "Release Notes.html" 2020-08-06 00:43:28 +02:00
Mounir IDRASSI 485ebc33d9 Increment internal version to 1.24.22 and update release notes 2020-08-06 00:36:59 +02:00
Mounir IDRASSI 75c13c9b7b Windows: Fix wrong error message when UTF-8 encoding of entered password exceeds the maximum supported length. 2020-08-06 00:36:51 +02:00
Mounir IDRASSI b0a6377878 Windows: Display a warning during system encryption wizard when typed password reaches maximum length and inform user that no more characters are allowed and that they are ignored. 2020-08-06 00:36:44 +02:00
Mounir IDRASSI 709964e156 Windows: Display warning message with correct maximum length value when password is truncated 2020-08-06 00:36:37 +02:00
Mounir IDRASSI 388e44c809 Linux: Add support for Btrfs filesystem when creating volumes 2020-08-05 02:08:12 +02:00
Mounir IDRASSI c8b501062d Documentation: remove size specifiers for images in HTML files 2020-08-03 23:34:42 +02:00
Mounir IDRASSI ac87f561a8 Revert "Windows: Add latest 1.24 EFI bootloader files that are signed by Microsoft that come with the following modifications: - Fix memory leak in some cases caused by wrong check of pointer for calling MEM_FREE - Clear bootParams variable that may contain sensitive information when halting the system in case of fatal error - Add option "KeyboardInputDelay" in DcsProp to control the minimum delay supported between two key strokes"
This reverts commit 7241b18794.
2020-08-03 18:41:49 +02:00
Mounir IDRASSI 7241b18794 Windows: Add latest 1.24 EFI bootloader files that are signed by Microsoft that come with the following modifications: - Fix memory leak in some cases caused by wrong check of pointer for calling MEM_FREE - Clear bootParams variable that may contain sensitive information when halting the system in case of fatal error - Add option "KeyboardInputDelay" in DcsProp to control the minimum delay supported between two key strokes 2020-08-03 18:14:37 +02:00
Mounir IDRASSI 52a78ee3b4 Increment internal version to 1.24.21 and update release notes 2020-08-03 18:14:30 +02:00
Mounir IDRASSI bd78c9d0af Windows: Fix issue in UI for configuration autofix mechanism of bootloader 2020-08-03 18:14:22 +02:00
Mounir IDRASSI 9da8fc669b Windows: Use correct parameters for 2nd call to SetStartExec in BootEncryption::InstallBootLoader 2020-08-03 15:13:03 +02:00
xiaolangdeandGitHub 3f25b281e7 Windows Bootloader: pass correct compressed data size to decompressor. Because the ds segment register is modified when setting up the decompressor segment, loader length should be read from the cs segment. (#666) 2020-08-03 15:08:25 +02:00
Mounir IDRASSI 75e11add78 Windows: Fix UI for blocking TRIM in system encryption not working in MBR boot mode 2020-08-02 18:48:48 +02:00
Mounir IDRASSI fb505b71f5 Windows: use fix for CVE-2019-19501 only if standard Windows Shell is running since we rely on it for the implementation of the fix. If Windows Shell has been modified or is not running, then we can't really protect the user is such non standard environment 2020-08-02 18:05:15 +02:00
Mounir IDRASSI 7702095ed0 Windows: Don't use HRESULT macros SUCCEEDED to check if WinVerifyTrust succeeded. Instead, check the return value for equality to zero. 2020-07-29 01:32:39 +02:00
Mounir IDRASSI a5cba00357 Language translations: Update Italian translation from Transifex 2020-07-28 17:32:14 +02:00
Mounir IDRASSI 378e67df61 Language translations: Update Hungarian translation from Transifex 2020-07-28 17:32:08 +02:00
Mounir IDRASSI 25c4d3efa1 Documentation: Update Beginner's Tutorial to use "MyVolume.hc" instead of "My Volume" for file container name in order to avoid confusion about nature of file nature for beginners who expect a file to always have an extension (cf https://github.com/veracrypt/VeraCrypt/issues/663) Update screenshots to reflect changes in VeraCrypt UI 2020-07-28 17:32:02 +02:00
Mounir IDRASSI c9b5c1073d Windows: Don't allow a directory path to be entered for the file container to be created in Format wizard 2020-07-28 17:31:54 +02:00
Thomas De RockerandGitHub 5649a8b20d Update Language.nl.xml (#665) 2020-07-28 16:06:16 +02:00
Mounir IDRASSI 27a45037df Remove unused variable in Streebog implementation 2020-07-25 22:52:38 +02:00
Mounir IDRASSI 29c3000007 Linux: Update wxWidgets for static builds to version 3.0.5 2020-07-25 22:52:30 +02:00
Mounir IDRASSI 3e1464405d Language translations: Update Hungarian translation from Transifex 2020-07-25 22:52:23 +02:00
Mounir IDRASSI e9e0a35fc3 Language Translations: Update Hungarian translation from Transifex 2020-07-25 09:58:37 +02:00
Mounir IDRASSI 948a871c73 Windows: update libzip to latest version 1.7.3 (close issue #656) 2020-07-24 19:42:48 +02:00
Ettore AtalanandGitHub 5cf7d946d2 Update German translation (#664)
Translated newly added strings.
2020-07-23 17:34:59 +02:00
Mounir IDRASSI 09b8ae1775 Windows Setup: rename installers signed with SHA-1 to "VeraCrypt Legacy" and key "VeraCrypt" name for installers signed only with SHA-256 2020-07-22 23:54:59 +02:00
Mounir IDRASSI b6b6710d2b Windows: Add possibility to sign binaries using SHA256 only. This fixes Windows Smart Screen warning when launching installer 2020-07-22 23:54:53 +02:00
Mounir IDRASSI c4a6269c8c Language XML files: update Czech translation (contributed by Lagardere) 2020-07-22 23:54:47 +02:00
Mounir IDRASSI 13d6d75b35 Language XML files: update Russian XML file by Dmitry Yerokhin. 2020-07-22 19:31:42 +02:00
Mounir IDRASSI 5cac6178e9 Language Translations files: update polish translation 2020-07-22 18:10:07 +02:00
Mounir IDRASSI 699a0a3ca5 Increment internal version to 1.24.20 and update release notes 2020-07-22 17:28:06 +02:00
Mounir IDRASSI 587e6db4f1 Windows: Warn about Fast Startup if it is enabled during system encryption or volume creation and propose to disable it 2020-07-22 17:27:59 +02:00
Mounir IDRASSI 1c3e4fd0ee XML Language files: update Chinese translation 2020-07-22 17:27:52 +02:00
Mounir IDRASSI 12e9d1ae48 Language translations: Add newly added entries to the XML files of supported languages 2020-07-21 12:47:35 +02:00
Mounir IDRASSI 290412afce Windows Setup: Warn about Fast Startup during install if it is enabled and propose to disable it at the end of the installation. 2020-07-21 12:47:28 +02:00
Mounir IDRASSI f9782fb3f6 Windows: Implement detection of Hibernate and Fast Startup and disable them if RAM encryption is activated. 2020-07-21 12:47:20 +02:00
Mounir IDRASSI 425e4e7d36 Enable FIPS mode in JitterEntropy random generator in order to let the function jent_read_entropy report failure if any of the continuous statistical tests fail. 2020-07-15 00:01:54 +02:00
Mounir IDRASSI ea256a669a Language XML files: update German translation (Ettore Atalan) 2020-07-09 22:44:07 +02:00
Mounir IDRASSI ca5e3fcce7 XML Language files: update Chinese translation 2020-07-09 18:29:31 +02:00
Thomas De RockerandGitHub 7661c364c9 Update Language.nl.xml (#654)
Added/updated some Dutch translations
2020-07-09 13:08:29 +02:00
Mounir IDRASSI d94941adb9 Language Translations files: update polish translation 2020-07-09 00:21:34 +02:00
Mounir IDRASSI d5282eb708 Language XML files: update Russian XML file by Dmitry Yerokhin. 2020-07-09 00:21:26 +02:00
Mounir IDRASSI a63d63c762 Language XML files: update Czech translation (contributed by Lagardere) 2020-07-09 00:21:17 +02:00
Mounir IDRASSI 234a87a9e4 Language translations: Add newly added entries to the XML files of supported languages 2020-07-08 02:16:14 +02:00
Mounir IDRASSI afc11eca51 Windows: Add UI options to control the behavior of automatic bootloader fixing when System Encryption used. 2020-07-08 02:16:06 +02:00
Mounir IDRASSI 023ac6b76f XML Language files: update Chinese translation 2020-07-08 02:15:58 +02:00
Mounir IDRASSI 4c6b5df80b Update Release Notes with latest Windows change (password drag-n-drop support) 2020-07-06 18:19:01 +02:00
Mounir IDRASSI 3daaae0d48 Windows: correctly wipe password in UI input field in case of direct creation of Hidden volume or resuming non-system in-place encryption 2020-07-06 18:18:54 +02:00
Mounir IDRASSI ff391d9a6a Windows: Support direct password drag-n-drop from external applications (e.g. KeePass) which is more secure than using clipboard. 2020-07-06 18:18:47 +02:00
Mounir IDRASSI b54729de48 XML Languages files: Update Finnish translations (https://sourceforge.net/p/veracrypt/tickets/360/) 2020-07-04 00:46:52 +02:00
Mounir IDRASSI 7a87141e53 Increment internal version to 1.24.19 2020-07-04 00:46:44 +02:00
Mounir IDRASSI c92459b3f6 Language XML files: update Czech translation (contributed by Lagardere) 2020-07-02 23:07:07 +02:00
Mounir IDRASSI fbf763e88a Language XML files: update Russian XML file by Dmitry Yerokhin. 2020-07-02 23:07:00 +02:00
Mounir IDRASSI e6712edea7 Language Translations files: update polish translation 2020-07-02 17:03:53 +02:00
Ettore AtalanandGitHub d9fb752117 Update German translation (#653) 2020-07-02 16:34:24 +02:00
Mounir IDRASSI 002a9a29a7 Windows: Use native Windows format program first to perform formatting since it is more reliable and only fallback to FormatEx function from fmifs.dll in case of issue. 2020-07-02 02:21:25 +02:00
Mounir IDRASSI 28c51228f8 Windows: Hide the console windows of the native Windows format tool when we call it to perform formatting 2020-07-02 02:21:16 +02:00
Mounir IDRASSI 6dab32086f Language translations: Add newly added entry to the XML files of supported languages 2020-07-02 02:21:08 +02:00
Mounir IDRASSI 9a804654f5 Windows: Don't allow to encrypt the system drive if it is already encrypted by BitLocker 2020-07-02 02:20:58 +02:00
Mounir IDRASSI ac3cccdd21 Windows: Replace GetSystemInfo calls by more reliable function to get number of CPUs active on the PC. 2020-07-02 02:20:50 +02:00
Mounir IDRASSI 3f587a3629 Windows: Don't use API for Processor Groups support if there is only 1 CPU group in the system. This can fix slowness issue observed on some PCs with AMD CPUs. 2020-07-02 02:20:42 +02:00
Mounir IDRASSI 5f04e5abd0 Linux/MacOSX: Allow choosing a filesystem other than FAT for outer volume but display warning about risks and implement an estimation of maximum possible size of hidden volume in this case. 2020-07-02 02:20:33 +02:00
Mounir IDRASSI 2ca867ef5d XML Language files: update Chinese translation 2020-06-30 01:02:53 +02:00
Mounir IDRASSI 0127a7bf56 Language XML files: update Czech translation (contributed by Lagardere) 2020-06-30 01:02:46 +02:00
Mounir IDRASSI 23d64ab195 Increment internal version to 1.24.18 and update signed Windows drivers. 2020-06-29 01:00:02 +02:00
Mounir IDRASSI 14fa3de4b6 Windows: Fallback to Windows native formatting tool if we fail to format a volume as NTFS/exFAT/ReFS using FormatEx function from fmifs.dll 2020-06-29 00:59:54 +02:00
Mounir IDRASSI 7ee5c671e9 Language XML files: update Russian XML file by Dmitry Yerokhin. 2020-06-29 00:59:47 +02:00
Mounir IDRASSI a8abe94992 Windows: Avoid displaying waiting dialog when /silent specified for "VeraCrypt Format" during creating of file container using /create switch and a filesystem other than FAT (fixes Github issue #648) 2020-06-29 00:59:39 +02:00
Mounir IDRASSI 934f9efe09 Language XML files: update Russian XML file by Dmitry Yerokhin. 2020-06-28 01:06:47 +02:00
Mounir IDRASSI 885cc1d01d Linux/MacOSX: Erase sensitive memory explicitly instead of relying on the compiler not optimizing calls to method Memory::Erase 2020-06-28 01:06:39 +02:00
Mounir IDRASSI fded83d25c Windows: Fix build error because of missing definition of the macro move_ptr 2020-06-28 01:06:30 +02:00
Mounir IDRASSI b9099d01c2 Windows: Fix failure to detect suspension of machine that caused mounted volume not be dismount even if "Entering power saving mode" is checked in Preferences. This fix implements compatibility with Windows 10 Modern Standby and Windows 8.1 Connected Standby power model. 2020-06-28 01:06:22 +02:00
Mounir IDRASSI b270a453aa Windows: remove unused code targeting Windows 2000. 2020-06-28 01:06:14 +02:00
Mounir IDRASSI 61aec8a9a6 Language translations: Add newly added entry to the XML files of supported languages 2020-06-26 19:13:45 +02:00
Mounir IDRASSI 7cb9b8dfc9 Windows: Update signed driver to version 1.24.17 2020-06-26 19:13:37 +02:00
Thomas De RockerandGitHub 21a6acc708 Update Language.nl.xml (#646)
Update 1 string in Dutch language.
2020-06-26 17:23:34 +02:00
Thomas De RockerandGitHub a893b29749 Update Language.xml (#645)
fix typo
2020-06-26 17:23:07 +02:00
Mounir IDRASSI 5fb407cffe Linux/MacOSX: use standard std::shared_ptr instead of our custom implementation which is kept for compatibility with older compilers. We also introduce compatibility code for old compilers that don't define std::unique_ptr 2020-06-26 01:22:18 +02:00
Mounir IDRASSI 4137c5e15b Whirlpool: Remove unused "num" variable affectation in WHIRLPOOL_add 2020-06-26 01:22:10 +02:00
Mounir IDRASSI 53070f8bb5 Linux/MacOSX: fix warning reported by static code analysis tool about possible undefined output value in UserPreferences::SetValue and missing initialization of member variables in File constructor 2020-06-26 01:22:03 +02:00
Mounir IDRASSI 9a890ec2fc Windows: fix warning reported by static code analyzed by adding copy constructor to _TEXT_EDIT_DIALOG_PARAM and = operator to HostDevice 2020-06-26 01:21:54 +02:00
Mounir IDRASSI 7d1724e93b Crypto: Fix random crash in Streebog in 32-bit, caused by use of aligned SSE2 instructions _mm_load_si128. Now we use _mm_loadu_si128 instead which is not slower than _mm_load_si128 on recent CPUs 2020-06-25 01:32:39 +02:00
Mounir IDRASSI cb1efdc9ae Increment version to 1.24-Update7 2020-06-23 16:48:54 +02:00
Mounir IDRASSI cf449a443e Windows: Don't allow Hidden volume to have the same password, PIM and keyfiles as Outer volume 2020-06-23 16:48:46 +02:00
Mounir IDRASSI 4a5d1f4f46 Linux/MacOSX: explicitely clear saved password from memory at last step of volume creation wizard 2020-06-23 16:48:39 +02:00
Mounir IDRASSI 05b3cd5cc1 Linux/MacOSX: Use also PIM when comparing Outer and Hidden volumes credentials 2020-06-23 16:48:31 +02:00
Mounir IDRASSI b4465b80e6 Linux/MacOSX: take into account keyfiles when comparing Outer and Hidden volumes passwords 2020-06-23 16:48:24 +02:00
Mounir IDRASSI a29c750030 Linux/MacOSX: Don't allow Hidden volume to have the same password as Outer volume 2020-06-23 16:48:17 +02:00
Mounir IDRASSI bec929ce03 Windows Driver: Use real disk sector size instead of generic 512 bytes value when probing disk real size 2020-06-21 17:42:08 +02:00
Mounir IDRASSI a4c5f03bee Linux/MacOSX: Read at least 32 bytes from /dev/random before allowing it to fail gracefully 2020-06-21 17:42:03 +02:00
Mounir IDRASSI e97114e7a0 Windows: support RAM encryption only if t1ha2 algorithm self test succeeds 2020-06-21 00:27:22 +02:00
Mounir IDRASSI 0121dc0b81 Windows: Fix issue when RAM encryption used, AES selected and AES-NI not supported by CPU that caused the free space of newly created volumes not filled with random data even if "quick format" is not selected by user. 2020-06-21 00:27:15 +02:00
Mounir IDRASSI d031addc2c Windows: call VcProtectKeys in benchmark warm-up when RAM encryption is enabled in order to be follow the same execution path as the result of benchmark calculations. 2020-06-21 00:27:08 +02:00
Mounir IDRASSI 4f1de9666a Linux/MacOSX: Don't always ignore /dev/random failure by making sure that it has returned random bytes successfully at least once during the lifetime of RandomNumberGenerator 2020-06-19 03:31:47 +02:00
Mounir IDRASSI f765860dfb Linux/MacOSX: Complete the change of removal of AES-NI detection function done for Windows previously 2020-06-19 03:31:39 +02:00
Mounir IDRASSI 7ab114e0fa Windows: Fix wrong results in benchmark of encryption algorithms when RAM encryption is enabled 2020-06-19 01:28:14 +02:00
Mounir IDRASSI 0e3f4c40e3 Windows: remove duplicated function to detect AES-NI support in CPU 2020-06-19 01:28:07 +02:00
Mounir IDRASSI eaf400b088 Windows: Update IDRIX SHA-1 code signing certificate to latest one. 2020-06-12 01:48:17 +02:00
Mounir IDRASSI 6091100479 Translations: fix typo in VeraCrypt name. 2020-06-12 01:48:09 +02:00
Mounir IDRASSI a3fc6ce4ca Update donation page with new Euro bank account details 2020-06-12 01:48:02 +02:00
Christopher BergqvistandGitHub 0a2c565aa9 Switch from auto_ptr to unique_ptr (#638) 2020-06-11 18:02:28 +02:00
MichalandGitHub 8250e83e61 Update Language.pl.xml (#625)
* Update Language.pl.xml

Fixed HPA name & donate now

* Update Language.pl.xml

Fixed word: timeout
2020-06-11 17:26:02 +02:00
alt3r 3goandGitHub 4c2be261f7 Add .gitignore file for easier change tracking (#604)
Closes #87.

Signed-off-by: alt3r 3go <alt3r.3go@protonmail.com>
2020-06-11 17:22:22 +02:00
Ben MaresandGitHub 753c990502 Fix indentation in README.md (#596)
The commands in the instructions for Linux and Mac OS X were not displaying in typewriter font.
2020-06-11 17:22:01 +02:00
Thomas De RockerandGitHub f8e5c2018e Updated Dutch translations (based on Transifex project) (#587)
Completely reworked Dutch translations (in accordance to the Microsoft style guide, as much as possible). Translated using the dedicated Transifex project by Localization Lab. (https://www.transifex.com/otf/veracrypt/dashboard/)
If needed, a Winmerge report (for visual comparison) can be generated. 
Regards, Thomas De Rocker (RockyTDR)
2020-06-11 17:21:14 +02:00
키에르andGitHub 2f8507644a [Done] Update korean translate (#584)
* Update Language.ko.xml

* Update Language.ko.xml
2020-06-11 17:19:47 +02:00
Mounir IDRASSI 0127927b73 Windows: Update signed Windows driver to version 1.24.15 2020-03-11 14:01:41 +01:00
Mounir IDRASSI 99305d2239 Windows: Update Microsoft cross certificate for GlobalSign kernel code signing 2020-03-11 14:01:32 +01:00
Mounir IDRASSI 71c830522c Windows: set correct version 1.24-Update6 in code signing scripts 2020-03-10 20:49:22 +01:00
Mounir IDRASSI 5452728091 Windows: Update URL of GlobalSign timestamp server 2020-03-10 20:38:02 +01:00
Mounir IDRASSI 23b7d417d4 Increment version to 1.24-Update6 2020-03-10 20:37:54 +01:00
Mounir IDRASSI 5afa0815c9 Windows setup: Fix wrong language used in installer if we select a language in the language selection dialog and then select English followed by OK. 2020-03-10 20:20:50 +01:00
Mounir IDRASSI 329d4f1c90 Windows: Fix truncation of PIM label in password dialog 2020-03-10 20:20:42 +01:00
Mounir IDRASSI df9a075cb6 Update copyright year in credits 2020-03-10 10:33:45 +01:00
Mounir IDRASSI 4b6be1161b Windows: Add missing libzip file to the build project 2020-03-10 10:33:36 +01:00
Mounir IDRASSI 6bda9d1b35 Set release date of 1.24-Update5 and update release notes 2020-03-10 10:33:26 +01:00
Mounir IDRASSI 5402fa902e Windows: Add /secureDesktop switch to VeraCrypt Format 2020-03-10 10:33:18 +01:00
Mounir IDRASSI 752f1283a9 Documentation: Add entries for switches now supported by VeraCrypt Format (/keyfile, /tokenlib, /tokenpin and /secureDesktop) 2020-03-10 10:33:10 +01:00
Mounir IDRASSI da370af54b Windows: Update libzip to 1.6.1 2020-03-10 10:33:01 +01:00
Mounir IDRASSI 7d110798d2 Windows: Fix compilation error caused by previous keyfile commit 2020-03-10 10:32:53 +01:00
Mounir IDRASSI fa72ac51c4 Windows: Support using token keyfile when creating file container using command line 2020-03-10 10:32:45 +01:00
Mounir IDRASSI 6550030540 Windows: Fix keyfiles path passed as CLI argument and set as default not always cleared from RAM when VeraCrypt exits 2020-03-10 10:32:38 +01:00
Mounir IDRASSI 68b9c9c72d Windows: Fix text truncation in password dialog with some languages 2020-03-10 10:32:31 +01:00
Mounir IDRASSI 8fa1596e73 Increment version to 1.24-Update5 and update signed Windows drivers. 2020-02-11 23:05:48 +01:00
Mounir IDRASSI 94d3a1919c Windows: Implement support for processor groups in the driver and fix build issues caused by previous implementation 2020-02-10 02:23:25 +01:00
Mounir IDRASSI c1d670fd75 Windows: Fix warnings reported by Coverity static code analyzer 2020-02-10 02:23:18 +01:00
Mounir IDRASSI a7b61ce5e5 Windows: Fix groupbox alignment issue in UI of Fprmat wizard 2020-02-04 15:09:39 +01:00
techvintageandGitHub 123b187af5 Adding Processor Groups support for more than 64 processors (#581)
*  Adding Processor Groups support for more than 64 processors

* Revert " Adding Processor Groups support for more than 64 processors"

This reverts commit e1d5fe0a55.

* Adding Processor Groups support for >64 logical processors
2020-01-29 11:10:00 +01:00
Mounir IDRASSI 247a16cb5f Windows: restore Visual Studio solution and project files to default configuration 2020-01-22 18:30:30 +01:00
Mounir IDRASSI 81c5d777e8 Update Release Notes. 2020-01-22 18:20:42 +01:00
Mounir IDRASSI 11aa708076 Windows: use fix for CVE-2019-19501 only when process elevated otherwise it will not add any benefit compared to standard ShellExecute while at the same time potentially causing issue when opening links. 2020-01-22 18:20:35 +01:00
Mounir IDRASSI 3874e9af97 Increment version to 1.24-Update4 and update Release Notes 2020-01-22 18:20:27 +01:00
Mounir IDRASSI c4893ce034 Linux: correct OpenSUSE build script to indicate that we link against GTK2 and not GTK3 2020-01-22 18:20:18 +01:00
Mounir IDRASSI be1aee0034 Windows: Fix regression in Expander and Format when RAM encryption is enable that was causing volume headers to be corrupted. 2020-01-22 18:20:11 +01:00
Mounir IDRASSI 56775af8d7 Documentation: Add entries for newly added /protectMemory and /signalExit CLI switches 2020-01-22 18:20:03 +01:00
Mounir IDRASSI 21aeb4c5de Fix warning when using Korean translation caused by missing '\' escape sequence 2020-01-21 16:49:05 +01:00
Mounir IDRASSI 55831cad22 Windows: Support notifying WAITFOR.EXE Windows command when VeraCrypt.exe exits if /q was specified in CLI. This done using the new switch "/signalExit" who must have a string parameter that must be the same as the one that will be specified for WAITFOR.EXE command. 2020-01-21 01:46:18 +01:00
Mounir IDRASSI b6c290e4fd Windows: Fix failure of Screen Readers (Accessibility support) to reader UI by disabling newly introduced memory protection by default and adding a CLI switch (/protectMemory) to enable it when needed. This fixes issue https://github.com/veracrypt/VeraCrypt/issues/536 2020-01-21 01:46:11 +01:00
Mounir IDRASSI 8fe3eb0136 Windows: don't display mount/dismount examples in help dialog for command line in Format and Expander 2020-01-21 01:46:03 +01:00
Mounir IDRASSI b0b149db83 Linux/MacOSX: Fix regression that limited the size available for hidden volumes
created on disk or partition.
2020-01-20 01:02:54 +01:00
Mounir IDRASSI f9572ea8f5 Increment version to 1.24-Update3 for Linux and update Release Notes 2019-12-22 16:35:56 +01:00
Mounir IDRASSI cdbe7854e8 Linux: Modify .deb build scripts to link against statically built wxWidgets on Ubuntu 14.04, 12.04 and Debian 8 2019-12-22 10:10:43 +01:00
Mounir IDRASSI f8beac6ebd Linux: Fix building and packaging console-only version to remove dependency on GTK 2019-12-21 02:46:50 +01:00
Gokturk YuksekandMounir IDRASSI de52f51f5b Fix the compilation against WxWidgets when NOGUI=1 (#570)
* Revert "Linux: Fix failure to run VeraCrypt binary built for console mode on headless machines (fix issue https://github.com/veracrypt/VeraCrypt/issues/531)"

The build failure still exists for system wxGTK compiled with '--disable-gui':

```
In file included from TextUserInterface.cpp:27:
TextUserInterface.h: In member function ‘virtual bool VeraCrypt::TextUserInterface::Initialize(int&, wxChar**)’:
TextUserInterface.h:50:63: error: ‘wxAppBase’ has not been declared
   50 |   virtual bool Initialize (int &argc, wxChar **argv) { return wxAppBase::Initialize(argc, argv); }
```

This reverts commit 737e1f126b.

* Revert "Linux: fix compilation error when building console-only version of VeraCrypt that is statically linked to wxWidgets"

The build failure still exists for system wxGTK compiled with '--disable-gui':

```
In file included from TextUserInterface.cpp:27:
TextUserInterface.h: In member function ‘virtual bool VeraCrypt::TextUserInterface::Initialize(int&, wxChar**)’:
TextUserInterface.h:50:63: error: ‘wxAppBase’ has not been declared
   50 |   virtual bool Initialize (int &argc, wxChar **argv) { return wxAppBase::Initialize(argc, argv); }
```

This reverts commit 14bee5e6a2.

* src/Main/Main.make: simplify the WX_CONFIG_LIBS logic

Irrespective of whether we are linking against widgets statically or
dynamically, pull in only 'base' when GUI is disabled, and
'adv,core,base' when GUI is enabled. When GUI is disabled, the C/CXX
flag must include '-DwxUSE_GUI=0' for this to work.

* src/Makefile: pass '-DwxUSE_GUI=0' when NOGUI=1

veracrypt with NOGUI=1 fails to properly link against wxGTK compiled
with '--disable-gui' only using the 'base' library because the wx's
setup.h implicitly defines wxUSE_GUI=1, which then changes the
definition of various structures, requiring symbols from the core
library as well.

For example, wxwidgets include/wx/app.h defines:

  #if wxUSE_GUI

  class WXDLLIMPEXP_CORE wxAppBase : public wxAppConsole
  ...
  [snip]
  ...
  #else // !GUI

  // wxApp is defined in core and we cannot define another one in wxBase,
  // so use the preprocessor to allow using wxApp in console programs too
  #define wxApp wxAppConsole

  #endif // GUI/!GUI

To fix this, pass '-DwxUSE_GUI=0' when compiling veracrypt with
NOGUI=1.

Closes: https://github.com/veracrypt/VeraCrypt/issues/531
2019-12-20 13:39:43 +01:00
Mounir IDRASSI 31611ad315 MacOSX: revert to using wxWidgets 3.1.2 following unexplained crash when using wxWidgets 3.1.3 2019-12-17 01:25:58 +01:00
Mounir IDRASSI 27c2fc06c2 Linux: Fix build error when linking with old wxWidgets version 2019-12-16 15:15:55 +01:00
Mounir IDRASSI dda7ea6000 Documentation: Adding information of availability of RAM encryption and that in EFI mode we can't encrypt whole disk 2019-12-16 13:32:32 +01:00
Mounir IDRASSI 7aecbb225c Update version information in preparation for 1.24-Update2 release 2019-12-16 00:47:13 +01:00
Mounir IDRASSI bc69fe9166 Update Format wizard bitmap using submission by Andreas Becker (https://github.com/veracrypt/VeraCrypt/issues/9#issuecomment-565833478) 2019-12-16 00:47:04 +01:00
Mounir IDRASSI 797f334d0a Documentation: Add entries for /quick and /fastCreateFile CLI switches of VeraCrypt Format. 2019-12-16 00:46:57 +01:00
Mounir IDRASSI 826730650c Windows: make /fastCreateFile switch apply to both UI and command line creation of file containers 2019-12-16 00:46:49 +01:00
Mounir IDRASSI 1e978e69cc MacOSX: Ensure that the heading bar is always visible when window is moved so that it can still be moved by user using mouse (https://github.com/veracrypt/VeraCrypt/issues/546) 2019-12-16 00:46:41 +01:00
Mounir IDRASSI a81d45df82 MacOSX: Ensure that main window is visible on screen when About is display as a way to workaround for situations where UI is not visible or can't be move (for example, when changing display monitor with a different resolution). 2019-12-16 00:46:34 +01:00
Mounir IDRASSI a4ed6be38c MacOSX: fix compilation error caused by missing StringConverter::ToWide method that takes a size_t argument (we cast to uint32) 2019-12-16 00:46:26 +01:00
Mounir IDRASSI d2c8779157 remove extra carriage return from Release Notes 2019-12-15 00:31:49 +01:00
Mounir IDRASSI 06320c2964 Update Release Notes for 1.24-Update2-RC 2019-12-13 01:38:43 +01:00
Mounir IDRASSI 1fd097c666 Windows: check "TrueCrypt Mode" in password dialog when mounting a file container with .tc extension 2019-12-13 00:08:17 +01:00
Mounir IDRASSI 2a93826497 Windows: Fix the checkbox for skipping verification of Rescue Disk not reflecting the value of /noisocheck switch when specified in VeraCrypt Format command line. 2019-12-12 00:13:01 +01:00
Mounir IDRASSI 0c6447cae4 Documentation: better wording for Rescue Disk page 2019-12-11 23:53:54 +01:00
Mounir IDRASSI 14bee5e6a2 Linux: fix compilation error when building console-only version of VeraCrypt that is statically linked to wxWidgets 2019-12-11 23:53:47 +01:00
Mounir IDRASSI 8942b3eff3 MacOSX: link against latest wxWidgets version 3.1.3 2019-12-10 11:10:31 +01:00
Mounir IDRASSI ed8068cbbd Increment version to 1.24-Update2 2019-12-10 11:10:24 +01:00
Mounir IDRASSI f9bf666018 Windows: Align volume size field in Format wizard with other controls 2019-12-10 00:51:41 +01:00
Mounir IDRASSI f9d95ef2c8 Windows: Add switch /FastCreateFile for VeraCrypt Format.exe to speedup creation of large file container if quick format is selected. This switch comes with security issues since it will embed existing content on disk into the file container which may expose sensitive content to an attacker who has access to the file container. 2019-12-10 00:51:34 +01:00
Mounir IDRASSI 5eaa204d83 Windows Driver: Reduce memory usage of IOCTL_DISK_VERIFY handler. Now we reader disk by chunks of at most 64 KiB. Fix https://github.com/veracrypt/VeraCrypt/issues/562. 2019-12-09 18:59:27 +01:00
Mounir IDRASSI 31c4fbfc12 Fix wrong check on the define CRYPTOPP_BOOL_X64 2019-12-09 18:59:20 +01:00
Mounir IDRASSI 214efac67e Windows: Add latest 1.24 EFI bootloader files that are signed by Microsoft that come with the following modifications: - Fix F5 showing previous password after failed authentication attempt. Ensure that even wrong password value are cleared from memory. 2019-12-09 18:59:13 +01:00
Mounir IDRASSI 08593aa7ab Linux/MacOSX: use x64 optimized SHA256 implementation instead of limiting it to Windows. 2019-12-09 18:10:21 +01:00
Hanno BöckandMounir IDRASSI e6aae8bd71 Add burn calls for temporary ss variable (#569) 2019-12-09 17:45:35 +01:00
alt3r 3goandMounir IDRASSI 0364a36f84 Linux: fix NOASM compilation (#563) (#568)
Signed-off-by: alt3r 3go <alt3r.3go@protonmail.com>
2019-12-09 17:43:33 +01:00
Mounir IDRASSI 07bb27e3b9 Windows: use fix for CVE-2019-19501 only on Vista and above since it doesn't make sens under XP. 2019-12-08 23:42:54 +01:00
Mounir IDRASSI 5e96a5c44c Windows: enhancements to the mechanism preserving file timestamps, especially for keyfiles. 2019-12-08 23:42:47 +01:00
Mounir IDRASSI 7f1e21e6a1 Windows: Add missing defines in Tcdefs.h 2019-12-08 23:42:39 +01:00
Hanno BöckandMounir IDRASSI 5a56462959 Make sure password gets deleted in case of exception in CoreUnix::MountVolume (#565) 2019-12-05 16:09:40 +01:00
Mounir IDRASSI 4a215c2ddb Windows: Modify memory process protection when running with admin privileges to allow calling functions needed for CVE-2019-19501 fix while still protecting against memory access by non-admin processes. 2019-12-05 13:35:27 +01:00
Mounir IDRASSI 27d1f404f1 Windows: Enhancement to the fix for CVE-2019-19501 2019-12-05 13:35:18 +01:00
Mounir IDRASSI ade8e3f8cb Windows: Fix possible local privilege escalation vulnerability during execution of VeraCrypt Expander (CVE-2019-19501) 2019-12-03 22:25:37 +01:00
Mounir IDRASSI c6ff31be1c Documentation: Update Rescue Disk page to include information about EFI Rescue Disk and not only MBR legacy one. 2019-12-03 22:25:29 +01:00
vstoykovbgandMounir IDRASSI f32c153832 fixed typo "this [is (#559) 2019-12-02 22:07:48 +01:00
Mounir IDRASSI 80e7b31806 Documentation: Add a note in "Favorite Volumes" section referring to issues caused by Windows "Fast Startup" 2019-12-01 21:57:10 +01:00
alt3r 3goandMounir IDRASSI 1fd212016e UNIX: make sector size mismatch error more verbose (#552) (#561)
Signed-off-by: alt3r 3go <alt3r.3go@protonmail.com>
2019-12-01 14:26:38 +01:00
Mounir IDRASSI b233e6776b Windows: Don't write extra 0x00 byte at the end of DcsProp file when modifying it through UI 2019-11-28 01:39:48 +01:00
Mounir IDRASSI 14a477026d Windows: compatibility with multi-OS boot configuration by only setting VeraCrypt as first bootloader of the system if the current first bootloader is Windows one. 2019-11-27 00:15:51 +01:00
Mounir IDRASSI 79eea6e5b1 Windows: Don't restore MBR to VeraCrypt value if it is coming from a loader different from us or different from Microsoft one. 2019-11-27 00:15:43 +01:00
Mounir IDRASSI 9741c9209d Windows: Add new registry flags for SystemFavoritesService to control updating of EFI BIOS boot menu on shutdown. This will help better manage multi-boot scenarios where we should not mess up with boot order (e.g. grub2 case) 2019-11-22 00:11:55 +01:00
Mounir IDRASSI 55efa6237a Windows: Add latest 1.24 EFI bootloader files that are signed by Microsoft that come with the following modifications: - Fix "ActionFailed" not working and add "ActionCancelled" to customize handling of user hitting ESC on password prompt 2019-11-22 00:11:46 +01:00
Mounir IDRASSI 737e1f126b Linux: Fix failure to run VeraCrypt binary built for console mode on headless machines (fix issue https://github.com/veracrypt/VeraCrypt/issues/531) 2019-11-18 00:59:40 +01:00
alt3r 3goandMounir IDRASSI 6b1da98d91 Linux/MacOS: text mode did not recognize Unicode in passwords (#540) (#551) 2019-11-17 22:03:30 +01:00
alt3r 3goandMounir IDRASSI 64de5bc78a Debug build: fix ParameterIncorrect error on hash benchmark start (#542) (#544) 2019-11-15 12:28:06 +01:00
Mounir IDRASSI e8310731e9 XML Languages files: Update Finnish translations contributed by Matti Ruhanen. 2019-11-13 10:27:56 +01:00
cswareandMounir IDRASSI 34a9e118b6 Windows: Allow system encrypted devices to be mounted from WindowsPE - even if changing the keyboard layout failed (#539)
When my system broke and I had to use WindowsPE to rescue some files the password dialog always closed immediately. There was no chance to mount the system device using the GUI. It took me a while to realize that I could try using the CLI by passing the password as a parameter (which might not be so obvious for not advanced users).

Signed-off-by: Sven Strickroth <email@cs-ware.de>
2019-11-12 22:02:57 +01:00
Hanno BöckandMounir IDRASSI f5aea06281 Fix off by one overflow with 31 args (#541) 2019-11-12 18:04:31 +01:00
Mounir IDRASSI 8e9627877d Windows MBR Bootloader: better way to handle displaying write errors in WriteEncryptedSectors function 2019-11-09 00:26:28 +01:00
Mounir IDRASSI 3818b443c3 Windows: include rdrand.h file only in Windows case since it is not yet included for other OSes 2019-11-09 00:26:21 +01:00
Mounir IDRASSI 8c6838e85c Linux: during uninstall, output error message to STDERR instead of STDOUT for better compatibility with package managers 2019-11-09 00:26:14 +01:00
Mounir IDRASSI 8d24022bda Documentation: A OSX Mojave and OSX Catalina to the list of supported operating systems 2019-11-08 01:19:42 +01:00
Mounir IDRASSI edb8a2fae7 Language XML files: update Russian XML file by Dmitry Yerokhin. 2019-11-07 16:57:54 +01:00
Mounir IDRASSI c035d703cb Windows: Update signed drivers 2019-11-07 00:48:16 +01:00
Mounir IDRASSI b7a21b8a76 Windows Driver: Fix strange crashes caused by probably by APC queue issues from calls to IoBuildDeviceIoControlRequest and ZwCreate (cf https://www.osr.com/blog/2018/02/14/beware-iobuilddeviceiocontrolrequest/) 2019-11-07 00:48:09 +01:00
Mounir IDRASSI 4587472e87 Increment version to 1.24-Hotfix2 2019-11-07 00:48:01 +01:00
Mounir IDRASSI 21392ef30d Windows MBR Bootloader: workaround for SSD disks that don't allow write operations in BIOS mode with buffers less than 4096 bytes 2019-11-07 00:47:52 +01:00
Mounir IDRASSI dc08b69240 Windows: fix driver build error caused by missing header 2019-11-07 00:47:45 +01:00
Mounir IDRASSI ce78f89017 Linux/FreeBSD: Add CLI switch to force use of old sudo behavior of sending a dummy password
The new switch is --use-dummy-sudo-password
2019-11-04 00:10:08 +01:00
Mounir IDRASSI 54c7e1cfd3 Windows: Display error message when password is too long and legacy maximum length used 2019-11-04 00:10:00 +01:00
Mounir IDRASSI a7d5b6a477 Linux/MacOSX: Add switch to force the use of legacy maximum password length (64 UTF8 bytes)
The switch is --legacy-password-maxlength
2019-11-04 00:09:52 +01:00
Mounir IDRASSI 8fb7742dad Linux: Add sudo as an explicit dependency in .deb and .rpm packages 2019-11-03 17:05:31 +01:00
Mounir IDRASSI 80cc18f667 Linux/FreeBSD: Fix regression causing admin password to be requested too many times in some cases 2019-11-03 15:38:42 +01:00
Mounir IDRASSI bd7200e2b5 Linux/MacOSX: Fix build error caused by RDRAND_getBytes/RDSEED_getBytes implemented only on Windows 2019-11-03 15:38:35 +01:00
Meteor0idandMounir IDRASSI bb123bb3e8 Start following IEEE 1541 agreed naming of bytes (#532)
* Start following IEEE 1541 agreed naming of bytes

This standard exists to prevent any confusion about the actual number of bytes. It has been agreed on by experts and is being used more widespead these day. Let's start properly naming the number of bytes, which is absolutely important in disk encryption software.

* Update LanguageStrings.cpp

* Update UserInterface.cpp

* kibibyte instead of kilobyte

* kibibyte instead of kilobyte

* MiB instead of MB

* undo accidental deletions

Odd indeed that two random lines were deleted in a previous commit. Probably happened when using a keyboard shortcut while editing the file. This fixes the issue.

* Mb to Mib
2019-11-02 01:06:02 +01:00
Mounir IDRASSI 3ad7d8adb7 Documentation: Fix grammatical errors (https://github.com/veracrypt/VeraCrypt/issues/537) 2019-11-02 01:00:24 +01:00
Mounir IDRASSI 1994520e75 Windows: when building for EFI bootloader, don't make calls to RDRAND/RDSEED functions since we don't link against their implementation in EFI bootloader 2019-11-02 01:00:16 +01:00
Mounir IDRASSI 6252d96b0d Update Jitterentropy Library to version 2.2.0 2019-10-30 22:05:25 +01:00
Mounir IDRASSI 3565cb1afe Disable both RDRAND and RDSEED if a failure is detected 2019-10-30 09:09:45 +01:00
Mounir IDRASSI 5ecff99edc Add check for buggy RDRAND (AMD Ryzen CPU case) even if we always use RDSEED instead of RDRAND when RDSEED is available (which is the case on modern CPUs) 2019-10-30 08:53:03 +01:00
Mounir IDRASSI 7a35ecb154 Windows: use separate assembly files for RDRAND and RDSEED in order to fix a mysterious crash when MASM_RDSEED_GenerateBlock is called after MASM_RDRAND_GenerateBlock. 2019-10-30 08:52:55 +01:00
Mounir IDRASSI 3b5d4771a0 Fix wrong detection of AMD CPUs. 2019-10-29 15:42:43 +01:00
Mounir IDRASSI afe6b2f45b Linux: Fix compilation error on non-x86 platform by providing generic implementation for jent_get_nstime function 2019-10-28 23:18:11 +01:00
Mounir IDRASSI 3fa636d477 Linux: Fix compilation error if type __u64 is already defined by gcc
This is the case with Mageia Cauldron which has gcc 9.2.1
2019-10-28 18:59:07 +01:00
Mounir IDRASSI 659df4c6df Language XML files: update Czech translation (contributed by Lagardere) 2019-10-28 00:14:42 +01:00
Mounir IDRASSI ac684352e6 Windows: use strcmp to compare effective content of std::string since == operator may return false if one of the strins has an extra \0 at the end. 2019-10-27 13:10:18 +01:00
Mounir IDRASSI 1ae99f2e67 Windows: Update Release Notes and set 1.24-Hotfix1 release date to October 27th. 2019-10-27 10:46:32 +01:00
Mounir IDRASSI 94084525b1 Windows: fix failure to create rescue and thus to encrypt the system if the Windows username contains a UNICODE non-ASCII character (cf https://github.com/veracrypt/VeraCrypt/issues/441) 2019-10-27 02:30:15 +02:00
Mounir IDRASSI b1b692d4a3 Windows: Only update boot configuration on disk if the user actually changed something in the UI 2019-10-27 02:05:00 +02:00
Mounir IDRASSI 2722b46530 Windows: code refactoring and convert NTSTATUS error code to WIN32 equivalent before displaying error message. 2019-10-27 02:04:51 +02:00
Mounir IDRASSI 89e2547851 Windows: Make EFI System Encryption PostOOBE code more robust to failure to access "\\\\?\\GLOBALROOT" disk namespace 2019-10-27 02:04:43 +02:00
Mounir IDRASSI ca46cf928a Windows: Update EFI NVRAM variable only if changed or doesn't exist and add configuration to force setting EFI BootNext to veraCrypt bootloader before each shutdown 2019-10-27 02:04:34 +02:00
Mounir IDRASSI f22abf93dd Windows: Restore veraCrypt boot meny entry for system encryption more often, especially during PostOOBE calls, and handle additional corner cases. 2019-10-26 22:09:27 +02:00
Mounir IDRASSI 7484c07364 Linux: Add build script for OpenSUSE 2019-10-26 18:43:18 +02:00
Mounir IDRASSI 0e4ab56e12 MacOSX: Update build script and Makefile to correctly build Legacy version of VeraCrypt that targets OSX 10.7+. 2019-10-26 00:17:23 +02:00
Mounir IDRASSI 0ca62a37d6 MacOSX: fix truncated algorithms description in the Encryption Options page of the volume creation wizard, which happened after moving to wxWidgets 3.1.2 2019-10-26 00:17:16 +02:00
Mounir IDRASSI 6bf37280d6 MacOSX: use wxWidgets 3.1.2 for the legacy build which is now done with SDK 10.9 while still targeting OSX 10.7. 2019-10-26 00:17:08 +02:00
Mounir IDRASSI 38b5af907e Set release date of 1.24-Hotfix1 to October 25th. 2019-10-25 18:25:44 +02:00
Mounir IDRASSI 28fc65e479 Windows: Fix test of GetPrivateProfileString output since this function discards double quotation marks 2019-10-25 18:25:29 +02:00
Mounir IDRASSI 343d1a95dc Windows: only update MBR first 512 bytes if they have changed and don't update full MBR bootload in case of PostOOBE 2019-10-25 14:47:51 +02:00
Mounir IDRASSI faa541f613 Windows: for system encryption case, also perform automatic fix of boot configuration if MBR boot used and not only EFI. 2019-10-25 14:47:44 +02:00
Mounir IDRASSI 318b00b6a2 Windows: Avoid unnecessarily update of system encryption SetupConfig related files if there content didn't change 2019-10-25 14:47:37 +02:00
Bugi4BugiandMounir IDRASSI 4ea4f36010 Update Langage.fr.xml (#526)
Just a little mistake, Mainteant > Maintenant.
2019-10-25 00:22:18 +02:00
Mounir IDRASSI 7745db6e4a MacOSX: Add dedicated installer for legacy version that targets OSX 10.7+ and update requirement for new installer to be OSX 10.9+ and 64-bit only. 2019-10-24 23:41:59 +02:00
Mounir IDRASSI 5031e69651 MacOSX: fix typo in MacOSX legacy build script 2019-10-24 23:41:52 +02:00
Mounir IDRASSI 96c90d18c2 Linux/MacOSX: Better approach to avoid that jitterentropy code is optimized by the compiler 2019-10-24 21:07:39 +02:00
Mounir IDRASSI 6b90e02624 Increment version to 1.24-Hotfix1 2019-10-24 00:10:34 +02:00
Mounir IDRASSI 692e2c3455 Linux: set version explicitly in CMakeLists.txt instead of relying on parsing of Tcdefs.h which can be erroneous 2019-10-24 00:10:27 +02:00
Mounir IDRASSI 2b65a14301 Windows: display prompt to upgrade Rescue Disk when installing 1.24 version since it adds functionality and it has better support for fix boot issues. 2019-10-24 00:10:19 +02:00
Mounir IDRASSI 478066c607 Linux/MacOSX: Add missing JitterEntropy implementation 2019-10-23 22:46:25 +02:00
Mounir IDRASSI 74e14c070f Windows: A Quick Expand option to VeraCrypt Expander to allow quicker expansion of file containers after warning about security issues associated with it. 2019-10-23 00:24:02 +02:00
Mounir IDRASSI 11f1a21652 Increment version to 1.23-Hotfix1-Preview 2019-10-20 22:31:42 +02:00
Mounir IDRASSI 9b394ddc49 Windows: Avoid unnecessary write operations when copying/modifying EFI bootloader files in order to avoid leaking modification timestamp 2019-10-20 22:17:12 +02:00
Mounir IDRASSI 31a87c2e5f Windows: add more checks to correctly identify Microsoft original bootloader. 2019-10-20 22:17:04 +02:00
Mounir IDRASSI cca08e1ed5 Windows: Add checks that the System Favorites service is running. Warn user if he enabled option to clear RAM encryption keys and the service is stopped. 2019-10-20 22:16:57 +02:00
Mounir IDRASSI 7c020c23ce Windows: resize UI elements of random collection step in Format wizard 2019-10-20 22:16:50 +02:00
Mounir IDRASSI 12461a55a8 MacOSX: Support APFS for creating volumes. 2019-10-19 23:18:40 +02:00
Mounir IDRASSI 008d0503be Windows: make VeraCrypt Expander able to resume expansion of volumes whose previous expansion was aborted before it finishes 2019-10-18 23:06:17 +02:00
Mounir IDRASSI 5b88a183ac Windows: handle case of DcsProp configuration file for EFI system encryption contains wrong "ActionSuccess" entry that points towards bootmgfw.efi which is now our bootloader and not Microsoft one. 2019-10-18 00:56:39 +02:00
Mounir IDRASSI 4119521f9e Linux: Workaround for gcc 4.4.7 bug under CentOS 6 that causes VeraCrypt built under CentOS 6 to crash when Whirlpool hash is used. 2019-10-17 15:00:37 +02:00
Mounir IDRASSI 3bb661244c Linux: fix compilation error under CentOS 6 2019-10-17 14:09:33 +02:00
El Mostafa IdrassiandMounir IDRASSI bdc1dc42a6 Small GUI enhancements (#521) 2019-10-16 00:43:49 +02:00
El Mostafa IdrassiandMounir IDRASSI c90b45f88c Fixed drag and drop not showing correct path, specifically under GTK-3. (#520) 2019-10-16 00:43:34 +02:00
Mounir IDRASSI 2675a9c60e Documentation: Add missing documentation for VeraCrypt.exe command line switch /DisableDeviceUpdate 2019-10-15 00:54:39 +02:00
El Mostafa IdrassiandMounir IDRASSI 67a514da6f MacOSX: Enhanced Makefile and build script (#519)
Added new variable 'VC_OSX_SDK' to differentiate between the OSX minimum target and the SDK to use for building.
2019-10-15 00:03:36 +02:00
El Mostafa IdrassiandMounir IDRASSI bdcfe5bbb2 Fixed buttons not being correctly aligned (#518) 2019-10-15 00:02:25 +02:00
Mounir IDRASSI b6dcea013e MacOSX: Add build scripts and modifications to linking against wxWidgets 3.1.2 for non legacy build targeting OSX 10.9+ 2019-10-14 15:05:24 +02:00
Mounir IDRASSI f56a8c49f9 Windows: Fix regression that causes system favorites not to mount if VeraCrypt 1.24 is freshly installed and not updated. 2019-10-14 01:08:43 +02:00
El Mostafa IdrassiandMounir IDRASSI 621330b726 MacOSX: Fixed devices / partitions not showing in the device selection dialog (#516)
To get the size of each device / partition on the system, the method 'GetDeviceSize()' in 'src/Core/Unix/CoreUnix.cpp' first opens
the device / partition using 'open()' function to get a File Descriptor, then retrieves its size using this File Descriptor.

Starting OS X 10.11 ("El Capitan"), a feature called "System Integrity Protection (SIP)" or less formally, "rootless mode" has been added.
This feature blocks access to certain critical aspects of the OS and Hardware by 3rd-Party programs.
Specifically, low-level access to the system disks, devices and partitions is forbidden ; namely functions like 'open()' for instance fail
with the error code : "EPERM = Operation Not Permitted".

Therefore, for system devices / partitions, 'GetDeviceSize()' fails because of the failure of the 'open()' function, and throws an exception,
which is then caught inside the method 'GetHostDevices()' in '/src/Core/Unix/FreeBSD/CoreFreeBSD.cpp' : this leads to the size of the
device / partition being set to '0'.

Therefore, in the constructor of 'DeviceSelectionDialog' in 'src/Main/Forms/DeviceSelectionDialog.cpp', when the size of a device is '0',
the whole device is skipped, leading to all of its partitions not being treated or shown, even though some of these partitions may have a size which is != 0.

This commit fixes the issue by :
1 - First, checking whether the device size is '0'. If it is the case, the code loops through all the devices partitions : if there is at least one partition
with a size != 0, the device is not skipped. Otherwise, it is.
2 - Then, if the size of the device is '0', the size of the device is not shown to avoid confusing the user.
Also, since the device is not usable, the 'OK' button is not active when the device is selected.
3 - Finally, if a partition's size is '0', it is not shown since it is not usable : we cannot open it.

Signed-off-by: El Mostafa IDRASSI <el-mostafa.idrassi@prestalab.net>
2019-10-11 17:02:03 +02:00
El Mostafa IdrassiandMounir IDRASSI 9463a628a6 Linux/FreeBSD: Use of 'sudo -n uptime' command to check whether user has an active 'sudo' session instead of the use of a 'dummy' password. (#513)
Signed-off-by: El Mostafa IDRASSI <el-mostafa.idrassi@prestalab.net>
2019-10-08 18:11:50 +02:00
El Mostafa IdrassiandMounir IDRASSI 15a8cde6f5 Updated and fixed build and packaging scripts. (#512)
Now, under Debian 10+ and Ubuntu 18.04+, we link against the GTK-3 version of wxWidgets (libwxgtk3.0-gtk3-0v5).
Under Debian 9- and Ubuntu 16.04, we link against the GTK-2 version of wxWidgets (libwxgtk3.0-0v5) which is the
only one available.

Also, we now have 2 separate RPM scripts : 'build_cmake_rpm_gtk2.sh' which builds wxWidgets and links it against GTK-2,
then links VeraCrypt against 'gtk2' package (typically to be used under CentOS 6) and 'build_cmake_rpm_gtk3' which builds
wxWidgets and links it against GTK-3, then links VeraCrypt against 'gtk3' package (typically to be used under CentOS 7+).
2019-10-07 18:49:46 +02:00
Mounir IDRASSI 6d7f7527be MacOSX: fix link error under Xcode 4.6.3 2019-10-06 19:14:45 +02:00
Mounir IDRASSI a4145721a7 Linux/FreeBSD: change location of documentation from /usr/share/veracrypt/doc to the standard /usr/share/doc/veracrypt 2019-10-06 13:30:47 +02:00
Mounir IDRASSI be6c817873 Increment version to 1.24 2019-10-06 11:26:20 +02:00
Mounir IDRASSI af9e0f0482 Linux: modifications to cmake files to use GTK3 on CentOS and change packages names 2019-10-05 19:21:33 +02:00
Mounir IDRASSI 4fe4cbc568 Linux: Add option in Makefile to use GTK3 in VeraCrypt static build 2019-10-05 19:07:03 +02:00
Mounir IDRASSI 4f24e877aa Update Release Notes to indicate use of libzip 1.5.2 2019-10-04 21:44:51 +02:00
El Mostafa IdrassiandMounir IDRASSI d2c53bc373 Linux: Added CMake script for creating .DEBs and .RPMs for VeraCrypt using CPack, and shell scripts which build then package VeraCrypt under CentOS and Debian/Ubuntu. (#511)
The DEB script builds VeraCrypt and links it against wxWidgets that comes with the distribution.
The RPM script awaits for wxWidgets-3.0.4 source code which it builds then links VeraCrypt statically to it.
Both scripts create the corresponding package after the build.
2019-10-04 21:33:46 +02:00
El Mostafa IdrassiandMounir IDRASSI 48ef6c3736 Linux : Added missing 'mkdir' before installing in case $DESTDIR does not exist (#510) 2019-10-04 21:26:25 +02:00
Mounir IDRASSI b6babc688d Windows: Update libzip to version 1.5.2 2019-10-04 21:15:10 +02:00
El Mostafa IdrassiandMounir IDRASSI 9a895bedde Fix "error "SSSE3 instruction set not enabled" when compiling using GCC version < 4.9 without -mssse3 option (SSSE3=1 when using make). (#507)
Compiling with -mxxx defines the corresponding macro of the intrinsics.
For example, -mssse3 defines __SSSE3__ macro to 1.

In GCC versions < 4.9, it is not possible to use and call x86 intrinsics only at runtime without
compiling the entire file with the -mxxx option.

For example, if we want to call SSSE3 intrinsics without compiling with -mssse3, the macro __SSSE3__ is not defined.
Therefore, when including <tmmintrin.h>, this results in "error "SSSE3 instruction set not enabled"" because of :
	#ifndef __SSSE3__
	# error "SSSE3 instruction set not enabled"
Since GCC 4.9, this has been fixed and it is possible to call x86 intrinsics from select functions in a file
that are tagged with the corresponding target attribute without having to compile the entire file with the -mxxx option.
This can be seen in <tmmintrin.h> which in recent versions (>= 4.9) contains :
	#ifndef __SSSE3__
	#pragma GCC push_options
	#pragma GCC target("ssse3")
	#define __DISABLE_SSSE3__

Since SSSE3 is only used under Windows for ChaCha256, this can be fixed by preceding '#include <tmmintrin.h>' with
#if defined (_MSC_VER) && !defined (TC_WINDOWS_BOOT).

See https://gcc.gnu.org/gcc-4.9/changes.html
2019-10-04 14:07:10 +02:00
Mounir IDRASSI 1fb81d1a43 Clarify in Release Notes that RAM encryption disables Hibernate only if System Encryption is being used. 2019-10-04 11:45:55 +02:00
Mounir IDRASSI 0e931b19fe Update Release Notes for 1.24-Beta6 2019-10-03 21:44:57 +02:00
Mounir IDRASSI ccda60f82f Windows: If Secure Desktop is started and random generator was not initialized before us, then stop random generator after we finish in order to avoid consuming CPU because of periodic fast poll thread. Next time a critical operation that requires RNG is performed, it will be initialized again. We do this because since the addition of secure desktop support, every time secure desktop is displayed, the RNG fast poll thread was started even if the user will never perform any critical operation that requires random bytes. 2019-10-03 19:32:45 +02:00
Mounir IDRASSI 1298f83aa4 Windows: Add function RandinitWithCheck to detect if random generator was already initialized before our call or not 2019-10-03 19:32:39 +02:00
Mounir IDRASSI 9f91c47bd2 Windows: Use Jitterentropy RNG only in SlowPoll call and not in FastPoll since the it consumes too much CPU and FastPoll requires fast and minimal entropy gathering 2019-10-03 19:32:33 +02:00
El Mostafa IdrassiandMounir IDRASSI be09fa8a53 '#define VERSION_STRING XXX' must come before '#define VERSION_STRING_SUFFIX YYY' (#506)
in order for 'export TC_VERSION := $(shell grep VERSION_STRING ../Common/Tcdefs.h | head -n 1 | cut -d'"' -f 2)'
in 'src/Main/Main.make' to actually return the version rather than '-CustomEFI'.
2019-10-03 16:34:43 +02:00
Ettore AtalanandMounir IDRASSI 75d0bb97cb Update german translation (#505)
Translated newly added text string.
2019-10-03 11:04:59 +02:00
Mounir IDRASSI 400bb52247 Linux/MacOSX:check that the requested size of file container is less than available
disk free space. Add a CLI switch to disable this check.
2019-10-02 22:31:28 +02:00
Felix ReichmannandMounir IDRASSI f16a298d9f German translation (#491)
* Corrected german translation

* Delete .gitignore
2019-10-02 22:07:18 +02:00
Unit 193andMounir IDRASSI bb2eaa6697 Utilize $(BASE_DIR) in the install targets rather than $(PWD) and $(CURDIR) (#472)
As $(PWD) is not always the expected value and can result in failing the target.
2019-10-02 21:59:13 +02:00
Felix ReichmannandMounir IDRASSI 66e43753cb Added creation of Rescue USB Drive (#486)
- In my tests it was not possible to create a usb Stick with Unetbootin like mentioned in this post: https://sourceforge.net/p/veracrypt/discussion/features/thread/5453c652/#97df
- I followed the instructions mentioned by Mounir IDRASSI in this post: https://sourceforge.net/p/veracrypt/discussion/features/thread/5453c652/#8e81
- In my test the usb_format.exe does not work, but the Windows internal formatting led to the same results.
2019-10-02 21:35:34 +02:00
4f16f763bb [FR] Fix some translation issues (#473)
* Fix some translation issues

* Update Translations/Language.fr.xml

Co-Authored-By: Luclu7 <luclu7@luclu7.fr>
2019-10-02 21:33:18 +02:00
Unit 193andMounir IDRASSI 10c4a3e807 Allow $(ARCH) to be defined during build (#471)
This can be useful when crossbuilding or building in a chroot where using
uname -m would cause the wrong compiler options.
2019-10-02 21:31:07 +02:00
Hans-Peter JansenandMounir IDRASSI 0d91dab5b9 Align section types of Whirlpool_C and SHA256_K (#479)
in order to fix LTO linking.

After switching to LTO for openSUSE Tumbleweed, veracrypt build failed with:
[  185s] ../Crypto/Whirlpool.c:105:45: error: 'Whirlpool_C' causes a section type conflict with 'SHA256_K'
[  185s]   105 | CRYPTOPP_ALIGN_DATA(16) static const uint64 Whirlpool_C[8*256+R] CRYPTOPP_SECTION_ALIGN16 = {
[  185s]       |                                             ^
[  185s] ../Crypto/Sha2.c:321:34: note: 'SHA256_K' was declared here
[  185s]   321 | CRYPTOPP_ALIGN_DATA(16) uint_32t SHA256_K[64] CRYPTOPP_SECTION_ALIGN16 = {
[  185s]       |                                  ^
[  185s] lto-wrapper: fatal error: g++ returned 1 exit status

Aligning section types of Whirlpool_C and SHA256_K fixes this.
2019-10-02 21:25:10 +02:00
Mounir IDRASSI e211749c7c Documentation: Add missing documentation for Format command line switch /nosizecheck 2019-10-02 19:04:18 +02:00
Mounir IDRASSI b39a724f26 Windows: Add support for /nosizecheck switch in Format command line file container creation 2019-10-02 19:04:12 +02:00
Mounir IDRASSI fa3d4c79c9 Increment version to 1.24-Beta6 2019-10-02 11:40:08 +02:00
Mounir IDRASSI 3923d11c7b Windows Driver: Disable Hibernation when RAM encryption is enabled since we can't resume from Hibernation without RAM encryption keys (a chicken and egg situation) 2019-10-01 15:09:35 +02:00
Mounir IDRASSI 9b804137e0 Windows: when periodic update of device is disabled, use SetupAPI to list disks on demand instead of testing all disks to reduce CPU usage. 2019-09-30 22:27:55 +02:00
Mounir IDRASSI e3afa296c7 Windows: resize VeraCrypt Format Wizard and Mount Options dialogs to fix some text truncation issues with non-English languages. 2019-09-30 22:27:48 +02:00
Mounir IDRASSI 14fecc93f7 Documentation: Add missing documentation for command line switch (/cache PIM) to enable both password and PIM cache 2019-09-29 17:51:42 +02:00
Mounir IDRASSI 128234c066 Windows: Update the encoded hash of the code signing certificate used to verify the integrity of binaries. 2019-09-29 16:07:49 +02:00
Mounir IDRASSI 3e5b7e1457 Windows: update signing script to use newly issued IDRIX SHA-1 code signing certificate. 2019-09-29 16:07:42 +02:00
Mounir IDRASSI 15fc29dc6b Windows: Add latest 1.24 EFI bootloader files that are signed by Microsoft that come with the following modifications: - Fix issue that was preventing Streebog hash from being selected manually during Pre-Boot authentication - Ensure that the correct Windows bootloader is executed when the user press ESCAPE - make the rescue disk boot machine directly from disk if "VeraCrypt" folder is missing. This make it easy to create a bootable disk for VeraCrypt from the rescue disk by just removing or renaming its "VeraCrypt" folder. 2019-09-29 16:07:35 +02:00
Mounir IDRASSI 909255d55f Windows: Use periodic update of connected devices only if there is a Favorite that uses VolumeID. Add command option to disable the period update of devices. 2019-09-29 16:07:28 +02:00
Mounir IDRASSI 7d88577c61 Windows: fix another typo in code comment (hopefully last one!) 2019-09-27 18:23:32 +02:00
Mounir IDRASSI d8ac0f7ec7 Windows: fix typo in code comment 2019-09-27 00:33:22 +02:00
Mounir IDRASSI 684259b438 Windows: Fix sporadic keyboard issue in Secure Desktop for password dialog by not using the trick to put it reliably in foreground. The trick is based on a emulation of ALT+TAB but sometimes ALT key would remain pressed in case of Secure Desktop making it impossible to type the password (a workaround was to press CTRL key which reset the state of ALT key) 2019-09-26 23:01:46 +02:00
Mounir IDRASSI 0e2be7153f Language Files: update polish translation 2019-09-26 10:28:13 +02:00
Mounir IDRASSI 685130c100 Language XML files: update Russian XML file by Dmitry Yerokhin. 2019-09-26 10:28:07 +02:00
Mounir IDRASSI d0e49804e2 XML Language files: update Chinese translation 2019-09-25 23:14:33 +02:00
Mounir IDRASSI 2a652b842f Windows: Add two missing UI strings to XML translation files so that they can be localized correctly 2019-09-25 17:44:08 +02:00
Mounir IDRASSI 06e8fbace7 Windows: Disable the Keyfiles button in system encryption wizard since we don't support them yet. 2019-09-25 17:43:59 +02:00
Mounir IDRASSI c8beacbdd7 Linux/OSX: make CLI switch --import-token-keyfiles compatible with Non-Interactive
mode by using keyfiles passed as arguments and check the Non-Interactive
mode switch.
2019-09-24 22:06:44 +02:00
Mounir IDRASSI 89a8b0c262 Language XML files: update Russian XML file by Dmitry Yerokhin. 2019-09-24 18:31:05 +02:00
Mounir IDRASSI 8021d44465 Windows: fix HourGlass cursor showing up in main UI after launching disk decryption wizard/ 2019-09-24 18:30:58 +02:00
Mounir IDRASSI 6b10f88e40 Fix build error of UEFI bootloader caused by latest changes that introduced ChaCha20 and T1HA algorithms and which are not present nor used in UEFI bootloader 2019-09-23 00:07:15 +02:00
Mounir IDRASSI 2410b69402 Update Flattr donation link and add generic PayPal donation link for currencies not already supported. 2019-09-23 00:07:08 +02:00
Mounir IDRASSI 140832e91f Update IDRIX bank details for receiving donations through bank transfer and add support for New Zealand dollar for donations using bank transfers. 2019-09-23 00:07:02 +02:00
Mounir IDRASSI 7c9899f54e Documentation: Update the documentation for gpg signature verification in order to match newer versions of gpg where the switch --with-fingerprint doesn't exist anymore (Thank you Patrick H.!) 2019-09-23 00:06:55 +02:00
Mounir IDRASSI 2ab57bcf70 Windows: fix compilation error of legacy MBR bootloader caused by missing intrin.h header 2019-08-26 00:50:25 +02:00
키에르andMounir IDRASSI aeaf4bd025 [Success] Update Language.ko.xml (#465)
* Update Language.ko.xml

* Update Language.ko.xml

* 509 line

* Update Language.ko.xml

* Update Language.ko.xml

200 line done
1281 line remaining

* Update Language.ko.xml

* 28% Done

* 446 line

* 530 line

* Update Language.ko.xml

* Update Language.ko.xml

* 600 line

* 651 line

* 1042 line

* Update Language.ko.xml

* Edit translator information & korean font name
2019-07-29 17:22:12 +02:00
qwas0514andMounir IDRASSI 0eed3cc4c3 Update Language.zh-tw.xml (#462) 2019-06-13 00:55:27 +02:00
Mounir IDRASSI 60e24e61c8 Update BitcoinCash address to new format 2019-06-06 11:48:18 +02:00
TigerxWoodandMounir IDRASSI d0c51003f5 Update Language.ro.xml for vers. 1.24-Beta5 (#459) 2019-06-06 11:43:43 +02:00
Alexander KarzhenkovandMounir IDRASSI 6f1ebacd39 Some cleanup related to "Invalid characters..." on mount issue. (#453)
* Revert previous commit

* Fix "Invalid characters..." issue by not using "foreach" macro

The "foreach" macro creates a copy of the container.
This copy is destroyed immediately after the iteration is completed.
C-strings pointers passed to the local array were invalidated
with destroying of "std::string"s contained in the copy.
2019-06-06 11:41:42 +02:00
Ettore AtalanandMounir IDRASSI 7c28ae7e45 Fix spelling mistake in German translation (#452) 2019-06-06 11:40:32 +02:00
Dany ShaananandMounir IDRASSI 1973fd6d26 Fix password-only example in help text (pim missing) (#438) 2019-06-06 11:39:52 +02:00
Mounir IDRASSI 08a8a0ce30 Linux: Fix compilation error caused by wrong include of "intrin.h" 2019-03-21 18:52:14 +01:00
Mounir IDRASSI 69df92c81d Increment version to 1.24-Beta5 2019-03-09 08:04:04 +01:00
Mounir IDRASSI 1bd3a6cc70 Windows Driver: fix BSOD when mounting outer volume with hidden volume protection if RAM encryption is enabled 2019-03-09 08:03:57 +01:00
Mounir IDRASSI d6ce1db2a8 Increment version to 1.24-Beta4 and update release notes to clarify that password length increase applies only to non-system volumes. 2019-03-09 08:03:51 +01:00
Mounir IDRASSI 76c03c23a1 Windows: inform user that RAM encryption setting requires reboot to take effect 2019-03-08 01:03:04 +01:00
Mounir IDRASSI f780011a86 Windows Driver: fix BSOD when mounting hidden volume if RAM encryption is enabled 2019-03-08 01:02:57 +01:00
Ettore AtalanandMounir IDRASSI 9a76ecfc55 Update german translation (#433)
Translated recently added strings.
2019-03-08 00:58:35 +01:00
Mounir IDRASSI 7f394d0a08 XML Language files: update Chinese translation 2019-03-04 23:49:11 +01:00
Mounir IDRASSI 08f09861e1 Language Files: update polish translation 2019-03-04 23:49:04 +01:00
Mounir IDRASSI 7701dfde07 Windows: Update signed drivers for 1.24-Beta3 2019-03-04 00:55:10 +01:00
Mounir IDRASSI 5c934d8122 Windows Driver: Add IOCTL code to query RAM encryption status in VeraCrypt driver 2019-03-03 23:48:49 +01:00
Mounir IDRASSI 6d2cef1fd8 Fix formatting of credits in About dialog and documentation 2019-03-03 23:48:42 +01:00
Mounir IDRASSI c7b23530f9 Windows: Add missing UI string to XML language files. 2019-03-03 23:48:35 +01:00
Mounir IDRASSI 8e39877054 Increment version to 1.24-Beta3. Update Release Notes. 2019-03-03 23:48:28 +01:00
Mounir IDRASSI f6274642f0 Windows: Update documentation for command line usage 2019-03-03 23:48:20 +01:00
Mounir IDRASSI 2117490500 Windows: Add documentation for new switch (/m noattach) 2019-03-03 23:48:13 +01:00
Mounir IDRASSI 28b8bf5222 Windows: Add command line switch (/m noattach) that is equivalent to UI option "Only create virtual device without mounting on selected drive letter" 2019-03-03 23:48:06 +01:00
Mounir IDRASSI d92e045b8d Windows: replicate old behavior when handling passwords in UI when legacy password maximum length option selected 2019-03-03 23:47:58 +01:00
Mounir IDRASSI 453ef927ef Windows: Add option to use legacy maximum password length (64 characters) instead of new maximum length (128) in UI and command line. This will users who were relying on the UI truncating the passwords to the first 64 characters in the previous versions of VeraCrypt. 2019-03-03 00:20:49 +01:00
Mounir IDRASSI ea88c6175c Windows: fix compilation error 2019-03-02 14:50:22 +01:00
Mounir IDRASSI f7bc58b38f Windows: mitigate some memory attacks by making VeraCrypt applications memory inaccessible by non-admin users. Implementation borrowed from KeePassXC source code (https://github.com/keepassxreboot/keepassxc/blob/release/2.4.0/src/core/Bootstrap.cpp#L150) 2019-03-02 14:45:38 +01:00
Mounir IDRASSI 321715202a Windows: Generalize RAM encryption for keys to VeraCrypt binaries, especially Format and Expander 2019-03-02 10:23:39 +01:00
Mounir IDRASSI edd1b00126 Windows Driver: Enable RAM encryption only after its security parameters were created 2019-03-01 00:35:54 +01:00
Mounir IDRASSI 3d6032d69e Windows: better debug messages for VcProtectKeys and VcUnprotectKeys functions 2019-03-01 00:35:47 +01:00
Mounir IDRASSI 954bfd45d0 Windows Driver: Implement RAM encryption for cached passwords 2019-03-01 00:35:40 +01:00
Mounir IDRASSI ae5eb73f93 Windows driver: call VcProtectKeys only when RAM encryption enabled although this function does nothing when RAM encryption is disabled. 2019-03-01 00:35:33 +01:00
Mounir IDRASSI 0391b8e550 Windows: Add some logs in functions for RAM encryption 2019-03-01 00:35:27 +01:00
Mounir IDRASSI 8d7a318795 Windows: use specific order for EFI boot arguments memory regions that matches the one used by EFI bootloader. 2019-03-01 00:35:20 +01:00
Mounir IDRASSI cf48b532b4 Windows: Implement RAM encryption for keys on 64-bit machines using ChaCha12 cipher and t1ha non-cryptographic fast hash (https://github.com/leo-yuriev/t1ha) 2019-03-01 00:35:13 +01:00
Mounir IDRASSI 29b749bdd9 Windows: rename IsCpuRngSupport to IsCpuRngSupported for clarity and use it in Mount.c 2019-02-15 00:17:11 +01:00
Mounir IDRASSI adf97533d3 Windows: Set CpuRngDisabled variable to TRUE for clarity even if it will be set to TRUE anyway by default through EnableCpuRng calls 2019-02-15 00:17:03 +01:00
Mounir IDRASSI 863a3a07b8 XML Language files: update Chinese translation 2019-02-15 00:16:53 +01:00
Mounir IDRASSI 1b76823ea5 Add copyright and license information of JitterEntropy library by Stephan Mueller 2019-02-12 19:06:22 +01:00
Mounir IDRASSI 86f0fde6e7 Windows: Use Hardware RNG based on CPU timing jitter "Jitterentropy" by Stephan Mueller as a good alternative to RDRAND (http://www.chronox.de/jent.html, smueller@chronox.de) 2019-02-12 19:06:14 +01:00
Mounir IDRASSI a5943c07fb Language XML files: update Czech translation (contributed by Lagardere) 2019-02-12 19:06:04 +01:00
Mounir IDRASSI fc72eb04f5 Add missing string from Estonian language file. 2019-02-12 19:05:57 +01:00
Mounir IDRASSI 2061b4c28c Windows: Ensure that only one thread at a time can create a secure desktop 2019-02-10 22:54:45 +01:00
Mounir IDRASSI 3903fcc595 Windows: Avoid simultaneous calls of favorites mounting, for example if corresponding hotkey is pressed multiple times. 2019-02-10 22:54:37 +01:00
Mounir IDRASSI 97ccbaf0a3 Fix typo in CPU RNG detection condition (Github issue #417) 2019-02-10 17:28:38 +01:00
Mounir IDRASSI 2bb1fdf232 XML Language files: update Chinese translation 2019-02-10 17:24:00 +01:00
Ettore AtalanandMounir IDRASSI cbfd9ba1d1 Update german translation (#416)
Translate newly added string.
2019-02-10 17:20:57 +01:00
Mounir IDRASSI ba5da0946c Windows: Add implementation of ChaCha20 based random generator. Use it for driver need of random bytes (currently only wipe bytes but more to come later). 2019-02-08 01:50:12 +01:00
Mounir IDRASSI e5b9cee868 Windows: Add option to enable use of CPU RDRAND/RDSEED as source of entropy which is now disabled by default 2019-02-08 01:50:03 +01:00
Mounir IDRASSI 6bb1f24ed5 Automatically truncate passwords for TrueCrypt volumes and System Encryption to the first 64 characters. This fix issues encountered by users of TrueCrypt volumes who were using passwords longer than 64 characters that were truncated in previous version. 2019-02-04 11:39:47 +01:00
Mounir IDRASSI 5d3278bcf2 Update Release Notes and other files for 1.24-Beta2 release 2019-02-01 13:02:01 +01:00
Mounir IDRASSI 0b8e768721 Windows: Add latest 1.24 EFI bootloader files that are signed by Microsoft that come with several enhancements and fixes especially for Rescue Disk: - Implement better timeout mechanism for password input. Implement new actions "shutdown" and "reboot". Set default timeout value to 3 minutes and default timeout action to "shutdown" - Enhance Rescue Disk implementation of restoring VeraCrypt loader. - Fix ESC on password prompt during Pre-Test not starting Windows - Add menu entry in Rescue Disk that enables starting original Windows loader 2019-02-01 00:36:28 +01:00
Mounir IDRASSI 5571a8ba6b Windows driver: better randomness for wipe bytes by always using Whirlpool hash of current time and random bytes retrieved using CPU RDRAND/RDSEED if available. 2019-02-01 00:36:19 +01:00
Mounir IDRASSI 61c1baa4bf Windows: use CPU RDRAND or RDSEED as an additional entropy source for our random generator when available 2019-02-01 00:35:50 +01:00
Mounir IDRASSI 915855f43b Fix detection of CPU features AVX2 & BMI2. Add detection of RDRAND & RDSEED CPU features. Detect Hygon CPU as AMD one. 2019-02-01 00:35:42 +01:00
Mounir IDRASSI 3c18d54d1e Windows driver: replace SHA512 by RIPEMD160 when calculating internal hash of master key to avoid calling KeSaveFloatingPointState/KeSaveExtendedProcessorState since SHA512 implementation uses SSE2/AVX and RIPEMD160 is pure C 2019-02-01 00:35:33 +01:00
Mounir IDRASSI f02882ce60 Help compiler optimize some crypto code on 64-bit build since x64 capable CPUs always support SSE and SSE2 2019-01-30 00:46:10 +01:00
Mounir IDRASSI b294cc2e1c Increment version to 1.24-Beta2 2019-01-28 17:16:41 +01:00
Mounir IDRASSI cdd1179c63 Increase password maximum length to 128 bytes from 64 bytes 2019-01-28 17:16:33 +01:00
Mounir IDRASSI 54e46c260c Windows Driver: force the input size for some IOCTLs to have a fixed value 2019-01-28 17:16:23 +01:00
Mounir IDRASSI a20b3083b0 Windows: Add a build configuration containing EFI bootloader signed with custom SecureBoot key instead 2019-01-26 01:20:51 +01:00
Mounir IDRASSI 7b95b375a0 Windows: fix building MBR bootloader following modification of Xts.c 2019-01-26 01:20:43 +01:00
Mounir IDRASSI ce0a34941a Linux/MacOSX crypto: report XTS optimization implemented previously on Windows
c
2019-01-25 19:23:13 +01:00
Mounir IDRASSI d8d92357b0 Windows crypto: optimize XTS implementation for 64-bit builds using SSE2 thanks to simplification of storage of whitening values in memory (normal order instead of reverse order). 2019-01-25 19:23:03 +01:00
Mounir IDRASSI f3a98fda03 Update release notes for 1.24-Beta1 2019-01-22 12:55:32 +01:00
Ettore AtalanandMounir IDRASSI 6084c5606a Update german translation (#403)
Translated all newly added strings.
2019-01-22 09:55:40 +01:00
Mounir IDRASSI d73b8bdf74 Windows: Increment driver version to 1.24.1.1 2019-01-22 09:53:32 +01:00
Mounir IDRASSI ee0a2659da Windows driver: remove volumes master keys from CRYPTO_INFO since they are not needed after their key schedule is created 2019-01-21 00:45:31 +01:00
Mounir IDRASSI 27b3fee02d Windows: remove unused fields from CRYPTO_INFO structure 2019-01-21 00:45:23 +01:00
Mounir IDRASSI 2046347775 Windows: fix editor of EFI configuration file not accepting ENTER key for adding new lines. 2019-01-18 19:02:18 +01:00
Mounir IDRASSI 9eb36ba91f MacOSX: update info.plist file to set priority at run-time to 64-bit version and to set minimum OSX version to 10.7. 2019-01-18 19:02:09 +01:00
Mounir IDRASSI 4155e912ee XML Language files: update Chinese translation 2019-01-15 20:38:14 +01:00
Mounir IDRASSI 202caea3a9 Windows: enhancements to EFI system encryption, like handling of Multi-Boot and better compatibility with Windows Upgrade process. 2019-01-15 15:05:19 +01:00
Mounir IDRASSI 07fd2aa9a5 Update Release Notes and language files for version 1.24-Beta1. Add signed Windows drivers. 2019-01-14 10:49:22 +01:00
Mounir IDRASSI 07f6793bd2 Windows: enhance support of new behavior of favorite service which is now always running in case of system encryption 2019-01-14 10:49:13 +01:00
Mounir IDRASSI d3e7ed96f3 Windows: Implement feature that enables clearing of encryption keys when a new device is inserted. Better implementation for update of EFI bootloader without usage of drive letters (this can fix random issues encountered during Windows upgrade). 2019-01-14 10:49:05 +01:00
Mounir IDRASSI 69cb0bea81 Windows: add a 10 seconds delay between signtool calls to avoid issues caused by antivirus software locking the newly signed files temporarily after they are signed. 2019-01-14 10:48:57 +01:00
Mounir IDRASSI 44b2215a7a Windows: fix debug packaging script by copying missing driver .inf and .cat files from Release folder. 2019-01-14 10:48:50 +01:00
Mounir IDRASSI 406adce424 Increment version to 1.24-Beta1 2019-01-14 10:48:41 +01:00
Mounir IDRASSI 405883169c Windows driver: remove newly added volatile qualifier from CRYPT_INFO pointers to fix build issue until a better approach is devised 2019-01-09 00:59:21 +01:00
Mounir IDRASSI 652e989d23 Windows Security: Add new entry point in driver that allows emergency clearing of all encryption keys from memory. This entry point requires administrative privileges and it will caused BSDO when system encryption is active. It can be useful for example to applications that monitors physical access to the machine and which need to erase sensitive key material from RAM when unauthorized access is detected. 2019-01-09 00:30:12 +01:00
Mounir IDRASSI 7c2cf7889f Windows Driver: erase system encryption keys from memory during shutdown/reboot to help mitigate some cold boot attacks 2019-01-09 00:30:05 +01:00
Mounir IDRASSI 11f0b99846 Windows driver: move newly added field in VOLUME_PROPERTIES_STRUCT to the end for compatibility with previous version. 2019-01-09 00:29:57 +01:00
Mounir IDRASSI 2e2d3e9596 XML Language files: update Chinese translation 2018-12-24 17:09:35 +01:00
Ettore AtalanandMounir IDRASSI bb18de6496 Update Language.de.xml (#395)
Removed unnecessary abbreviation in german translation.
2018-12-24 16:59:11 +01:00
Ettore AtalanandMounir IDRASSI a5f8f196e7 Update german translation (#394)
Translated newly added text strings.
2018-12-24 16:58:55 +01:00
Mounir IDRASSI e516330775 Windows: Fix mount option to disable Windows Mount Manager can preserved when mount options dialog opened a second time. 2018-12-24 16:54:10 +01:00
Mounir IDRASSI 21587034d0 Windows: update signing script to use newly issued IDRIX EV code signing certificate. 2018-12-19 23:36:34 +01:00
Mounir IDRASSI de4c6849a0 Update release notes with information concerning hidden volume issue fixed in 1.18a. Remove USD bank account details from bank donation page. 2018-12-19 23:36:26 +01:00
Mounir IDRASSI d5b14305e9 Windows: Increment driver version to 1.24.0.1 2018-12-19 14:56:35 +01:00
Mounir IDRASSI 3290ef4f75 Windows Driver: Don't interact with the volume's filesystem if mount manager integration is disabled 2018-12-19 12:41:49 +01:00
Mounir IDRASSI 800f081f1c Increment version to 1.24-Beta0 2018-12-19 12:41:41 +01:00
Mounir IDRASSI 1967bd862e Windows: Add mount option that allows mounting a volume without attaching it to the specified drive letter. This is useful in situation where Windows has issue with the filesystem (e.g. ReFS on Windows 10 1809) and we need to use third party software to be able to use the filesystem under Windows through low level VeraCrypt virtual device (e.g. \Device\VeraCryptVolumeX). 2018-12-19 00:41:37 +01:00
Mounir IDRASSI 6abc59acd2 Windows MBR Bootloader: workaround for issue affecting creation of hidden OS on some SSD drives (Error 128 while writing MBR). This commit replace the 512 bytes write operations by a 4096 bytes write operation. 2018-12-19 00:41:30 +01:00
Mounir IDRASSI 7ef3d5e369 Windows: Enable selection of Quick Format for file containers. Separate Quick Format and Dynamic Volume options. 2018-12-19 00:41:23 +01:00
Mounir IDRASSI ace5399749 XML Languages files: Update Finnish translations contributed by Matti Ruhanen. 2018-12-03 23:06:56 +01:00
Mounir IDRASSI 0856b387f1 Windows: Update libzip to version 1.5.1 2018-12-03 00:51:49 +01:00
Mounir IDRASSI e4e017a2ad Windows: remove unused variable. 2018-12-03 00:51:42 +01:00
Mounir IDRASSI 9f7805b7db XML Languages files: Update translations from Transifex. 2018-12-03 00:51:36 +01:00
Mounir IDRASSI 85e0492016 XML Languages files: Update French translation from Transifex 2018-12-03 00:51:29 +01:00
Mounir IDRASSI a3783ea7b6 Windows: delete existing uninstall shortcut when performing upgrade/reinstall 2018-12-03 00:51:22 +01:00
Mounir IDRASSI a44c2a1e19 correct typo in French translation 2018-12-03 00:51:15 +01:00
Mounir IDRASSI 3e1460b618 MBR Bootloader: dynamically determine boot loader memory segment instead of hardcoded values (proposed by neos6464 at https://sourceforge.net/p/veracrypt/tickets/240/) 2018-12-03 00:51:08 +01:00
cswareandMounir IDRASSI e0049f601a Do not create uninstall shortcut in startmenu (#381)
Creating such a start menu entry is a leftover of the ancient Win 3.x time where there was no central control panel for removing programs.

Also see the Windows guidelines, where creating an uninstall shortcut is discouraged: https://msdn.microsoft.com/en-us/library/ms954377.aspx

Signed-off-by: Sven Strickroth <email@cs-ware.de>
2018-12-02 06:43:48 +01:00
Mounir IDRASSI e03068c372 Documentation: fix wrong screenshot in PIM documentation 2018-11-19 09:45:31 +01:00
Mounir IDRASSI 93dbed19c8 Increment version to 1.23-Hotfix-2 2018-10-10 09:32:02 +02:00
Mounir IDRASSI 162d3b5f64 Windows Driver: fix regression that was causing BSOD. 2018-10-10 09:31:41 +02:00
Mounir IDRASSI 0b5dc7910b Windows Driver: replace system functions RtlUpcaseUnicodeChar/RtlUnalignedStringCchLengthW by our own code for better clarity 2018-10-10 09:31:40 +02:00
Mounir IDRASSI 4fea208958 Windows: zero TC_IOCTL_GET_SYSTEM_DRIVE_CONFIG input/output parameter as it is done for other IOCTLs 2018-10-10 09:31:38 +02:00
Mounir IDRASSI 0b8b50bde9 Increment version to 1.23-Hotfix-1 2018-09-21 10:39:24 +02:00
Mounir IDRASSI 0557cac9cf Windows: don't use quick format by default when creating file containers using command line and add a switch to enable quick format explicitly in command line 2018-09-21 10:39:10 +02:00
Mounir IDRASSI 081287fc0a Windows: add /nosizecheck switch to VeraCrypt Format that allows disabling check on file container size against available free space on target disk. This enables to workaround a bug in Microsoft Distributed File System (DFS) that report wrong free disk space (https://support.microsoft.com/en-us/help/177127/incorrect-disk-free-space-information-for-a-dfs-client-share) 2018-09-21 10:39:09 +02:00
Mounir IDRASSI 2455c03e0d Windows driver: add extra check for data read in TC_IOCTL_OPEN_TEST handling 2018-09-21 10:39:08 +02:00
Mounir IDRASSI f30f9339c9 Windows: fix low severity vulnerability in driver that allowed reading 3 bytes of kernel stack memory (with a rare possibility of 25 additional bytes). Reported by Tim Harrison. 2018-09-21 10:39:06 +02:00
Mounir IDRASSI fcb66ecc2c XML Languages files: Update Spanish translation from Transifex. 2018-09-21 10:39:04 +02:00
Mounir IDRASSI 82050910f8 Set correct 1.23 release date in Release Notes. 2018-09-12 22:13:43 +02:00
Mounir IDRASSI 52f811f563 Documentation: fix link to download page 2018-09-12 17:52:39 +02:00
Mounir IDRASSI 32e2791d4c Set 1.23 release date to September 12th 2018 2018-09-12 17:45:22 +02:00
Mounir IDRASSI 3e25b07646 Documentation: update PGP key information to mention transition to new key with ID=0x680D16DE and fingerprint=5069A233D55A0EEB174A5FC3821ACD02680D16DE. 2018-09-12 17:45:21 +02:00
Mounir IDRASSI 74600364f2 Set 1.23 release date to September 10th 2018 2018-09-10 00:15:19 +02:00
Mounir IDRASSI 81f6d69261 Increment version to 1.23 2018-09-09 16:15:47 +02:00
Mounir IDRASSI 865d41e0a3 Documentation: Update Known Issues list by mentioning Windows 10 Fast Startup alongside Windows 8 Hybrid Boot. 2018-09-09 16:15:34 +02:00
Mounir IDRASSI 554375baab XML Languages files: update translations from Transifex 2018-09-09 16:15:33 +02:00
Mounir IDRASSI 5b1db60d20 Update some translations from Transifex. 2018-09-05 10:21:25 +02:00
Mounir IDRASSI d07bbd00f2 XML Languages files: update Arabic translation from Transifex 2018-09-04 23:33:37 +02:00
Mounir IDRASSI 889666073f Language XML files: Update Arabic translation (contributed by Ali Khojah) 2018-09-04 23:33:36 +02:00
Mounir IDRASSI 029aaf484c XML Languages files: Update translations from Transifex 2018-09-04 23:33:35 +02:00
Mounir IDRASSI bedd6dfb4c Documentation: Add note about the fact that currently smart card are not support for Pre-Boot authentication of system encryption. 2018-09-03 16:33:18 +02:00
Mounir IDRASSI 7fd1222fc0 Support Australian Dollars for donations through bank transfers 2018-09-03 16:33:16 +02:00
Mounir IDRASSI a451403b37 Support Ethereum cryptocurrency for donations 2018-09-03 16:33:14 +02:00
Mounir IDRASSI fda5880f90 Increment version to 1.23-BETA8 and update release notes. 2018-09-03 11:45:19 +02:00
Mounir IDRASSI 2730fa33a2 Windows: fix regression causing VeraCrypt UI to always be displayed upon logon 2018-09-03 11:45:09 +02:00
Mounir IDRASSI 33bdbde8dc Add possiblity to donate using PayPal in Australian Dollard and Polish złoty 2018-09-03 11:45:08 +02:00
Mounir IDRASSI 8d2ddcacb6 Update release notes for 1.23-BETA7 2018-09-03 01:00:56 +02:00
Mounir IDRASSI 8f47adfff1 Windows: handle case of inconsistencies in EFI system partition content during system encryption wizard caused by older VeraCrypt system encryption not properly uninstalled (e.g. reinstall Windows without decryption first). 2018-09-03 01:00:55 +02:00
Mounir IDRASSI d3060a97b6 Windows: fix regression when language selected in the setup during fresh install and that caused VeraCrypt background task to be disabled. 2018-09-03 01:00:54 +02:00
Mounir IDRASSI 35dabf4b2c Windows: Don't include DcsBml.efi file in resources if custom configuration not enabled 2018-09-03 01:00:52 +02:00
Mounir IDRASSI 6ee1af6a95 Increment version to 1.23-BETA7 and update release notes. 2018-09-03 01:00:52 +02:00
Mounir IDRASSI 6e94ee8b85 Windows: Add EFI bootloader files that are signed by Microsoft and remove files related to loading SecureBoot custom keys. 2018-09-03 01:00:43 +02:00
Mounir IDRASSI deef2031c7 Windows: add define to support case of using EFI bootloader signed by Microsoft (no check on custom keys in BIOS + removal of DcsBml EFI driver since it can not be signed). 2018-09-03 01:00:38 +02:00
Mounir IDRASSI 5455c89a50 Linux/FreeBSD: Add 32-bit build configuration targetting legacy CPUs that don't support SSE2 instructions. 2018-09-01 01:15:33 +02:00
Mounir IDRASSI 09afb91c89 Windows: extended Windows defragmenter workaround to Windows 8.1 2018-09-01 01:15:32 +02:00
Mounir IDRASSI 95748751df Windows: handle case of some disk drivers not supporting IOCTL_DISK_GET_DRIVE_GEOMETRY_EX IOCTL. 2018-09-01 01:15:30 +02:00
Mounir IDRASSI 36129ec5af Language XML files: update Russian XML file by Dmitry Yerokhin. 2018-08-29 00:54:10 +02:00
Mounir IDRASSI 638f717d90 Windows: Fix buttons at the bottom not shown when user sets a large system font under Window 7 2018-08-28 16:57:53 +02:00
Mounir IDRASSI 2576290e7b Language XML files: update Czech translation (contributed by Lagardere) 2018-08-25 10:27:49 +02:00
Mounir IDRASSI b45bf8c801 XML Language files: update Chinese translation 2018-08-24 14:30:01 +02:00
Mounir IDRASSI 967b7a1337 Add missing entry for 1.23-BETA6 in Release Notes. 2018-08-24 14:30:00 +02:00
Ettore AtalanandMounir IDRASSI 1fb4944b5a Update Language.de.xml (#354)
Translated the latest strings to German
2018-08-24 14:25:03 +02:00
Mounir IDRASSI 3891c40f3e Update EFI bootloader for 1.23-BETA6 2018-08-24 00:57:45 +02:00
Mounir IDRASSI e22676d336 Increment version to 1.23-BETA6 2018-08-24 00:50:09 +02:00
Mounir IDRASSI 7cbe6b71e5 Windows: implement a driver configuration option to explicitly allow defragmenting non-système disques by Windows built-in defragmenter tool. 2018-08-24 00:49:59 +02:00
Mounir IDRASSI f5a765e860 Windows: fix language selected in the installer not used by "Create Volume" wizard until reboot or exiting VeraCrypt main process. 2018-08-24 00:49:52 +02:00
Mounir IDRASSI 9376bc8f51 Windows: Add check on size of file container to ensure it's smaller than available free space on disk when this is required. 2018-08-24 00:49:51 +02:00
Mounir IDRASSI 351daf1300 Language XML files: update Czech translation (contributed by Lagardere) 2018-08-21 23:56:53 +02:00
Mounir IDRASSI 89ad3c53b1 Windows: Update signed driver files for 1.22-BETA5 2018-08-18 16:47:33 +02:00
Mounir IDRASSI 6f1047d46b Increment version to 1.23-BETA5 and update release notes 2018-08-18 16:47:31 +02:00
Mounir IDRASSI 20889d4553 Windows: Implement workaround on Windows 10 to make VeraCrypt encrypted disks visible to Windows defragmenter 2018-08-18 16:47:23 +02:00
Mounir IDRASSI 2fea18c3f5 Increment version to 1.23-BETA4 and update release notes. 2018-08-16 01:12:55 +02:00
Mounir IDRASSI 558746c482 Windows: Fix regression that caused the system encryption wizard to crash when displaying password field. 2018-08-16 01:12:46 +02:00
Mounir IDRASSI c2b69b248c Windows: Add various checks and replace STL code after Coverity report 2018-08-15 14:44:34 +02:00
Mounir IDRASSI 6cdcbac305 WIndows driver: add check for failed memory allocation 2018-08-15 14:44:32 +02:00
Mounir IDRASSI 17af27bc7f Windows: code enhancements for language selection mechanism in the installer. 2018-08-13 15:20:07 +02:00
Marius KjærstadandMounir IDRASSI 68fe28af42 Added line breaks between copyright holders (#318) 2018-08-12 22:21:22 +02:00
Mounir IDRASSI 8040a87a3d Windows: update EFI SecureBoot PowerShell script and its associated certificates to the latest version from VeraCrypt-DCS repository. 2018-08-12 22:18:06 +02:00
Mounir IDRASSI 0b2497748e Windows: Update EFI bootloader files for 1.23-BETA3 release 2018-08-12 22:17:56 +02:00
Mounir IDRASSI 6a1b12afc1 XML Language files: update Chinese translation 2018-08-12 21:08:52 +02:00
Mounir IDRASSI 920b029e02 Increment version to 1.23-BETA3 and update release notes. 2018-08-12 18:30:29 +02:00
Mounir IDRASSI c7f928fe7f Windows: add language selection dialog to the portable installer 2018-08-12 18:30:22 +02:00
Mounir IDRASSI 652dfd43d6 Windows Installer: implement language selection mechanism at the start of the installer to make easier for international users. 2018-08-12 18:30:21 +02:00
Mounir IDRASSI 012f7bfa93 Linux: Remove limitation of hidden volume protection on disk with sector size larger than 512 bytes. 2018-08-10 23:14:11 +02:00
Mounir IDRASSI c84bcd4b47 Linux/MacOSX/FreeBSD: Implement benchmarking for Hash and PKCS-5 PRF algorithms. 2018-08-10 01:31:32 +02:00
Mounir IDRASSI 1b59879411 Linux/MacOSX/FreeBSD: When performing backup of volume header, automatically try to use embedded backup header if using the main header fails. 2018-08-10 01:31:31 +02:00
mounirandMounir IDRASSI 1d37997d3b Linux/MacOSX/FreeBSD: In TrueCrypt mode, reject Streebog as KDF since it is not supported. 2018-08-10 01:31:30 +02:00
Mounir IDRASSI aac2036738 Linux/MacOSX/FreeBSD: Add CheckBox in mount option dialog to force the use of embedded backup header during mount. 2018-08-08 00:34:17 +02:00
Mounir IDRASSI 41ba7a06d3 Windows: Display a balloon tip warning or error message when the value pasted to password field is truncated or when there is no room for additional characters because of maximum password length reached 2018-08-07 00:58:49 +02:00
Mounir IDRASSI 88a6e7fd11 XML Languages files: Add some translations from Transifex 2018-08-06 00:13:18 +02:00
Mounir IDRASSI 6971b65512 Windows: fix warning in debug build 2018-08-06 00:13:17 +02:00
Mounir IDRASSI c1bc9dee0e Windows: avoid timeout of Secure Desktop display by waiting for the user to be really authenticated. Under Windows 10, a user session can be started in the background even before the user has been authenticated and this was causing VeraCrypt to be started before the user has logged in, in turn this was causing Secure Desktop to fail. 2018-08-06 00:13:16 +02:00
Mounir IDRASSI a11cada735 crypto: cleaner code for Streebog carry bit handling and add comment about missing handling of overflow caused by carry bit. 2018-08-06 00:13:15 +02:00
Mounir IDRASSI 6c9adee646 Windows: Fix hidden OS boot after upgrade to version 1.23 by explicitly specifying the new name for the bootloader to launch after password validation. 2018-08-06 00:13:14 +02:00
Mounir IDRASSI 5367932b38 Linux/MacOSX/FreeBSD: add reference to --pim and --new-pim switches in the verbose help. 2018-08-06 00:13:13 +02:00
Mounir IDRASSI cc2a684396 FAQ: fix wrong donation URL 2018-08-06 00:13:12 +02:00
Mounir IDRASSI 3357f14cb7 Docummentation: update Release Notes for 1.23-BETA2 2018-07-05 18:08:46 +02:00
Mounir IDRASSI 6fffe709df Increment version to 1.23-BETA2 2018-07-05 18:08:44 +02:00
Mounir IDRASSI 22106d4fc4 Windows: Update EFI bootloader binaries that implement workaround for first sector overwritten by Windows Repair. 2018-07-05 18:08:43 +02:00
Mounir IDRASSI 5d890e4ca7 Update translations from Transifex 2018-07-05 18:08:09 +02:00
Mounir IDRASSI a108db7c85 Documentation: Update donation page with IDRIX bank details for receiving donations through bank transfers. 2018-06-24 01:15:24 +02:00
Mounir IDRASSI eb22f70065 Windows: in DEBUG mode, disable verification to Authenticode signature of binaries. 2018-06-24 01:15:23 +02:00
Mounir IDRASSI 22b9ca94b3 Linux/MacOSX/FreeBSD: better handling for mounting systen encrypted disks whose first sector has been overwritten (e.g. during windows repair). 2018-06-14 00:31:05 +02:00
Mounir IDRASSI d5dca62b04 Linux/MacOSX/FreeBSD: Support mounting partially encrypted system partitions/drivers in ReadOnly mode in order to allow troubleshooting in some cases. 2018-06-11 00:14:53 +02:00
Mounir IDRASSI 509c8288d0 Increment version to 1.23-BETA1 2018-05-03 08:25:30 +02:00
Mounir IDRASSI dabfd3382f Documentation: update link for current language pack 2018-05-03 08:25:23 +02:00
Mounir IDRASSI 98ff65045e Windows: Support machines without "EFI\Boot" folder for EFI system encryption (e.g. Windows LTSB). Compatibility enhancements for EFI system encryption. 2018-05-03 08:25:22 +02:00
Ettore AtalanandMounir IDRASSI 143d6c1dde Update Language.de.xml (#317)
* Update Language.de.xml

Translated both new strings and improved one existing string.

* Update Language.de.xml

Fixed language attribute.
2018-05-01 01:23:50 +09:00
Mounir IDRASSI bfac44ebfd Docummentation: update Release Notes with changes done in MacOSX and Linux 2018-04-29 17:52:48 +02:00
Mounir IDRASSI e39f5fa5d6 MacOSX: support pasting values to password fields using keyboard (CMD+V and CMD+A now working properly). This make using password managers with VeraCrypt easier. 2018-04-29 17:52:43 +02:00
Mounir IDRASSI 7a842266b3 Linux: Fix crash if user is able to close the waiting dialog before the operation is finished. This can happen if GTK installation show "X" closing icon even if it is programmatically disabled (e.g. on Lubuntu 16.04) 2018-04-28 17:56:27 +02:00
Mounir IDRASSI bd7bbfaa8f Docummentation: update Release Notes for 1.23-BETA0 2018-04-23 16:59:51 +02:00
Mounir IDRASSI 69272ece3f Increment version to 1.23-BETA0 (1.23.0) 2018-04-23 16:59:50 +02:00
Mounir IDRASSI baa3c1294c XML Languages files: Add translation entries for newly added strings. 2018-04-23 16:59:44 +02:00
Mounir IDRASSI 4f0d1c02bd Windows: Don't start EFI system encryption process if SecureBoot is enabled and VeraCrypt-DCS custom keys were not loaded in the machine firmware. 2018-04-23 16:59:40 +02:00
Mounir IDRASSI 42e7da2e8a Windows: Update EFI bootloader binaries that implement the new workaround for system encryption issues. 2018-04-23 16:59:39 +02:00
Mounir IDRASSI 17d9c1c6ec Windows: Fix system encryption issues on machines that always force booting on Microsoft bootloader (e.g. HP). 2018-04-23 16:59:37 +02:00
Mounir IDRASSI 3659ddd70c Windows: enhance ReflectDrivers mechanism by persisting it across major Windows upgrades. 2018-04-23 16:59:36 +02:00
Mounir IDRASSI f4edd72662 Windows: code refactoring 2018-04-23 16:59:35 +02:00
Mounir IDRASSI 8e4497de2a Windows: remove ending backslash from installation path written to SetupConfig.ini 2018-04-23 16:59:34 +02:00
Mounir IDRASSI 75705ddde7 Windows: fix driver inf file 2018-04-23 16:59:34 +02:00
Mounir IDRASSI 4519bb494e Windows: implement compatibility for Windows 10 major updates using ReflectDrivers mechanism whose support started from Windows 10 version 1607. 2018-04-23 16:59:33 +02:00
Mounir IDRASSI cce74aaee0 Windows: handle case when parameter of VerifyModuleSignature is enclosed between quotation marks 2018-04-23 16:59:31 +02:00
Mounir IDRASSI 3f3a567782 Windows: during install, copy the 64-bit driver if we are running on 64-bit windows 2018-04-23 16:59:30 +02:00
Mounir IDRASSI f5cb9d1f2e Windows: modify travel disk creation to get binaries from within setup exe files instead of copying existing binaries. This is needed since now we only install binaries of the current architecture. 2018-04-23 16:59:29 +02:00
Mounir IDRASSI 2dc39a7c7e Windows: simplify installer logic by copying only binaries for the current architecture. 2018-04-23 16:59:28 +02:00
Mounir IDRASSI 0a737c8c87 Windows: implement internal verification of Authenticode digital signature for all modules to protect against simple binaries tampering. 2018-04-23 16:59:27 +02:00
Mounir IDRASSI 9e36039630 Windows: when extracting files in Setup or Portable mode, decompress zip files docs.zip and Languages.zip in order to have ready to use configuration. 2018-04-23 16:59:26 +02:00
Mounir IDRASSI 29b80ec6df FreeBSD/Linux/OSX: replace some remaining TrueCrypt.tc file extension in the code by VeraCrypt .hc extension 2018-04-05 23:41:15 +02:00
Mounir IDRASSI ad7eb74960 Windows: when Secure Desktop is enabled, use it for Mount Options dialog if it is displayed before password dialog (e.g. using menu Volumes > Mount Volume with Options) since it may contains the password for hidden volume. 2018-04-05 16:48:45 +02:00
Mounir IDRASSI 431aae0201 FreeBSD/MacOSX: fix for missing <sys/sysmacros.h> header 2018-04-04 23:47:02 +02:00
Gokturk YuksekandMounir IDRASSI 80fed6f7f7 Platform/Unix: include <sys/sysmacros.h> for major/minor macros (#303)
Starting with glibc 2.26, macros "major" and "minor" are only
available from <sys/sysmacros.h> [0]. The build fails with the
following without including this header:

Unix/FilesystemPath.cpp:84:49: error: ‘major’ was not declared in this scope
Unix/FilesystemPath.cpp:84:113: error: ‘minor’ was not declared in this scope

[0] https://sourceware.org/ml/libc-alpha/2017-02/msg00079.html
2018-04-04 22:37:33 +02:00
Mounir IDRASSI 1d4a02b672 Language XML files: update Czech translation (contributed by Lagardere) 2018-04-02 23:23:11 +02:00
Mounir IDRASSI 242fdbc056 Language XML files: Update Arabic translation (contributed by Ali Khojah) 2018-03-30 13:54:10 +02:00
Mounir IDRASSI b60030a3cf Windows: Update EFI bootloader files for 1.22 release 2018-03-30 13:54:09 +02:00
Mounir IDRASSI 5b364099e1 Windows: Update signed driver files for 1.22 2018-03-30 13:54:07 +02:00
Mounir IDRASSI 76649073ea Docummentation: update Release Notes for 1.22 2018-03-30 13:54:06 +02:00
Mounir IDRASSI 5f691297c0 Increment version to 1.22 (1.22.9) 2018-03-30 13:54:05 +02:00
Mounir IDRASSI e57ef0229b Windows: workaround for cases where password dialog is not able to get focus. 2018-03-30 13:53:59 +02:00
Mounir IDRASSI 8dd58ddf6d Update some XML languages files using translations done in Transifex 2018-03-30 13:53:58 +02:00
Mounir IDRASSI da77d7e2c4 Simplify format of XML language files to make it easy to integrate in collaborative translation platforms (e.g. Transifex). 2018-03-30 13:53:37 +02:00
Mounir IDRASSI 1732ee57d0 Documentation: Add missing image file. 2018-03-30 13:51:58 +02:00
Mounir IDRASSI 849a2eae81 Language XML files: update Russian XML file by Dmitry Yerokhin. 2018-03-28 20:34:31 +02:00
Mounir IDRASSI 46ace708b6 Windows: Update EFI bootloader files for 1.22-BETA8 2018-03-28 16:50:05 +02:00
Mounir IDRASSI e2c0d1cf36 Increment version to 1.22-BETA8 (1.22.8) 2018-03-28 16:50:03 +02:00
Mounir IDRASSI 806c86bd19 Windows: use the same default value for EFI system encryption password prompt as in the one used in the bootloader. 2018-03-28 16:49:55 +02:00
Mounir IDRASSI ca31073eae Linux/MacOSX: use latest wxWidgets version 3.0.4 for official build 2018-03-27 19:54:10 +02:00
Mounir IDRASSI f11368a4ee Windows: Update EFI bootloader files for 1.22-BETA7 2018-03-27 16:16:19 +02:00
Mounir IDRASSI c30396bea9 Windows: Update signed driver files for 1.22-BETA7 2018-03-27 16:16:16 +02:00
Mounir IDRASSI 0b2bad77ac Docummentation: update Release Notes for 1.22-BETA7 2018-03-27 16:16:15 +02:00
Mounir IDRASSI 7d1a3e4f4e Increment version to 1.22-BETA7 (1.22.7) 2018-03-27 16:16:14 +02:00
Mounir IDRASSI 5a63585f7e Documentation: document newly added cascades of cipher algorithms (Camellia-Kuznyechik, Camellia-Serpent, Kuznyechik-AES, Kuznyechik-Serpent-Camellia and Kuznyechik-Twofish) 2018-03-27 16:16:04 +02:00
Mounir IDRASSI c9deed4686 Linux/MacOSX: make the benchmark dialog resize dynamically to accommodate the displayed results. 2018-03-27 16:16:00 +02:00
Mounir IDRASSI 7df9724e20 Crypto: Add support for 5 new cascades of cipher algorithms (Camellia-Kuznyechik, Camellia-Serpent, Kuznyechik-AES, Kuznyechik-Serpent-Camellia and Kuznyechik-Twofish) 2018-03-27 16:15:57 +02:00
Mounir IDRASSI da69304dc8 Language Files: update polish translation 2018-03-26 15:17:44 +02:00
Mounir IDRASSI c43f2abaa6 Docummentation: update Release Notes for 1.22-BETA6 2018-03-25 22:00:43 +02:00
Mounir IDRASSI caf2fff60e Increment version to 1.22-BETA6 (1.22.6) 2018-03-25 22:00:39 +02:00
Mounir IDRASSI f38c4cfee8 Windows: handle rare case where call to SwitchDestop fails when trying to display password dialog in our secure desktop. This can happen for example if VeraCrypt process is launched early when user session is opened and it tries to load favorites before user workstation becomes visible. 2018-03-25 22:00:28 +02:00
Mounir IDRASSI b206988531 Windows: use cleaner approach to implement bringing our windows to foreground. The previous implementation was causing issues with other application, like random freezing. 2018-03-25 22:00:27 +02:00
Mounir IDRASSI e412c0458b Windows: ensure that out secure desktop has always user input to avoid cases where another application switch to default desktop while our password dialog is displayed. 2018-03-25 22:00:27 +02:00
Mounir IDRASSI 6ebc83bbed Update dates on some copyrights statements 2018-03-22 11:13:35 +01:00
Mounir IDRASSI 4c0c4577df Update EFI bootloader files to latest VeraCrypt-DCS (commit "llmath updated (EFI based)") 2018-03-22 10:27:06 +01:00
Mounir IDRASSI a6e76e714c Windows: Update signed driver files for 1.22-BETA5 2018-03-22 10:27:04 +01:00
Mounir IDRASSI b81b1d3bff Docummentation: update Release Notes for 1.22-BETA5 2018-03-22 10:25:55 +01:00
Mounir IDRASSI f7a56b8f29 Increment version to 1.22-BETA5 (1.22.5) 2018-03-22 10:25:54 +01:00
Mounir IDRASSI e29ecee6bc Documentation: Update copyright information. 2018-03-22 10:25:46 +01:00
Mounir IDRASSI c24105feac Documentation: add information about data leaks in Windows related to shellbags registry keys (reported by DrunkenSasquatch at https://github.com/veracrypt/VeraCrypt/issues/276) 2018-03-22 00:27:33 +01:00
Mounir IDRASSI fd693b3a0c Windows: Fix some cases of external applications freezing during mount/dismount by using an internal window as parent to the waiting dialog instead of the desktop window. 2018-03-20 00:21:58 +01:00
Mounir IDRASSI f278df95e9 XML Languages files: remove unused entry. 2018-03-20 00:21:57 +01:00
Mounir IDRASSI eafac3be5c Update various copyright dates. 2018-03-18 23:30:29 +01:00
Mounir IDRASSI cd7a01c34f Windows: Update libzip to version 1.5.0 that include fixes for some security issues. 2018-03-18 23:13:40 +01:00
Mounir IDRASSI 49a8e52139 XML Language files: Set lang to "de" to newly translated entries in German language file. 2018-03-18 18:08:20 +01:00
Ettore AtalanandMounir IDRASSI f4bea28fe4 Update Language.de.xml (#293)
Translated the latest strings for TRIM commands.
2018-03-18 17:56:03 +01:00
Mounir IDRASSI d20df7c990 Windows: when /silent specified in command line, avoid performing any WIN32 UI calls. This fixes issue of current application losing focus when VeraCrypt is run with /quit /silent (cf https://github.com/veracrypt/VeraCrypt/issues/274) 2018-03-13 18:34:21 +01:00
Mounir IDRASSI 6c69cbfd29 Fix ampersand symbol not properly escaped in Romanian translation. 2018-03-12 23:33:05 +01:00
Mounir IDRASSI 7ee9e21525 XML Language files: update Chinese translation 2018-03-12 23:33:04 +01:00
Mounir IDRASSI cfe9218655 XML Language files: Update Hungarian translation (by Szaki) 2018-03-12 00:26:13 +01:00
Mounir IDRASSI 2c961dc1a6 Language XML file: remove unused text entry. 2018-03-12 00:26:12 +01:00
Mounir IDRASSI 5e3d756806 Windows: make TRIM blocking option grayed in System -> Settings UI under hidden OS since TRIM commands are always blocked in this case. 2018-03-12 00:26:11 +01:00
Mounir IDRASSI c215c5d0b2 Update donation page to match online version and remove references to Tibit service since it has shutdown. 2018-03-07 00:23:03 +01:00
TigerxWoodandMounir IDRASSI 232e27c979 Update language.ro.xml to 1.22-BETA4 (#288)
Corrected
2018-03-06 23:11:11 +01:00
Mounir IDRASSI d17c5a0d89 Windows: Replace the text "TRIM operation" by "TRIM command" in UI and translations for better consistency. 2018-03-05 19:35:13 +01:00
Mounir IDRASSI d907627f7e Windows: Add option to block TRIM command on system encryption SSD drives. 2018-03-05 19:35:07 +01:00
Mounir IDRASSI bac2ad29b6 XML Languages files: Add translation entry for non-system TRIM configuration 2018-03-05 19:35:01 +01:00
TigerxWoodandMounir IDRASSI 59ebfd2683 Update language.ro.xml to 1.22-BETA4 (#285) 2018-03-05 12:21:21 +01:00
Mounir IDRASSI cd59d5364f Windows: Implement TRIM support for non-system SSD partitions/drives and add driver option to enable it (TRIM is disabled by default for non-system SSD partitions/drives) 2018-03-04 18:50:23 +01:00
Mounir IDRASSI 5065116e56 Windows: fix build issue under VS 2017 caused by msxml6.dll 2018-03-04 18:50:21 +01:00
Mounir IDRASSI 95d682a60f Windows: remove dependency to afxres.h header to allow build on community edition of Visual Studio. 2018-03-04 18:50:20 +01:00
Mounir IDRASSI 21ef234989 Windows: fix build issue of zip library with Visual Studio 2015/2017 2018-03-04 18:50:19 +01:00
Mounir IDRASSIandGitHub 1c78303d94 Merge pull request #277 from DrunkenSasquatch/master
Fix Location Typo
2018-02-11 16:27:19 +01:00
DrunkenSasquatch 61454c3df7 Fix Location Typo 2018-02-10 08:48:54 +10:00
Mounir IDRASSIandGitHub b076fb09d7 Merge pull request #267 from gv5470/patch-100
Fix wxWidgets assertion failed when backing up/restoring volume heade…
2018-01-26 01:00:55 +01:00
gv5470 fbd0b47ff0 Fix wxWidgets assertion failed when backing up/restoring volume header (closes #100) 2018-01-21 11:17:34 +01:00
Mounir IDRASSI ea94096df7 Language XML Files: Add untranslated Thai language file. 2017-12-29 01:06:31 +01:00
Mounir IDRASSIandGitHub 2a60a5728e Merge pull request #252 from Musikolo/develop
Update Spanish translations
2017-12-28 13:39:11 +01:00
Mounir IDRASSIandGitHub 58287614e6 Merge pull request #250 from Atalanttore/patch-1
Update Language.de.xml
2017-12-28 12:50:04 +01:00
Unknown 26bf85575d Fix a lot of typos 2017-12-28 00:15:06 -06:00
Unknown 394bc1a4dd Fix minor typo 2017-12-27 23:22:13 -06:00
Unknown 81cc646107 Add some missing changes 2017-12-26 22:08:18 -06:00
Unknown dc4d3923f2 Update Spanish translations 2017-12-26 21:34:15 -06:00
Ettore AtalanandGitHub 270df0103a Update Language.de.xml 2017-12-26 10:26:37 +01:00
Ettore AtalanandGitHub 80d53604cf Update Language.de.xml
I've translated the new strings for the upcoming version 1.22.
2017-12-26 10:20:50 +01:00
Mounir IDRASSI e1646365b0 Docummentation: update Release Notes with fix for KDE GUI install. 2017-12-13 16:24:02 +01:00
Mounir IDRASSI 9b09b47055 Linux: fix failure to install GUI version under recent versions of KDE. 2017-12-13 16:23:59 +01:00
Mounir IDRASSI c2a3a00516 Linux: fix compilation error with older versions of gcc (e.g. 4.x) 2017-12-09 15:11:48 +01:00
Mounir IDRASSI d03b06a40f Windows: Update signed driver files for 1.22-BETA4 2017-12-09 15:11:47 +01:00
Mounir IDRASSI 857d0f16c0 Docummentation: update Release Notes for 1.22-BETA4 2017-12-09 15:11:44 +01:00
Mounir IDRASSI 2ef3c3a482 Increment version to 1.22-BETA4 (1.22.4) 2017-12-09 15:11:33 +01:00
Mounir IDRASSI f3d5ed570f MacOSX: fix issue that prevented some local help files from opening in the browser (e.g Beginner's Tutorial). 2017-12-08 12:24:50 +01:00
Mounir IDRASSI 700b54aee9 MacOSX: Update reference of code signing certificate in Makefile to use new IDRIX certificates. 2017-12-06 23:25:46 +01:00
Mounir IDRASSI d6f03627dd Linux/MacOSX: Avoid OS leaking previously used directory if user choose not to save history. 2017-12-06 23:25:45 +01:00
Mounir IDRASSI b4ed8de5d5 Documentation: Remove codeplex reference from Flattr donation link. 2017-12-05 17:23:48 +01:00
Mounir IDRASSI fb403ab552 Docummentation: correct Release Notes for 1.22-BETA3 2017-12-05 17:23:47 +01:00
Mounir IDRASSI 668d5e3cad Linux: Only add disk to mountable devices if it doesn't have a partition. This fixes a strange issue where the function "open" would fail with error ENOENT (No such file or directory) on a partition (e.g. /dev/sdb1) if it was called previously on the main disk (e.g. /dev/sdb). 2017-11-29 17:27:39 +01:00
Mounir IDRASSI ee6da31fb6 Language XML files: remove references to GOST89 since it is not supported anymore. 2017-11-28 23:31:08 +01:00
Mounir IDRASSIandGitHub c5e48c56c9 Merge pull request #243 from gv5470/patch-233-pr
Linux: autodetect host drive name using sysfs (closes #233)
2017-11-28 22:56:20 +01:00
gv5470 49f9516c9e Linux: autodetect host drive name using sysfs (closes #233) 2017-11-28 19:03:07 +01:00
Mounir IDRASSI f53eb8e260 SIMD speed optimization for Kuznyechik cipher implementation (up to 2x speedup). Based on https://github.com/aprelev/libgost15. 2017-11-27 16:16:35 +01:00
Mounir IDRASSI 685fad2d5d Documentation: Add OSX 10.13 High Sierra to the list of support operating systems. 2017-11-27 16:16:33 +01:00
Mounir IDRASSIandGitHub 7dfca3573b Merge pull request #206 from strazzere/patch-1
Fix typo
2017-11-27 15:59:50 +01:00
Mounir IDRASSIandGitHub 743f1ff329 Merge pull request #226 from TigerxWood/patch-2
Romanian Translation: Update to ver. 122 and made some corrections.
2017-11-27 15:59:00 +01:00
Mounir IDRASSIandGitHub d4d1fba035 Merge pull request #230 from bmintz/issue-198
Fix compilation on Linux (closes #198)
2017-11-27 15:54:16 +01:00
Mounir IDRASSIandGitHub 7ed41b3fde Merge pull request #227 from wwj402/patch-1
Update Language.zh-cn.xml
2017-11-27 15:51:38 +01:00
Mounir IDRASSIandGitHub e9519da49e Merge pull request #234 from user9209/master
fixed kuznyechik blocksize in german description
2017-11-27 15:46:29 +01:00
Georg Schmidt 3c52c07dbc fixed kuznyechik blocksize in german description 2017-11-10 21:07:53 +01:00
TigerxWoodandGitHub d74d568e6d Update ver. 1.22 beta3
Corrected lang="ro" for key="GPT_BOOT_DRIVE_UNSUPPORTED">
2017-11-10 06:34:01 +02:00
bmintz 5800d245e5 Fix compilation on Linux (closes #198)
This patch was provided by Krytarik Raido via unit93
https://github.com/veracrypt/VeraCrypt/issues/198#issuecomment-341453420
2017-11-06 21:05:21 -06:00
wwj402andGitHub de4a0393df Update Language.zh-cn.xml
Chinese Simplified language 1.22-BETA3 translation update.
2017-11-05 11:39:48 +08:00
TigerxWoodandGitHub f6b14ee300 Update to ver. 122 and made some corections.
The line 1403 ="GOST89_HELP" is still there, should be removed, because from ver. 1.19 the encryption algorithm was removed.
2017-11-04 12:30:38 +02:00
Tim StrazzereandGitHub 5b46b82e6d Fix typo
`incorrrect` -> `incorrect`
2017-08-30 09:59:44 -07:00
Mounir IDRASSI 6575ce3e9e Language XML files: update Czech translation (contributed by Lagardere) 2017-08-09 00:08:51 +02:00
Mounir IDRASSI dca51c6393 Docummentation: update Release Notes for 1.22-BETA3 2017-08-02 17:31:27 +02:00
Mounir IDRASSI 0137f63d81 Windows: Update signed driver files for 1.22-BETA3 2017-08-02 17:31:26 +02:00
Mounir IDRASSI ed7a17e47f Windows: Increment version to 1.22-BETA3 2017-08-02 17:31:20 +02:00
Mounir IDRASSI 2fde7f0b47 Windows MBR bootloader: reduce CPU usage during password prompt (Credit: Jason Pyeron of CipherShed project https://github.com/CipherShed/CipherShed/commit/00ea00e8e6a23a4243316f860aa07ed59203ab97) 2017-08-02 17:31:19 +02:00
Mounir IDRASSI 21fc5a8750 Windows: Update signed driver files for 1.22-BETA2-Build6 2017-07-29 15:54:32 +02:00
Mounir IDRASSI 53adfd5a1d Windows: increment version to 1.22-BETA2-Build6 2017-07-29 15:54:29 +02:00
Mounir IDRASSI 7158e2b097 Windows Driver: avoid allocating memory for some IOCTL_STORAGE_QUERY_PROPERTY calls that always return fixed size structures. 2017-07-29 15:54:28 +02:00
Mounir IDRASSI 8288fecc0a Windows: Add portable installer that only extra binaries without the need of administrative privileges for extraction. 2017-07-29 15:54:27 +02:00
Mounir IDRASSI 7a94a05974 Documentation: update release notes for 1.22-BETA2-Build5 2017-07-27 00:30:57 +02:00
Mounir IDRASSI 076c64dc8e Language Files: update polish translation 2017-07-27 00:30:57 +02:00
Mounir IDRASSI 6409f9c8e5 Windows: Update signed driver files for 1.22-BETA2-Build5 2017-07-27 00:30:56 +02:00
Mounir IDRASSI 03f45d842d Windows: increment version to 1.22-BETA2-Build5 2017-07-27 00:30:55 +02:00
Mounir IDRASSI aaa9a08bd4 Windows: when mounting system favorites using VolumeID feature, query all disks each time instead of caching previous call results. This is not efficient but it should fix rare cases where issues happen. 2017-07-27 00:30:54 +02:00
Mounir IDRASSI 72b7147021 Windows: use large output buffer for IOCTL_DISK_GET_DRIVE_GEOMETRY_EX calls to avoid failure with disk drivers that don't support returning only sizeof(DISK_GEOMETRY_EX). 2017-07-27 00:30:53 +02:00
Mounir IDRASSI c29ee8331a Windows driver: correctly handle IOCTL_DISK_GET_DRIVE_GEOMETRY_EX to fix issues with some disks. Implement IOCTL_STORAGE_GET_MEDIA_TYPES_EX. 2017-07-27 00:30:51 +02:00
Mounir IDRASSI 7e892b7b24 Documentation: update release notes for 1.22-BETA2-Build1 2017-07-23 14:52:25 +02:00
Mounir IDRASSI 6f371c0973 Windows MBR Bootloader: always compress bootloader with upx to reduce runtime memory requirement thanks to its in-place decompression. 2017-07-23 14:52:24 +02:00
Mounir IDRASSI 3d3a3900c6 Windows: Update signed driver files for 1.22-BETA2-Build1 2017-07-23 14:52:22 +02:00
Mounir IDRASSI dd72cf9068 Windows: Increment version to 1.22-BETA2-Build1 2017-07-23 14:52:19 +02:00
Mounir IDRASSI 3dfd4a5332 Windows: display notice about creating new Rescue Disk at first boot after upgrade. 2017-07-23 14:52:12 +02:00
Mounir IDRASSI 7cc2a3527d Windows Driver: make IOCTL_DISK_GET_DRIVE_GEOMETRY_EX support optional. Make disk size equal to partition size to avoid compatibility issues with existing software. 2017-07-23 14:52:12 +02:00
Mounir IDRASSI 1812449906 Windows Driver: add legacy handling for IOCTL_DISK_GET_DRIVE_LAYOUT_EX/IOCTL_DISK_GET_DRIVE_LAYOUT IOCTLs to fix issues with faulty applications and drivers that don't handle them correctly. 2017-07-23 14:52:11 +02:00
Mounir IDRASSI 6bb0440d4a Documentation: Remove OSX 10.6 from list of officially supported operating systems 2017-07-23 14:52:08 +02:00
Mounir IDRASSI ff871511af Windows: reduce size of MBR bootloader by removing unused functions in each build type. 2017-07-22 00:30:19 +02:00
Mounir IDRASSI 0fb2befe3a Windows: fix truncated license text in installer wizard. 2017-07-20 23:23:26 +02:00
Mounir IDRASSI 1ab09916f6 Windows: display prompt to upgrade Rescue Disk when installing 1.22 version because of the fix for hidden os boot issue on some machines. 2017-07-20 23:23:25 +02:00
Mounir IDRASSI ad8e8509f4 Documentation: update release notes for 1.22-BETA1-Build4 version 2017-07-20 23:23:24 +02:00
Mounir IDRASSI 6e78cb1ab5 Documentation: Add FreeBSD 11 to the list of Supported Operating Systems. 2017-07-20 23:23:23 +02:00
Mounir IDRASSI 853adda540 Windows: Update signed driver files for 1.22-BETA1-Build4 2017-07-20 23:23:22 +02:00
Mounir IDRASSI a27c314613 Windows: Increment version to 1.22-BETA1-Build4 2017-07-20 23:23:21 +02:00
Mounir IDRASSI fb317ebc48 Windows: enable secure desktop feature for VeraCrypt Format application. 2017-07-20 23:23:21 +02:00
Mounir IDRASSI 6d6aafe58d Windows driver: only activate newly supported IOCTLs if the option to enable extended IOCTLs is enabled in VeraCrypt driver settings. 2017-07-20 23:23:20 +02:00
Mounir IDRASSI ac77142949 Windows driver: fix IOCTL_DISK_GET_DRIVE_LAYOUT and IOCTL_DISK_GET_DRIVE_LAYOUT_EX output by using setting PartitionCount to 4 instead of 1 since this field must always be a multiple of 4 for MBR disks. 2017-07-20 23:23:20 +02:00
Mounir IDRASSI 5a9409a3af Windows driver: remove filesystem detection mechanism when mounting volumes since it is not reliable. 2017-07-20 23:23:19 +02:00
Mounir IDRASSI 7f2981f257 Windows: use Secure Desktop for smart card PIN dialog if it is activated for password dialog. 2017-07-20 23:23:18 +02:00
Mounir IDRASSI 3021745f67 Windows: better workaround for cases where ERROR_INVALID_PARAMETER is returned during system encryption which is due to 4096-bytes alignment of disk. 2017-07-20 23:23:18 +02:00
Mounir IDRASSI fe26ed8a5d Windows: in case of mounting system favorites, call driver to get list of drives instead of using SetupAPI in order to fix some rare issues where some disks were not detected at boot. 2017-07-20 23:23:16 +02:00
Mounir IDRASSI d78a3d0273 Windows MBR bootloader: remove unused test function in release build 2017-07-19 01:12:23 +02:00
Mounir IDRASSI 3bdb9a32d7 Windows MBR bootloader: reduce required stack size for cascade bootloader by removing unnecessary field from Twofish structure in this case. 2017-07-19 01:12:23 +02:00
Mounir IDRASSI b37d732408 Windows MBR Bootloader: workaround for 16-bit compiler internal error when compiling Camellia source code. In GET_UINT32_BE macro, we use |= operator instead of ORing shift values. 2017-07-19 01:12:22 +02:00
Mounir IDRASSI 86a78d55ed Windows: Update signed driver files for 1.22-BETA0 2017-07-19 01:12:21 +02:00
Mounir IDRASSI 12e0a594fb Windows: Increment version to 1.22-BETA0 2017-07-19 01:12:19 +02:00
Mounir IDRASSI 6674fb4401 Windows Driver: remove dependency to wcsstr by using simple memcmp comparison 2017-07-19 01:12:19 +02:00
kavsrfandMounir IDRASSI f45dba14be RPI, armv7 target 2017-07-16 15:14:52 +02:00
Mounir IDRASSI 295d5affbb Documentation: add missing release notes for 1.20 and 1.21. 2017-07-10 16:31:06 +02:00
Mounir IDRASSI d49432dc88 FreeBSD: make official FreeBSD build script executable 2017-07-10 00:31:19 +02:00
Mounir IDRASSI b7e1614b58 FreeBSD: enable wxWidgets static build by default in official build script 2017-07-10 00:18:28 +02:00
Mounir IDRASSI bc9e722211 Update Readme to mention FreeBSD support and remove reference to OpenSolaris 2017-07-10 00:14:19 +02:00
Mounir IDRASSI 342b8636d8 Add support for building under FreeBSD 11 2017-07-10 00:14:18 +02:00
Mounir IDRASSI e273149541 Windows: Update EFI bootloader files from VeraCrypt-DCS 1.21 after Camellia 64bit assembly changes 2017-07-09 10:55:38 +02:00
Mounir IDRASSI 6358b00b69 Windows: continue fix documentation about iteration calculation formula for key derivation 2017-07-09 10:49:32 +02:00
Mounir IDRASSI 3f36836a3b Change 1.21 release date to July 9th 2017 2017-07-09 09:49:36 +02:00
Mounir IDRASSI 9833a753dd Windows: when listing connected devices, consider that a partition exists if CreateFile returns ERROR_ACCESS_DENIED 2017-07-09 09:49:35 +02:00
Mounir IDRASSI ac37fb0003 Windows: generate pdb files for binaries in order to help investigate crashes in the future. 2017-07-09 09:49:33 +02:00
Mounir IDRASSI f5841b8841 Windows: install crash handler in case of system favorites service in order to be able to clear Pre-Boot password from cache before the service is terminate if a crash happens. 2017-07-09 09:49:32 +02:00
Mounir IDRASSI 1ebb0bf00f Windows: correctly initialize global critical sections in case if system favorites service. 2017-07-09 00:19:17 +02:00
Mounir IDRASSI 37a070cdea Windows: Update signed driver files for 1.21 release (1.21.5) 2017-07-09 00:19:16 +02:00
Mounir IDRASSI 795aa4318e Increment version to 1.21.5 2017-07-09 00:19:14 +02:00
Mounir IDRASSI d2eacde0da Remove unnecessary code from Camellia assembly implementation that checks for key size since we always use it with 256-bit keys. 2017-07-09 00:19:14 +02:00
Mounir IDRASSI 2577797fc4 Windows: preserve volatile registers XMM6-XMM15 in 64-bit assembly of Camellia. 2017-07-09 00:19:12 +02:00
Mounir IDRASSI bf571681fe Windows: Add PDF documents about DCS configuration for EFI system encryption: TPM support, full disk encryption and hidden OS. Include this in Windows installer. 2017-07-07 20:25:30 +02:00
Mounir IDRASSI 37aeeaf204 Windows: display prompt to upgrade Rescue Disk when installing 1.21 version. 2017-07-07 12:04:21 +02:00
Mounir IDRASSI b7ed0c4892 Windows: Don't remove last digit of version string if it is zero. This is a legacy code that applied to previous versioning scheme. 2017-07-07 11:52:40 +02:00
Mounir IDRASSI 753894cb7e Change 1.21 release date to July 7th 2017 2017-07-07 11:52:38 +02:00
Mounir IDRASSI 4e0ced43a4 Windows: in case of system favorite mounting, update list of host devices before each retry to mount disconnected favorites. 2017-07-07 01:06:59 +02:00
Mounir IDRASSI 1c3156a17b Windows: fix regression affecting automatic mount of favorites and system favorites at logon 2017-07-07 00:41:08 +02:00
Mounir IDRASSI 048e161d15 Windows: Update EFI bootloader files from VeraCrypt-DCS 1.21 2017-07-07 00:41:06 +02:00
Mounir IDRASSI edac097822 Windows: Update signed driver files for 1.21 release (1.21.4) 2017-07-05 16:21:39 +02:00
Mounir IDRASSI d9f9e6d231 Increment version to 1.21.4 2017-07-05 16:21:37 +02:00
Mounir IDRASSI 384c5cc259 Windows Driver: correctly get KeRestoreExtendedProcessorState function pointer. 2017-07-05 16:21:35 +02:00
Mounir IDRASSI b0827e9b74 Increment version to 1.21.3 2017-07-04 12:28:19 +02:00
Mounir IDRASSI 88cc8a00f4 Windows: correctly handle SEH exceptions during self-tests in order to disable CPU extended features in such case. 2017-07-04 12:28:17 +02:00
Mounir IDRASSI 0358eb6c71 Don't check for SSSE3 to use 64-bit SHA-512 assembly code since it uses only SSE2 instructions. 2017-07-04 02:26:26 +02:00
Mounir IDRASSI 89efcdb8cd Windows Driver: correctly save and restore extended processor state when performing AVX operations on Windows 7 and later. Enhance readability of code handling save/restore of floating point state. 2017-07-04 02:26:24 +02:00
Mounir IDRASSI c2f6190627 Windows: use stack instead of MMX register to save registers in 64-bit assembly implementation of SHA-512 in order to avoid issues with the driver. 2017-07-04 02:26:23 +02:00
Mounir IDRASSI 840756ead1 Windows: workaround for some cases where the system return ERROR_INVALID_PARAMETER when we try to write EFI bootloader files into ESP partition. 2017-07-03 01:55:45 +02:00
Mounir IDRASSI f78242fac6 Change 1.21 release date to July 3rd 2017 2017-07-03 00:50:09 +02:00
Mounir IDRASSI f5bbb5e33f Documentation: Update Incompatibilities section to mention both Outpost Firewall or Outpost Security Suite and to point to corresponding ticket at Sourceforce. 2017-07-03 00:44:45 +02:00
Mounir IDRASSI 1937470dc2 Documentation: Update the FAQ to mention CHM file of User Guide instead of PDF 2017-07-03 00:44:44 +02:00
Mounir IDRASSI d52b5664f8 Documentation: Add workaround for hang issues encountered on some Windows machine during mount/dismount. 2017-07-03 00:44:43 +02:00
Mounir IDRASSI d1b26d4bfe Windows: fix documentation and UI messages about the PIM constraints and calculation formula when EFI system encryption is using SHA-512 or Whirlpool. For historical reasons, if SHA-512 or Whirlpool is selected for EFI system encryption, then iterations = 15000 + (PIM x 1000) and not iterations = PIM x 2048 like the other algorithms. 2017-07-02 19:36:53 +02:00
Mounir IDRASSI a0f2ffb90b Windows: when mounting multiple favorites, use PIM of previous favorite alongside its password if option "Include PIM when caching password" is selected alongside option "Temporarily cache password during Mount Favorite Volumes operations". 2017-07-02 19:36:52 +02:00
Mounir IDRASSI 2db0061741 Windows: set PIM of favorite to 0 only if TrueCryptMode is explicitly selected. 2017-07-02 14:27:25 +02:00
Mounir IDRASSI d761076903 Linux/MacOSX: use aligned memory for allocating hash context to avoid issues on some platforms especially for Streebog. 2017-07-02 12:08:04 +02:00
Mounir IDRASSI 235b52027b Windows: Update EFI bootloader file from latest VeraCrypt-DCS 1.21 2017-07-02 00:51:59 +02:00
Mounir IDRASSI 553e707879 Windows: Update signed driver files for 1.21 release 2017-07-02 00:51:58 +02:00
Mounir IDRASSI 5540af7c57 Windows: increment version to 1.21.2 2017-07-02 00:51:58 +02:00
Mounir IDRASSI e5728bd36e Linux/MacOSX: align workspace stack variable in WhirlpoolTransform SSE code. 2017-07-02 00:51:57 +02:00
Mounir IDRASSI d8dd1accb4 Avoid alignement issues with some old compilers by using movdqu instead of movdqa in SHA-256 SSE2 assembly. 2017-07-02 00:51:56 +02:00
Mounir IDRASSI c193911655 Linux: remove existing "Setup/Linux/usr" if any before preparing for packaging. 2017-07-02 00:51:55 +02:00
Mounir IDRASSI bded7901c5 Linux: Use $(CURDIR) instead of $(PWD) for the install target, as well as $(DESTDIR)/ (which will still install into / if 'DESTDIR' is unset.) 2017-07-02 00:51:55 +02:00
Mounir IDRASSI 04b4ff3651 Language XML files: Update Arabic translation (contributed by Ali Khojah) 2017-07-02 00:51:54 +02:00
Mounir IDRASSI 3c4e36ecdf Increment version to 1.21 (1.21.1) 2017-07-02 00:51:50 +02:00
Mounir IDRASSI 77fe1f7c76 Windows: Update signed driver files for 1.21 release 2017-07-01 02:15:13 +02:00
Mounir IDRASSI fe278afb18 Fix crash on machines without SSSE3 support in CPU by correctly checking for SSSE3 before using SHA-512 SSE2 assembly which uses PSHUFB instruction. 2017-07-01 01:56:33 +02:00
Mounir IDRASSI f5e6136830 For code logic clarity, add check for xgetbv support in CPU before using it. 2017-07-01 01:56:32 +02:00
Mounir IDRASSI 33bb507fde Windows: fix missing resource in 64-bit build. 2017-06-30 13:52:45 +02:00
Mounir IDRASSIandGitHub dee0090406 Merge pull request #175 from robertsvensson/patch-1
Minor TOC correction
2017-06-29 23:10:39 +02:00
Robert SvenssonandGitHub 6d667423da Minor TOC correction
Added missing punctuation to make TOC easier to read
2017-06-29 22:09:35 +02:00
Mounir IDRASSI f4c9171e9a Readme: Add YASM as a requirement for building VeraCrypt. Remove NASM and makeself requirement for Linux/MacOSX build. Make Readme.txt identical to README.md. 2017-06-29 21:40:05 +02:00
Mounir IDRASSI 8089c9d69f Readme: update statement concerning Mac OSX SDK to use for building VeraCrypt. 2017-06-29 21:40:04 +02:00
Mounir IDRASSI 4466834322 Set 1.20 release date to June 29th 2017 2017-06-29 17:10:04 +02:00
Mounir IDRASSI 21543ada9b MacOSX: put back full wxWidgets build in official build script. 2017-06-29 00:43:18 +02:00
Mounir IDRASSI 4a7ed6926b Documentation: Add documentation for newly added /secureDesktop command line switch. 2017-06-29 00:43:17 +02:00
Mounir IDRASSI 22e19e7acb Revert "Documentation: Update chm file to match the one included in the official installer."
This reverts commit ebe2259c1090aa2cd98b9f4800b52e9ed25614c8.
2017-06-29 00:43:16 +02:00
Mounir IDRASSI c457310466 Documentation: Update chm file to match the one included in the official installer. 2017-06-29 00:43:15 +02:00
Mounir IDRASSI 0b1b8b479f Windows: reduce size of 64-bit binaries by not embedding 32-bit EFI bootloader files in their resources. 2017-06-29 00:43:14 +02:00
Mounir IDRASSI e8105c89d8 Windows: Update EFI bootloader file from latest VeraCrypt-DCS 2017-06-29 00:43:13 +02:00
Mounir IDRASSI 597b9f3d65 Update release date and increment version to 1.20.3.4 2017-06-29 00:43:13 +02:00
Mounir IDRASSI bafc7369aa Windows: Update signed driver files for 1.20 release 2017-06-29 00:43:12 +02:00
Mounir IDRASSI eebb277374 Enable AVX assembly instructions only when the OS implements AVX support 2017-06-27 00:55:25 +02:00
Mounir IDRASSI 79cb3af526 Windows: use yasm define __YASM__ for compatibility with the assembly changes done in MacOSX. 2017-06-27 00:55:24 +02:00
Mounir IDRASSI 51675fd17f MacOSX: Update build and packaging scripts to require OSX Lion (10.7). 2017-06-27 00:55:23 +02:00
Mounir IDRASSI 3d8260d3d3 MacOSX: various changes for assembly files build. Don't use 32-bit assembly code of SHA-512 since it is not compatible with PIE configuration of OSX compiler (absolute addressing used) 2017-06-27 00:55:22 +02:00
Mounir IDRASSI e8bafa6a37 Language XML files: update to Dutch translation by Peter Tak. 2017-06-24 10:53:59 +02:00
Mounir IDRASSI a64d054cdd Linux/MacOSX: properly declare 64-bit constant integer values to avoid being truncated by compiler. 2017-06-24 01:11:16 +02:00
Mounir IDRASSI 0ebc26e125 Update IDRIX copyright year 2017-06-23 22:15:59 +02:00
Mounir IDRASSI 52ec6faec3 Linux/MacOSX: use yasm instead of nasm for compiling all assembly files. 2017-06-23 19:05:47 +02:00
Mounir IDRASSI f27b37b73f Modify Aes_hw_cpu.asm to use nasm syntax that is compatible with yasm. 2017-06-23 19:05:47 +02:00
Mounir IDRASSI 9efdf8ffca Linux/MacOSX: fix missing namespace in call to Cipher::IsHwSupportEnabled 2017-06-23 19:05:46 +02:00
Mounir IDRASSI 2be3b02002 Increment version to 1.20 (1.20.3) 2017-06-23 10:37:15 +02:00
Mounir IDRASSI 6bf1d83459 Language XML files: update to Dutch translation by Peter Tak. 2017-06-23 10:37:15 +02:00
Mounir IDRASSI 9f7e28a1e9 Windows: Update signed driver files of 1.20 release (include SHA-2 speed optimization) 2017-06-23 10:37:14 +02:00
Mounir IDRASSI 546d6cff44 Crypto: Add optimized SHA-512 and SHA-256 assembly implementations for x86_64 and x86. This improves speed by 30%. 2017-06-23 02:11:21 +02:00
Mounir IDRASSI ab7b5dc685 Windows: Update EFI bootloader file from latest VeraCrypt-DCS that includes Camellia 64-bit speed optimization 2017-06-21 01:39:57 +02:00
Mounir IDRASSI f3db66f37f Windows: don't use AVX optimized Camellia in EFI bootloader until compatibility issues are investigated 2017-06-21 01:39:57 +02:00
Mounir IDRASSI 1217728214 Windows: Update signed driver files of 1.20 release (include Camellia speed optimization) 2017-06-21 01:39:56 +02:00
Mounir IDRASSI 70097ecfe5 Crypto: Add optimized Camellia assembly implementation for x86_64 based on work by Jussi Kivilinna (https://github.com/jkivilin/supercop-blockciphers). This improve speed by a factor of 2.5 when AES-NI supported by CPU and by 30% if AES-NI not supported. 2017-06-21 01:39:55 +02:00
Mounir IDRASSI ee5c1784ea Windows EFI Bootloader: Add new attributes "DcsBmlDriver" and "DcsBmlLockFlags" to EFI configuration DcsProp. Set their values to 0 to disable DcsBml functionality. 2017-06-21 01:39:54 +02:00
Mounir IDRASSI d71658efd2 Update EFI bootloader files to latest VeraCrypt-DCS (commit "BML flags added") 2017-06-21 01:39:52 +02:00
Mounir IDRASSI 78803703e6 Windows: fix compilation error of assembly files after latest changes on Linux. 2017-06-21 01:39:51 +02:00
Mounir IDRASSI 5d0321291f Linux/MacOSX: Modify Makefile to separate between build and packaging. Add install target for local installation. 2017-06-13 18:21:13 +02:00
Mounir IDRASSI eb4f5ac4e7 Linux: built VeraCrypt binary with support for Address Space Layout Randomization (ASLR). 2017-06-13 13:46:53 +02:00
Mounir IDRASSI ba1fbb688e Linux: fix executable stack in resulting binary which was caused by crypto assembly files missing the GNU-stack note. 2017-06-13 01:26:22 +02:00
Mounir IDRASSIandGitHub 95bf8f8574 Merge pull request #168 from TigerxWood/patch-1
Language XML files: Update Romanian translation by Barna Cosmin Marian
2017-06-12 23:26:05 +02:00
TigerxWoodandGitHub 0772d6c1ed Updated the last entries 2017-06-12 23:08:52 +03:00
Mounir IDRASSI ce2aa639f4 Windows: various fixes following Coverity analysis. 2017-06-11 17:28:22 +02:00
Mounir IDRASSI 70d083bfb2 Windows: Add checks on IOCTL_DISK_GET_DRIVE_LAYOUT_EX response to make Coverity happy. 2017-06-11 17:28:21 +02:00
Mounir IDRASSI 1662abb707 Windows: Remove unused "Parent" field in _TEXT_EDIT_DIALOG_PARAM structure 2017-06-11 17:28:21 +02:00
Mounir IDRASSI 5c9aff0c54 Windows: Remove unused method ReadEfiConfig 2017-06-11 17:28:20 +02:00
Mounir IDRASSI 5822ae2b1b Windows: fix GetPhysicalDriveStorageInformation failure caused by device handle wrongly closed in GetDeviceStorageProperty 2017-06-11 17:28:19 +02:00
Mounir IDRASSI 46a3fe1458 Windows: fix compiler warnings 2017-06-11 17:28:19 +02:00
Mounir IDRASSI 6ed9773894 Windows: Update EFI bootloader file from latest VeraCrypt-DCS 1.20 2017-06-11 10:12:46 +02:00
Mounir IDRASSI 4208b43581 Windows: code refactoring for handling of ESP files (DcsProp and PlatformInfo). 2017-06-11 01:28:42 +02:00
Mounir IDRASSI 374ba4c831 Windows: Update signed driver files of 1.20 release 2017-06-10 21:18:42 +02:00
Mounir IDRASSI 458bb091bb Windows Driver Security: Use enhanced protection of NX pool under Windows 8 and later. 2017-06-10 18:44:49 +02:00
Mounir IDRASSI c7cd89a24a Windows Security: built binaries with support for Address Space Layout Randomization (ASLR). 2017-06-10 18:44:46 +02:00
Mounir IDRASSI e14cf93d92 Windows: reduce WNetGetConnection performance impact by making calls every 1 minute instead of every 2 seconds. This should be enough since the list of mapped network drive will not change so often. 2017-06-10 01:03:07 +02:00
Mounir IDRASSI 0daf255a19 Language Files: update polish translation 2017-06-09 22:45:25 +02:00
Mounir IDRASSI e0e8369ce8 Language XML files: update Czech translation (contributed by Lagardere) 2017-06-09 22:45:24 +02:00
Mounir IDRASSIandGitHub eb1fc55e34 Merge pull request #167 from Atalanttore/patch-1
Updated German XML language file
2017-06-09 21:00:54 +02:00
Ettore AtalanandGitHub 80490b257c Updated Language.de.xml
Changed language attribute of the new strings to "de".
2017-06-09 19:59:03 +02:00
Ettore AtalanandGitHub 3720f105c3 Updated Language.de.xml
Translated newly added strings.
2017-06-09 19:48:27 +02:00
Mounir IDRASSI dc9134f1e4 Language XML files: update Russian XML file by Dmitry Yerokhin. 2017-06-09 19:23:29 +02:00
Mounir IDRASSI fba606b538 Language XML files: Add Romanian translation by Barna Cosmin Marian 2017-06-09 17:23:42 +02:00
Mounir IDRASSI 0539a49c66 Language XML files: Add new fields. 2017-06-09 17:23:40 +02:00
Mounir IDRASSI 064982c201 Windows: Enhancements to EFI System Information dialog 2017-06-09 17:23:39 +02:00
Mounir IDRASSI 767f513752 Windows: Disable button for EFI PlatformInfo if the file is missing 2017-06-09 17:23:38 +02:00
Mounir IDRASSI 3764f7e8b9 Windows: Fix false warning in case of GPT about Windows not installed on boot drive. This is caused by the fact that presence of "bootmgr" file is not mandatory in case of EFI Boot Loader. 2017-06-09 01:18:02 +02:00
Mounir IDRASSI 5c009d449e Windows: Validate XML format of EFI DcsProp after user editing and before writing it to disk. Enhance UI handling of DcsProp editing and PlatformInfo display. 2017-06-08 01:17:48 +02:00
Mounir IDRASSI 9b0cc3d679 Windows: correctly handle UTF-8 BOM when editing EFI DcsProp XML file 2017-06-08 01:17:46 +02:00
Mounir IDRASSI 9b4e087882 Windows: create dedicated project for zip library and link other binaries against it instead of recompiling zlib and libzip for each project separately. 2017-06-05 17:46:31 +02:00
kavsrfandMounir IDRASSI 79aa488106 cland static code analyzer fixes 2017-06-05 17:45:47 +02:00
kavsrfandMounir IDRASSI cf5729d4e1 Beta2 patch 1
Edit DcsProp and PlatformInfo from System->Settings
EFI loader updated
2017-06-05 17:45:45 +02:00
kavsrfandMounir IDRASSI 46cd09ef50 PlatformInfo read. (via ReadEfiConfig)
It is displayed in System settings
2017-06-05 17:45:45 +02:00
kavsrfandMounir IDRASSI a075d45a99 DcsInfo is added 2017-06-05 17:45:35 +02:00
Mounir IDRASSI 4a2e904766 Linux/MacOSX: Use newer version 3.0.3 of wxWidgets. Update version in Readme. 2017-06-05 01:44:04 +02:00
Mounir IDRASSI 3e678f6868 Linux/MacOSX: cleaner code for handling of missing local HTML documentation. 2017-06-05 01:44:04 +02:00
Mounir IDRASSI d5b0e0db3f Linux/MacOSX: Replace User Guide PDF with local HTML documentation. Replace UI links to point towards local HTML documentation if it exists 2017-06-05 01:44:03 +02:00
Mounir IDRASSI eb72fe7aa9 Windows: move language XML files to new "Languages" folder in the installation directory. 2017-06-05 01:41:48 +02:00
Mounir IDRASSI 0ef137c0a4 Windows: Correctly open online help when selected in menu. Remove unused parameters to function AppLink. 2017-06-05 01:41:47 +02:00
Mounir IDRASSI bf13f88ffa Windows: Move User Guide CHM file under "docs" folder 2017-06-05 01:41:46 +02:00
Mounir IDRASSI 1f22d53f00 Delete pdf and odt files of User Guide since they are not used anymore. 2017-06-05 01:41:45 +02:00
Mounir IDRASSI 1ad425e4e1 Windows: Install CHM User Guide instead of PDF one. Delete existing PDF when upgrading. 2017-06-05 01:41:44 +02:00
Mounir IDRASSI b878659810 Documentation: Add chm file containing the documentation and scripts needed to generate it using Microsoft HTML Workshop. 2017-06-05 01:41:43 +02:00
Mounir IDRASSI 8a2eba5654 Documentation: Add https://www.veracrypt.fr/code to the list of VeraCrypt Git repositories 2017-06-05 01:41:42 +02:00
Mounir IDRASSI ae5989c6d3 Documentation: add title to main HTML page 2017-06-05 01:41:40 +02:00
Mounir IDRASSI 8a02857a99 Documentation:fix Tibit donation link 2017-06-02 23:09:27 +02:00
Mounir IDRASSI ec7287e0eb Documentation: fix typo in link name 2017-06-02 23:09:26 +02:00
Mounir IDRASSI e5f301d683 Windows: Update signed driver files of 1.20-BETA3 release 2017-06-02 23:09:25 +02:00
Mounir IDRASSI e9220590ef Windows: fix compilation error cause by extra '&&' in if statement 2017-06-02 23:09:24 +02:00
Mounir IDRASSI 345a50d976 Windows: remove reference to unused files XUnzip.h/XZip.h in Visual Studio projects 2017-06-02 23:09:22 +02:00
Mounir IDRASSI 55aa098295 Windows: fix high CPU usage when a favorite is configured to mount using VolumeID when its host device is connected to the machine. 2017-06-01 01:56:13 +02:00
Mounir IDRASSI 029341a747 Windows: Add bat file to package debug version of VeraCrypt used in testing/debugging purposes. 2017-06-01 01:56:13 +02:00
Mounir IDRASSI e7873197a6 Linux/MacOSX: Update location of User Guide pdf in Makefile 2017-06-01 01:56:12 +02:00
Mounir IDRASSI f2c800c72e Windows: Update packaging bat files to account for the location change of license files and User Guide pdf. 2017-06-01 01:56:11 +02:00
Mounir IDRASSI 02295feddf Move Apache license files to the root of "src" folder 2017-06-01 01:56:10 +02:00
Mounir IDRASSI 2d445d659a remove duplicated license text file 2017-06-01 01:56:10 +02:00
Mounir IDRASSI aadb301238 Move PDF of User Guide to "doc" folder 2017-06-01 01:56:09 +02:00
Mounir IDRASSI 5651d505f5 Windows: Only offer valid cluster sizes when ReFS is selected in the volume format wizard. 2017-05-28 00:04:31 +02:00
Mounir IDRASSI bc8e6fa5bd Windows: add support for ReFS on Windows 10 when creating normal volumes. 2017-05-28 00:04:30 +02:00
Mounir IDRASSI 0e2c129854 Windows Driver: enhance detection of FAT volumes. 2017-05-28 00:04:29 +02:00
Mounir IDRASSI a8e511c212 Fix wrong FAT32 jump opcode in its header 2017-05-28 00:04:29 +02:00
Mounir IDRASSI f94ceb7a97 Windows: use RtlGetVersion instead of GetVersionEx in order to get accurate Windows version information on Windows 10. 2017-05-28 00:04:27 +02:00
Mounir IDRASSI 86ababb2a4 Windows: fix Hour Glass cursor still displayed in some cases after Format wizard operation is finished. 2017-05-26 00:38:33 +02:00
Mounir IDRASSI d647637b24 Windows Driver: return correct partition type value by trying to detect the filesystem used in the volume. 2017-05-26 00:38:32 +02:00
Mounir IDRASSI 5046edb012 Windows Driver: Correctly detect FAT volumes created on Linux in TC_IOCTL_OPEN_TEST FileSystem detection 2017-05-26 00:38:31 +02:00
Mounir IDRASSI 8edd1560e5 Windows Driver: Add support for ReFS in TC_IOCTL_OPEN_TEST FileSystem detection 2017-05-26 00:38:30 +02:00
Mounir IDRASSI a5035f812b Windows: remove IOCTL_STORAGE_GET_DEVICE_NUMBER support until a real device is implemented. 2017-05-25 01:15:19 +02:00
Mounir IDRASSI 8c1bde132a Windows Driver: correct comment about volume ID computation 2017-05-25 01:15:19 +02:00
Mounir IDRASSI 0e15c65b3e Windows Driver: correct value of number of cylinders by adding 1 since our virtual partition starts at Extension->BytesPerSector and not 0. 2017-05-25 01:15:18 +02:00
Mounir IDRASSI f50bf2cf61 Windows Driver: implement some extra IOCTLs. Add more traces for debugging. 2017-05-25 01:15:18 +02:00
Mounir IDRASSI 9fdac9317b Windows Driver: enhance implementation of IOCTL_STORAGE_QUERY_PROPERTY 2017-05-25 01:15:17 +02:00
Mounir IDRASSI cda40547fe Windows: query extra host drive information using IOCTL_STORAGE_QUERY_PROPERTY (StorageAdapterProperty) in both driver and user mode applications. 2017-05-25 01:15:16 +02:00
Mounir IDRASSI a117f04068 Windows Driver: call IOCTL_STORAGE_QUERY_PROPERTY in a more standard way by using STORAGE_DESCRIPTOR_HEADER in order to be compatible with any future structure changes. 2017-05-25 01:15:16 +02:00
Mounir IDRASSI feef2fee91 Windows Driver: remove unused variable. 2017-05-25 01:15:14 +02:00
Mounir IDRASSI 7c78c4f4ac Windows Driver: fix "__chkstk" link error in debug build caused by some crypto functions using too much stack space for local variables. 2017-05-22 00:43:29 +02:00
Mounir IDRASSI e484d0caae Windows Driver: Support new IOCTLS and correct implementation of existing ones to solve Windows 10 compatibility issues. 2017-05-21 01:07:50 +02:00
Mounir IDRASSI 5081929b60 Windows Driver: fix bug in new IOCTL VC_IOCTL_GET_DRIVE_GEOMETRY_EX 2017-05-21 01:07:49 +02:00
Mounir IDRASSI 74b82118d5 Windows: use IOCTL_DISK_GET_DRIVE_GEOMETRY_EX instead of the deprecated IOCTL_DISK_GET_DRIVE_GEOMETRY in order to get accurate disk size value. 2017-05-17 00:46:41 +02:00
Mounir IDRASSI ce4e7fd64d Windows installer: use correct installation directory for opening HTML help (for now only donation page). 2017-05-17 00:46:39 +02:00
Mounir IDRASSI 6fe660c249 Windows: Add HTML documentation to Windows installer. 2017-05-15 01:16:44 +02:00
Mounir IDRASSI b5abd54c1b Add donation HTML page 2017-05-15 01:16:43 +02:00
Mounir IDRASSI 817ffac87e Replace Codeplex links by ones on veracrypt.fr 2017-05-15 01:16:40 +02:00
Mounir IDRASSI 5e1fffa871 Add HTML documentation. 2017-05-15 01:16:36 +02:00
Mounir IDRASSI 76167ceba3 Update zlib copyright notice 2017-04-26 00:20:22 +02:00
Mounir IDRASSI d1509a2d5a Windows: disable WINZIP Aes encryption support since we don't use. 2017-04-26 00:20:22 +02:00
Mounir IDRASSI d081d6143e Windows: update libzip to version 1.2.0 2017-04-26 00:20:19 +02:00
Mounir IDRASSI 9270952b3d Windows: update zlib to version 1.2.11 2017-04-26 00:20:16 +02:00
Mounir IDRASSI 371b9c904a FreeBSD 11 build and use compatibility 2017-04-23 14:18:48 +02:00
kavsrfandMounir IDRASSI 100b79ddfa XML wchar_t removed from EFI compile 2017-01-24 16:05:12 +01:00
Mounir IDRASSI 79d1b79745 Language Files: fix polish translation 2017-01-22 19:26:05 +01:00
Mounir IDRASSI c0f46187de Fix build error in Crypto/Whirpool.c when using LLVM Clang compiler by disabling inline assembly in this case (caused by http://llvm.org/bugs/show_bug.cgi?id=24232) 2017-01-12 18:13:24 +01:00
Mounir IDRASSI 386f7bc9b0 User Guide: fix spelling errors. 2017-01-12 10:11:22 +01:00
Ali KhojahandMounir IDRASSI 9b4812675e Language XML files: Update Arabic translation (contributed by Ali Khojah) 2017-01-12 09:42:57 +01:00
Mounir IDRASSI 153608142d Windows: Add Streebog to the benchmark script 2017-01-12 09:42:56 +01:00
Mounir IDRASSI e831198b3b Windows: Fix Streebog not recognized by /hash command line switch but making hash names matching more generic. 2017-01-12 09:42:54 +01:00
Mounir IDRASSI e3d5077939 Language XML files: update Russian XML file by Dmitry Yerokhin. 2017-01-01 11:07:20 +01:00
Mounir IDRASSI 7d63a4fca8 Language XML files: update Czech translation (contributed by Lagardere) 2017-01-01 11:07:19 +01:00
Mounir IDRASSI 770af66d8b Update donation link to point to page indicating all accepted donations options. 2016-12-30 23:56:37 +01:00
Mounir IDRASSI 049daa775a Windows: avoid exporting libzip symbols from VeraCrypt binaries. 2016-12-30 23:56:36 +01:00
Mounir IDRASSI d7b20a070e Windows: Update signed driver files of 1.20-BETA2 release 2016-12-30 23:56:35 +01:00
Mounir IDRASSI 9b13aa9c4c Windows: Update EFI bootloader file from latest VeraCrypt-DCS 1.20-BETA2 build. 2016-12-30 23:56:34 +01:00
Mounir IDRASSI 47d4b5d284 Increment version to 1.20 BETA2 (1.20.2) 2016-12-30 23:56:32 +01:00
Mounir IDRASSI cdbe54e605 Windows: Implement Secure Desktop for password entry. Add option and command line switch to activate it. 2016-12-30 23:56:28 +01:00
Mounir IDRASSI d116eba160 Windows: use correct parent when displaying various dialogs from the Preferences dialog through the "More Settings" button. 2016-12-30 23:56:27 +01:00
Mounir IDRASSI 4a246cb6ef Windows: cleaner code for handling of disabling of parent dialog when waiting dialog displayed 2016-12-30 23:56:26 +01:00
Mounir IDRASSI 5493de11d5 Windows: Enable Twofish optimized 64-bit assembly for UEFI bootloader since a pre-compiled object file was included to its build system. 2016-12-26 00:00:05 +01:00
Mounir IDRASSI 1ef6177ae3 Linux & MacOSX: automatically check TrueCryptMode in password dialog when selecting a container file that has the .tc file extension 2016-12-26 00:00:04 +01:00
Mounir IDRASSI a8fea1d643 MacOSX: Make VeraCrypt default handler of .hc and .tc files on OSX and add custom icon to these files on Finder. 2016-12-26 00:00:04 +01:00
Mounir IDRASSI 3d978c31a7 MacOSX: use Yasm to build Twofish 64-bit assembly code on OSX since native compiler doesn't support GAS syntax 2016-12-26 00:00:03 +01:00
Mounir IDRASSI 9b0669da29 Windows driver: fix reading of boot PRF after latest EFI hidden OS changes. Better memory cleanup and changes for code clarity. 2016-12-26 00:00:03 +01:00
kavsrfandMounir IDRASSI ac53e293d4 comments and better cleanup
Signed-off-by: kavsrf <kavsrf@gmail.com>
2016-12-26 00:00:02 +01:00
kavsrfandMounir IDRASSI 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 e3af024e5b Language XML files: update Russian XML file by Dmitry Yerokhin. 2016-12-07 12:36:06 +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
Mounir IDRASSI 68fababbe8 Use LF line ending for .S assembly files 2016-12-07 12:35:59 +01:00
Mounir IDRASSIandGitHub 612cb9f202 Merge pull request #118 from pnijjar/document-tc-option
Linux/MacOSX: Document --truecrypt option
2016-12-07 09:46:17 +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 IDRASSIandGitHub 0485b71746 Merge pull request #109 from sandakersmann/patch-3
README: Added line breaks between copyright holders
2016-10-18 22:11:41 +02:00
sandakersmannandGitHub 833c6db20e README: Added line breaks between copyright holders
Added line breaks between copyright holders in README.md
2016-10-18 07:08:34 +02:00
Mounir IDRASSIandGitHub d61e30c0aa Merge pull request #108 from sandakersmann/patch-2
README: Fixed one link that was not working
2016-10-18 04:39:36 +02:00
sandakersmannandGitHub 87da13a14a README: Fixed one link that was not working
https://upx.sourceforge.net/ changed to https://upx.github.io/ since redirect do not have support for SSL.
2016-10-18 04:37:26 +02:00
Mounir IDRASSIandGitHub d4c60847ab Merge pull request #107 from sandakersmann/patch-1
README: Changed http:// to https:// on some links
2016-10-18 03:34:57 +02:00
sandakersmannandGitHub b2f0bc06ed README: Changed http:// to https:// on some links
Changed http:// to https:// on some links in README.md
2016-10-17 23:43:04 +02:00
1367 changed files with 215443 additions and 88321 deletions
+1
View File
@@ -24,6 +24,7 @@ Makefile text eol=lf
*.fbp text eol=lf
*.rgs text eol=lf
*.pkgproj text eol=lf
*.S text eol=lf
Sources text eol=lf
# Declare files that will always have LF line endings on checkout.
+1
View File
@@ -0,0 +1 @@
custom: "https://www.veracrypt.fr/en/Donation.html"
+34
View File
@@ -0,0 +1,34 @@
---
name: Bug Report
about: Found a bug? Let us know! 🐛
labels: bug, unreviewed
---
<!-- Please provide a general summary of the issue in the title above. -->
# Expected behavior
<!-- Describe here what you have expected to happen -->
# Observed behavior
<!-- Describe here what happened instead of the expected behavior -->
# Steps to reproduce
<!-- Tell use all the steps you did so we can reproduce the problem -->
1.
2.
3.
4.
# Screenshots
<!-- Add additional screenshots -->
# Your Environment
Please tell us more about your environment
**VeraCrypt version:** <!-- f.e. 1.24-Update7 -->
**Operating system and version:** <!-- f.e. Windows 10 build 19042 -->
**System type:** <!-- f.e. 64-bit -->
+30
View File
@@ -0,0 +1,30 @@
---
name: Change
about: Change or extend functionality that already exists.
labels: change, unreviewed
---
<!-- Please provide a general summary of your change in the title above. -->
# Current behavior
<!-- Describe here how it actually works -->
# Desired behavior
<!-- Describe here the difference from current behavior-->
# Screenshots/Mockup/Designs
<!-- Add additional screenshots, mockups or design proposals -->
# Additional information
<!-- Are there any additional requirements? Further ideas, ... -->
# Your Environment
Please tell us more about your environment
**VeraCrypt version:** <!-- f.e. 1.24-Update7 -->
**Operating system and version:** <!-- f.e. Windows 10 build 19042 -->
**System type:** <!-- f.e. 64-bit -->
+27
View File
@@ -0,0 +1,27 @@
---
name: Feature
about: Add new functionality or suggest an idea to the project.
labels: feature, unreviewed
---
<!-- Please provide a general summary of your feature in the title above. -->
# Desired behavior
<!-- Describe here what and why your feature should be added -->
# Screenshots/Mockup/Designs
<!-- Add additional screenshots, mockups or design proposals -->
# Additional information
<!-- Are there any additional requirements? Further ideas, ... -->
# Your Environment
Please tell us more about your environment
**VeraCrypt version:** <!-- f.e. 1.24-Update7 -->
**Operating system and version:** <!-- f.e. Windows 10 build 19042 -->
**System type:** <!-- f.e. 64-bit -->
+25
View File
@@ -0,0 +1,25 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
# Label to use when marking an issue as stale
staleLabel: wontfix
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: >
This issue has been automatically closed because it has not had
recent activity. This probably means that it is not reproducible
or it has been fixed in a newer version. If its an enhancement
and hasn't been taken on for so long, then it seems no one has
the time to implement this.
Please reopen if you still encounter this issue with the [latest stable version](https://www.veracrypt.fr/en/Downloads.html).
You can also contribute directly by providing a pull request.
Thank you!
+110
View File
@@ -0,0 +1,110 @@
# For those using Visual Studio Code for development
.vscode/
# CLion
.idea/
# VC Linux build artifacts
*.o
*.o0
*.d
*.a
*.bmp.h
*.xml.h
*.txt.h
*.h.gch
src/Main/veracrypt
*.osse41
*.ossse3
# VC macOS build artifacts
src/Main/VeraCrypt
src/Main/VeraCrypt.app
src/Main/*.dmg
src/Setup/MacOSX/*.pkg
*.oo
*.o.32
*.o.64
.DS_Store
# wxWidgets Linux build artifacts
src/wxrelease
src/wxdebug
src/.vs
src/Boot/Windows/obj
src/Boot/Windows/Release
src/Boot/Windows/Release_AES
src/Boot/Windows/Release_AES_SHA2
src/Boot/Windows/Release_Camellia
src/Boot/Windows/Release_Camellia_SHA2
src/Boot/Windows/Release_Serpent
src/Boot/Windows/Release_Serpent_SHA2
src/Boot/Windows/Release_SHA2
src/Boot/Windows/Release_Twofish
src/Boot/Windows/Release_Twofish_SHA2
src/Boot/Windows/Rescue
src/Boot/Windows/Rescue_AES
src/Boot/Windows/Rescue_AES_SHA2
src/Boot/Windows/Rescue_Camellia
src/Boot/Windows/Rescue_Camellia_SHA2
src/Boot/Windows/Rescue_Serpent
src/Boot/Windows/Rescue_Serpent_SHA2
src/Boot/Windows/Rescue_SHA2
src/Boot/Windows/Rescue_Twofish
src/Boot/Windows/Rescue_Twofish_SHA2
src/Common/Debug
src/Common/obj_driver_debug
src/Common/obj_driver_release
src/Common/Release
src/Common/x64
src/Common/ARM64
src/Common/*.log
src/Crypto/Debug
src/Crypto/obj_driver_debug
src/Crypto/obj_driver_release
src/Crypto/Release
src/Crypto/x64
src/Crypto/ARM64
src/Debug
src/Driver/Debug
src/Driver/obj
src/Driver/obj_driver_debug
src/Driver/obj_driver_release
src/Driver/Release
src/Driver/ARM64
src/ExpandVolume/Debug
src/ExpandVolume/Release
src/ExpandVolume/x64
src/ExpandVolume/ARM64
src/ExpandVolume/*.tlb
src/Format/Debug
src/Format/Release
src/Format/x64
src/Format/ARM64
src/Format/*.tlb
src/Format/FormatCom_h.h
src/Format/FormatCom_i.c
src/Mount/Debug
src/Mount/Release
src/Mount/x64
src/Mount/ARM64
src/Mount/*.tlb
src/Mount/MainCom_h.h
src/Mount/MainCom_i.c
src/Setup/Debug
src/Setup/PortableDebug
src/Setup/Release
src/Setup/PortableRelease
src/SetupDLL/Debug
src/SetupDLL/Release
+67 -2
View File
@@ -679,7 +679,7 @@ warranties in respect of its properties, including, but not
limited to, correctness and/or fitness for purpose.
____________________________________________________________
Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
@@ -700,7 +700,7 @@ Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
Jean-loup Gailly Mark Adler
jloup@gzip.org madler@alumni.caltech.edu
____________________________________________________________
Copyright (C) 1999-2016 Dieter Baron and Thomas Klausner
Copyright (C) 1999-2017 Dieter Baron and Thomas Klausner
The authors can be contacted at <libzip@nih.at>
@@ -742,3 +742,68 @@ version 3.0 (LGPL-3.0).
The full text of the license may be found at https://opensource.org/licenses/LGPL-3.0
____________________________________________________________
Copyright (c) 1999-2016 Jack Lloyd.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
____________________________________________________________
Copyright (c) 2013-2018 Stephan Mueller <smueller@chronox.de>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, and the entire permission notice in its entirety,
including the disclaimer of warranties.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
3. The name of the author may not be used to endorse or promote
products derived from this software without specific prior
written permission.
ALTERNATIVELY, this product may be distributed under the terms of
the GNU General Public License, in which case the provisions of the
GPL2 are required INSTEAD OF the above restrictions. (This clause is
necessary due to a potential bad interaction between the GPL and the
restrictions contained in a BSD-style copyright.)
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF WHICH
ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
____________________________________________________________
+69 -93
View File
@@ -17,23 +17,17 @@ called 'TrueCrypt' or 'VeraCrypt'
Contents
========
I. Windows
Requirements for Building VeraCrypt for Windows
Instructions for Building VeraCrypt for Windows
Instructions for Signing and Packaging VeraCrypt for Windows
[I. Windows](#i-windows)
II. Linux and Mac OS X
Requirements for Building VeraCrypt for Linux and Mac OS X
Instructions for Building VeraCrypt for Linux and Mac OS X
Mac OS X specifics
[II. Linux and Mac OS X](#ii-linux-and-mac-os-x)
III. FreeBSD and OpenSolaris
[III. FreeBSD](#iii-freebsd)
IV. Third-Party Developers (Contributors)
[IV. Third-Party Developers (Contributors)](#iv-third-party-developers-contributors)
V. Legal Information
[V. Legal Information](#v-legal-information)
VI. Further Information
[VI. Further Information](#vi-further-information)
@@ -43,14 +37,9 @@ I. Windows
Requirements for Building VeraCrypt for Windows:
------------------------------------------------
- Microsoft Visual C++ 2010 SP1 (Professional Edition or compatible)
- Microsoft Visual C++ 1.52 (available from MSDN Subscriber Downloads)
- Microsoft Windows SDK for Windows 7.1 (configured for Visual C++ 2010)
- Microsoft Windows SDK for Windows 8.1 (needed for SHA-256 code signing)
- Microsoft Windows Driver Kit 7.1.0 (build 7600.16385.1)
- NASM assembler 2.08 or compatible
- gzip compressor
- upx packer (available at http://upx.sourceforge.net/)
A detailed guide on how to build VeraCrypt on Windows can be found in
the file doc/html/CompilingGuidelineWin.html. it is also available online
at https://www.veracrypt.fr/en/CompilingGuidelineWin.html
IMPORTANT:
@@ -58,44 +47,19 @@ The 64-bit editions of Windows Vista and later versions of Windows, and in
some cases (e.g. playback of HD DVD content) also the 32-bit editions, do not
allow the VeraCrypt driver to run without an appropriate digital signature.
Therefore, all .sys files in official VeraCrypt binary packages are digitally
signed with the digital certificate of the IDRIX, which was
issued by Thawte certification authority. At the end of each official .exe and
signed with the digital certificate of the IDRIX, which was issued by
GlobalSign certification authority. At the end of each official .exe and
.sys file, there are embedded digital signatures and all related certificates
(i.e. all certificates in the relevant certification chain, such as the
certification authority certificates, CA-MS cross-certificate, and the
IDRIX certificate).
Keep this in mind if you compile VeraCrypt
and compare your binaries with the official binaries. If your binaries are
unsigned, the sizes of the official binaries will usually be approximately
10 KB greater than sizes of your binaries (there may be further differences
if you use a different version of the compiler, or if you install a different
or no service pack for Visual Studio, or different hotfixes for it, or if you
use different versions of the required SDKs).
Instructions for Building VeraCrypt for Windows:
------------------------------------------------
1) Create an environment variable 'MSVC16_ROOT' pointing to the folder 'MSVC15'
extracted from the Visual C++ 1.52 self-extracting package.
Note: The 16-bit installer MSVC15\SETUP.EXE cannot be run on 64-bit Windows,
but it is actually not necessary to run it. You only need to extract the
folder 'MSVC15', which contains the 32-bit binaries required to build the
VeraCrypt Boot Loader.
2) If you have installed the Windows Driver Development Kit in another
directory than '%SYSTEMDRIVE%\WinDDK', create an environment variable
'WINDDK_ROOT' pointing to the DDK installation directory.
3) Open the solution file 'VeraCrypt.sln' in Microsoft Visual Studio 2010.
4) Select 'All' as the active solution configuration.
5) Build the solution.
6) If successful, there should be newly built VeraCrypt binaries in the
'Release' folder.
Keep this in mind if you compile VeraCrypt and compare your binaries with the
official binaries. If your binaries are unsigned, the sizes of the official
binaries will usually be approximately 10 KiB greater than sizes of your
binaries (there may be further differences if you use a different version of
the compiler, or if you install a different or no service pack for Visual
Studio, or different hotfixes for it, or if you use different versions of
the required SDKs).
Instructions for Signing and Packaging VeraCrypt for Windows:
-------------------------------------------------------------
@@ -104,17 +68,19 @@ First, create an environment variable 'WSDK81' pointing to the Windows SDK
for Windows 8.1 installation directory.
The folder "Signing" contains a batch file (sign.bat) that will sign all
VeraCrypt components using a code signing certificate present on the
certificate store and also build the final installation setup.
The batch file suppose that the code signing certificate is issued by Thawt.
This is the case for IDRIX's certificate. If yours is issued by another CA,
then you should put the Root and Intermediate certificates in the "Signing"
folder and then modify sign.bat accordingly.
certificate store and also build the final installation setup and MSI package.
The batch file suppose that the code signing certificate is issued by
GlobalSign. This is the case for IDRIX's certificate. If yours is issued by
another CA, then you should put its intermediate certificates in the "Signing"
folder and modify sign.bat accordingly.
In order to generate MSI packages, WiX Toolset v3.11 must be installed.
VeraCrypt EFI Boot Loader:
--------------------------
VeraCrypt source code contains pre-built EFI binaries under src\Boot\EFI.
The source code of VeraCrypt EFI Boot Loader is licensed under LGPL and
The source code of VeraCrypt EFI Boot Loader is licensed under LGPL and
it is available at https://github.com/veracrypt/VeraCrypt-DCS.
For build instructions, please refer to the file src\Boot\EFI\Readme.txt.
@@ -122,19 +88,23 @@ For build instructions, please refer to the file src\Boot\EFI\Readme.txt.
II. Linux and Mac OS X
======================
A detailed guide on how to build VeraCrypt on Linux can be found in
the file doc/html/CompilingGuidelineLinux.html. it is also available online
at https://www.veracrypt.fr/en/CompilingGuidelineLinux.html
Requirements for Building VeraCrypt for Linux and Mac OS X:
-----------------------------------------------------------
- GNU Make
- GNU C++ Compiler 4.0 or compatible
- Apple Xcode (Mac OS X only)
- NASM assembler 2.08 or compatible (x86/x64 architecture only)
- YASM 1.3.0 or newer (Linux only, x86/x64 architecture only)
- pkg-config
- makeself (Linux only)
- wxWidgets 3.0 shared library and header files installed or
wxWidgets 3.0 library source code (available at http://www.wxwidgets.org)
wxWidgets 3.0 library source code (available at https://www.wxwidgets.org)
- FUSE library and header files (available at https://github.com/libfuse/libfuse
and https://osxfuse.github.io/)
- PCSC-lite library and header files (available at https://github.com/LudovicRousseau/PCSC)
Instructions for Building VeraCrypt for Linux and Mac OS X:
@@ -146,7 +116,7 @@ Instructions for Building VeraCrypt for Linux and Mac OS X:
command to configure the wxWidgets static library for VeraCrypt and to
build it:
$ make WXSTATIC=1 WX_ROOT=/usr/src/wxWidgets wxbuild
$ make WXSTATIC=1 WX_ROOT=/usr/src/wxWidgets wxbuild
The variable WX_ROOT must point to the location of the source code of the
wxWidgets library. Output files will be placed in the './wxrelease/'
@@ -154,11 +124,11 @@ Instructions for Building VeraCrypt for Linux and Mac OS X:
3) To build VeraCrypt, run the following command:
$ make
$ make
or if you have no wxWidgets shared library installed:
$ make WXSTATIC=1
$ make WXSTATIC=1
4) If successful, the VeraCrypt executable should be located in the directory
'Main'.
@@ -168,22 +138,22 @@ interface (through the switch --text) is built.
On Linux, a console-only executable, which requires no GUI library, can be
built using the 'NOGUI' parameter:
$ make NOGUI=1 WXSTATIC=1 WX_ROOT=/usr/src/wxWidgets wxbuild
$ make NOGUI=1 WXSTATIC=1
$ make NOGUI=1 WXSTATIC=1 WX_ROOT=/usr/src/wxWidgets wxbuild
$ make NOGUI=1 WXSTATIC=1
On MacOSX, building a console-only executable is not supported.
Mac OS X specifics:
-----------------------------------------------------------
Under MacOSX, the SDK for OSX 10.7 is used by default. To use another version
of the SDK (i.e. 10.6), you can export the environment variable VC_OSX_TARGET:
Under MacOSX, the SDK for OSX 11.3 is used by default. To use another version
of the SDK (i.e. 10.15), you can export the environment variable VC_OSX_TARGET:
$ export VC_OSX_TARGET=10.6
$ export VC_OSX_TARGET=10.15
Before building under MacOSX, pkg-config must be installed if not yet available.
Get it from http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz and
Get it from https://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz and
compile using the following commands :
$ ./configure --with-internal-glib
@@ -191,28 +161,31 @@ compile using the following commands :
$ sudo make install
After making sure pkg-config is available, download and install OSXFuse from
https://osxfuse.github.io/ (MacFUSE compatibility layer must selected)
https://osxfuse.github.io/
The script build_veracrypt_macosx.sh available under "src/Build" performs the
full build of VeraCrypt including the creation of the installer pkg. It expects
to find the wxWidgets 3.0.2 sources at the same level as where you put
to find the wxWidgets 3.1.2 sources at the same level as where you put
VeraCrypt sources (i.e. if "src" path is "/Users/joe/Projects/VeraCrypt/src"
then wxWidgets should be at "/Users/joe/Projects/wxWidgets-3.0.2")
then wxWidgets should be at "/Users/joe/Projects/wxWidgets-3.1.2")
The build process uses Code Signing certificates whose ID is specified in
src/Main/Main.make (lines 167 & 169). You'll have to modify these lines to put
the ID of your Code Signing certificates or comment them if you don't have one.
src/Main/Main.make (look for lines containing "Developer ID Application" and
"Developer ID Installer"). You'll have to modify these lines to put the ID of
your Code Signing certificates or comment them if you don't have one.
Because of incompatibility issues with OSXFUSE, the SDK 10.9 generates a
VeraCrypt binary that has issues communicating with the OSXFUSE kernel extension.
Thus, we recommend to use the SDK 10.8 or earlier for building VeraCrypt.
Thus, we recommend using a different OSX SDK version for building VeraCrypt.
III. FreeBSD and OpenSolaris
III. FreeBSD
============================
FreeBSD and OpenSolaris are not yet supported.
FreeBSD is supported starting from version 11.
The build requirements and instructions are the same as Linux except that gmake
should be used instead of make.
@@ -227,7 +200,7 @@ If you intend to implement a feature, please contact us first to make sure:
3) Whether we need help of third-party developers with implementing the feature.
Information on how to contact us can be found at:
https://veracrypt.codeplex.com/
https://www.veracrypt.fr/
@@ -237,18 +210,21 @@ V. Legal Information
Copyright Information
---------------------
This software as a whole:
Copyright (c) 2013-2016 IDRIX. All rights reserved.
This software as a whole:
Copyright (c) 2013-2023 IDRIX. All rights reserved.
Portions of this software:
Copyright (c) 2013-2016 IDRIX. All rights reserved.
Copyright (c) 2003-2012 TrueCrypt Developers Association. All rights reserved.
Copyright (c) 1998-2000 Paul Le Roux. All rights reserved.
Copyright (c) 1998-2008 Brian Gladman, Worcester, UK. All rights reserved.
Copyright (c) 1995-2013 Jean-loup Gailly and Mark Adler.
Copyright (c) 2016 Disk Cryptography Services for EFI (DCS), Alex Kolotnikov
Copyright (c) Dieter Baron and Thomas Klausner.
Copyright (c) 2013, Alexey Degtyarev. All rights reserved.
Portions of this software:
Copyright (c) 2013-2023 IDRIX. All rights reserved.
Copyright (c) 2003-2012 TrueCrypt Developers Association. All rights reserved.
Copyright (c) 1998-2000 Paul Le Roux. All rights reserved.
Copyright (c) 1998-2008 Brian Gladman, Worcester, UK. All rights reserved.
Copyright (c) 1995-2023 Jean-loup Gailly and Mark Adler.
Copyright (c) 2016 Disk Cryptography Services for EFI (DCS), Alex Kolotnikov
Copyright (c) 1999-2020 Dieter Baron and Thomas Klausner.
Copyright (c) 2013, Alexey Degtyarev. All rights reserved.
Copyright (c) 1999-2016 Jack Lloyd. All rights reserved.
Copyright (c) 2013-2019 Stephan Mueller <smueller@chronox.de>
Copyright (c) 1999-2021 Igor Pavlov
For more information, please see the legal notices attached to parts of the
source code.
@@ -264,4 +240,4 @@ documentation, are the sole property of their respective owners.
VI. Further Information
=======================
http://www.veracrypt.fr
https://www.veracrypt.fr
+60 -1
View File
@@ -181,7 +181,7 @@ echo.
:ripemd160
IF NOT EXIST test.ripemd160.hc GOTO :autodetect
IF NOT EXIST test.ripemd160.hc GOTO :streebog
rem Get start time:
for /F "tokens=1-4 delims=:.," %%a in ("%time%") do (
@@ -236,6 +236,63 @@ echo.
"c:\Program Files\VeraCrypt\veracrypt.exe" /dismount %mydriveletter% /silent /q
:streebog
IF NOT EXIST test.streebog.hc GOTO :autodetect
rem Get start time:
for /F "tokens=1-4 delims=:.," %%a in ("%time%") do (
set /A "start=(((%%a*60)+1%%b %% 100)*60+1%%c %% 100)*100+1%%d %% 100"
)
rem Mount Streebog container (Normal)
"c:\Program Files\VeraCrypt\veracrypt.exe" /volume test.streebog.hc /hash streebog /l %mydriveletter% /password test /q /silent /m ro
rem Get end time:
for /F "tokens=1-4 delims=:.," %%a in ("%time%") do (
set /A "end=(((%%a*60)+1%%b %% 100)*60+1%%c %% 100)*100+1%%d %% 100"
)
rem Get elapsed time:
set /A elapsed=end-start
rem Show elapsed time:
set /A hh=elapsed/(60*60*100), rest=elapsed%%(60*60*100), mm=rest/(60*100), rest%%=60*100, ss=rest/100, cc=rest%%100
if %hh% lss 10 set hh=0%hh%
if %mm% lss 10 set mm=0%mm%
if %ss% lss 10 set ss=0%ss%
if %cc% lss 10 set cc=0%cc%
echo Streebog (Normal) = %hh%:%mm%:%ss%,%cc%
"c:\Program Files\VeraCrypt\veracrypt.exe" /dismount %mydriveletter% /silent /q
rem Get start time:
for /F "tokens=1-4 delims=:.," %%a in ("%time%") do (
set /A "start=(((%%a*60)+1%%b %% 100)*60+1%%c %% 100)*100+1%%d %% 100"
)
rem Mount Streebog container (Hidden)
"c:\Program Files\VeraCrypt\veracrypt.exe" /volume test.streebog.hc /hash streebog /l %mydriveletter% /password testhidden /q /silent /m ro
rem Get end time:
for /F "tokens=1-4 delims=:.," %%a in ("%time%") do (
set /A "end=(((%%a*60)+1%%b %% 100)*60+1%%c %% 100)*100+1%%d %% 100"
)
rem Get elapsed time:
set /A elapsed=end-start
rem Show elapsed time:
set /A hh=elapsed/(60*60*100), rest=elapsed%%(60*60*100), mm=rest/(60*100), rest%%=60*100, ss=rest/100, cc=rest%%100
if %hh% lss 10 set hh=0%hh%
if %mm% lss 10 set mm=0%mm%
if %ss% lss 10 set ss=0%ss%
if %cc% lss 10 set cc=0%cc%
echo Streebog (Hidden) = %hh%:%mm%:%ss%,%cc%
echo.
"c:\Program Files\VeraCrypt\veracrypt.exe" /dismount %mydriveletter% /silent /q
:autodetect
call :availablevolume testvolume && goto :contautodetect
@@ -319,3 +376,5 @@ set volume=
endlocal & set "%output_var%=%volume%" & exit /b %exitcode%
:exit
pause
Binary file not shown.
+1630 -1420
View File
File diff suppressed because it is too large Load Diff
+1631 -1421
View File
File diff suppressed because it is too large Load Diff
+1631 -1421
View File
File diff suppressed because it is too large Load Diff
+1631 -1421
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+1631 -1421
View File
File diff suppressed because it is too large Load Diff
+1631 -1421
View File
File diff suppressed because it is too large Load Diff
+1631 -1417
View File
File diff suppressed because it is too large Load Diff
+1630 -1420
View File
File diff suppressed because it is too large Load Diff
+1630 -1420
View File
File diff suppressed because it is too large Load Diff
+1631 -1421
View File
File diff suppressed because it is too large Load Diff
+1630 -1420
View File
File diff suppressed because it is too large Load Diff
+1631 -1421
View File
File diff suppressed because it is too large Load Diff
+1631 -1421
View File
File diff suppressed because it is too large Load Diff
+1630 -1420
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+1634 -1424
View File
File diff suppressed because it is too large Load Diff
+1632 -1422
View File
File diff suppressed because it is too large Load Diff
+1630 -1420
View File
File diff suppressed because it is too large Load Diff
+1631 -1421
View File
File diff suppressed because it is too large Load Diff
+1631 -1421
View File
File diff suppressed because it is too large Load Diff
+1635 -1425
View File
File diff suppressed because it is too large Load Diff
+1631 -1421
View File
File diff suppressed because it is too large Load Diff
+1636 -1444
View File
File diff suppressed because it is too large Load Diff
+1648 -1438
View File
File diff suppressed because it is too large Load Diff
+1630 -1420
View File
File diff suppressed because it is too large Load Diff
+1630 -1420
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+1631 -1421
View File
File diff suppressed because it is too large Load Diff
+1631 -1421
View File
File diff suppressed because it is too large Load Diff
+1631 -1421
View File
File diff suppressed because it is too large Load Diff
+1630 -1420
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+1632 -1422
View File
File diff suppressed because it is too large Load Diff
+1630 -1420
View File
File diff suppressed because it is too large Load Diff
+1631 -1421
View File
File diff suppressed because it is too large Load Diff
+1631 -1421
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+250
View File
@@ -0,0 +1,250 @@
<#
.SYNOPSIS
This PowerShell script is used to create a VeraCrypt container with minimal size to hold a copy of the given input file or directory.
.DESCRIPTION
This script takes as input a file path or directory path and a container path.
If the container path is not specified, it defaults to the same as the input path with a ".hc" extension.
The script calculates the minimal size needed to hold the input file or directory in a VeraCrypt container.
It then creates a VeraCrypt container with the specified path and the calculated size using exFAT filesystem.
Finally, the container is mounted, the input file or directory is copied to the container and the container is dismounted.
.PARAMETER inputPath
The file path or directory path to be encrypted in the VeraCrypt container.
.PARAMETER containerPath
The desired path for the VeraCrypt container. If not specified, it defaults to the same as the input path with a ".hc" extension.
.EXAMPLE
.\EncryptData.ps1 -inputPath "C:\MyFolder" -containerPath "D:\MyContainer.hc"
.\EncryptData.ps1 "C:\MyFolder" "D:\MyContainer.hc"
.\EncryptData.ps1 "C:\MyFolder"
.NOTES
Author: Mounir IDRASSI
Email: mounir.idrassi@idrix.fr
Date: July 2023
License: This script is licensed under the Apache License 2.0
#>
# parameters
param(
[Parameter(Mandatory=$true)]
[string]$inputPath,
[string]$containerPath
)
function ConvertTo-AbsolutePath {
param (
[Parameter(Mandatory=$true)]
[string]$Path
)
if ([System.IO.Path]::IsPathRooted($Path)) {
return $Path
}
return Join-Path -Path (Get-Location) -ChildPath $Path
}
# Convert input path to fully qualified path
$inputPath = ConvertTo-AbsolutePath -Path $inputPath
# Check if input path exists
if (-not (Test-Path $inputPath)) {
Write-Host "The specified input path does not exist. Please provide a valid input path."
exit 1
}
$inputPath = (Resolve-Path -Path $inputPath).Path
# Set container path if not specified
if ([string]::IsNullOrWhiteSpace($containerPath)) {
$containerPath = "${inputPath}.hc"
} else {
$containerPath = ConvertTo-AbsolutePath -Path $containerPath
}
# Check if container path already exists
if (Test-Path $containerPath) {
Write-Host "The specified container path already exists. Please provide a unique path for the new container."
exit 1
}
# Full path to VeraCrypt executables
$veracryptPath = "C:\Program Files\VeraCrypt" # replace with your actual path
$veraCryptExe = Join-Path $veracryptPath "VeraCrypt.exe"
$veraCryptFormatExe = Join-Path $veracryptPath "VeraCrypt Format.exe"
# Constants used to calculate the size of the exFAT filesystem
$InitialVBRSize = 32KB
$InitialFATSize = 128KB
$ClusterSize = 32KB # TODO : make this configurable
function Get-ExFATSizeRec {
param(
[string]$Path,
[uint64] $TotalSize
)
# Constants
$BaseMetadataSize = 32
$DirectoryEntrySize = 32
try {
# Get the item (file or directory) at the provided path
$item = Get-Item -Path $Path -ErrorAction Stop
# Calculate metadata size
$fileNameLength = $item.Name.Length
$metadataSize = $BaseMetadataSize + ($fileNameLength * 2)
# Calculate directory entries
if ($fileNameLength -gt 15) {
$numDirEntries = [math]::Ceiling($fileNameLength / 15) + 1
} else {
$numDirEntries = 2
}
$dirEntriesSize = $numDirEntries * $DirectoryEntrySize
# Add metadata, file size, and directory entries size to $TotalSize
$TotalSize += $metadataSize + $dirEntriesSize
if ($item.PSIsContainer) {
# It's a directory
$childItems = Get-ChildItem -Path $Path -ErrorAction Stop
foreach ($childItem in $childItems) {
# Recursively call this function for each child item
$TotalSize = Get-ExFATSizeRec -Path $childItem.FullName -TotalSize $TotalSize
}
} else {
# It's a file
# Calculate actual file size and round it up to the nearest multiple of $ClusterSize
$fileSize = $item.Length
$totalFileSize = [math]::Ceiling($fileSize / $ClusterSize) * $ClusterSize
# Add metadata, file size, and directory entries size to $TotalSize
$TotalSize += $totalFileSize
}
} catch {
Write-Error "Error processing item at path ${Path}: $_"
}
return $TotalSize
}
function Get-ExFATSize {
param(
[string]$Path
)
try {
# Initialize total size
$totalSize = $InitialVBRSize + $InitialFATSize
# Call the recursive function
$totalSize = Get-ExFATSizeRec -Path $Path -TotalSize $totalSize
# Add the root directory to $totalSize
$totalSize += $ClusterSize
# Calculate the size of the Bitmap Allocation Table
$numClusters = $totalSize / $ClusterSize
$bitmapSize = [math]::Ceiling($numClusters / 8)
$totalSize += $bitmapSize
# Adjust the size of the FAT
$fatSize = $numClusters * 4
$totalSize += $fatSize - $InitialFATSize
# Return the minimum disk size needed to store the exFAT filesystem
return $totalSize
} catch {
Write-Error "Error calculating exFAT size for path ${Path}: $_"
return 0
}
}
# Calculate size of the container
$containerSize = Get-ExFATSize -Path $inputPath
$containerSize = [math]::Ceiling($containerSize / 1MB)
# Add 1 MiB to account for the VeraCrypt headers and reserved areas (256 KiB), plus other overhead
$containerSize += 1
# Specify encryption algorithm, and hash algorithm
$encryption = "AES"
$hash = "sha512"
# Create a SecureString password
$password = Read-Host -AsSecureString -Prompt "Enter your password"
# Create a PSCredential object
$cred = New-Object System.Management.Automation.PSCredential ("username", $password)
Write-Host "Creating VeraCrypt container `"$containerPath`" ..."
# Create file container using VeraCrypt Format
# TODO: Add a switch to VeraCrypt Format to allow specifying the cluster size to use for the container
$veraCryptFormatArgs = "/create `"$containerPath`" /size `"${containerSize}M`" /password $($cred.GetNetworkCredential().Password) /encryption $encryption /hash $hash /filesystem `"exFAT`" /quick /silent"
Start-Process $veraCryptFormatExe -ArgumentList $veraCryptFormatArgs -NoNewWindow -Wait
# Check that the container was successfully created
if (-not (Test-Path $containerPath)) {
Write-Host "An error occurred while creating the VeraCrypt container."
exit 1
}
# Get a list of currently used drive letters
$driveLetter = Get-Volume | Where-Object { $_.DriveLetter -ne $null } | Select-Object -ExpandProperty DriveLetter
# Find the first available drive letter
$unusedDriveLetter = (70..90 | ForEach-Object { [char]$_ } | Where-Object { $_ -notin $driveLetter })[0]
# If no available drive letter was found, print an error message and exit the script
if ($null -eq $unusedDriveLetter) {
# delete the file container that was created
Remove-Item -Path $containerPath -Force
Write-Error "No available drive letters found. Please free up a drive letter and try again."
exit 1
}
Write-Host "Mounting the newly created VeraCrypt container..."
# Mount the container to the chosen drive letter as removable media
Start-Process $veraCryptExe -ArgumentList "/volume `"$containerPath`" /letter $unusedDriveLetter /m rm /password $($cred.GetNetworkCredential().Password) /quit" -NoNewWindow -Wait
# Check if the volume has been mounted successfully
$mountedDriveRoot = "${unusedDriveLetter}:\"
if (-not (Test-Path -Path $mountedDriveRoot)) {
# Volume mount failed
Write-Error "Failed to mount the volume. Please make sure VeraCrypt.exe is working correctly."
# delete the file container that was created
Remove-Item -Path $containerPath -Force
exit 1
}
Write-Host "Copying data to the mounted VeraCrypt container..."
# Copy the file or directory to the mounted drive
if (Test-Path -Path $inputPath -PathType Container) {
# For directories
Copy-Item -Path $inputPath -Destination "$($unusedDriveLetter):\" -Recurse
} else {
# For files
Copy-Item -Path $inputPath -Destination "$($unusedDriveLetter):\"
}
Write-Host "Copying completed. Dismounting the VeraCrypt container..."
# give some time for the file system to flush the data to the disk
Start-Sleep -Seconds 5
# Dismount the volume
Start-Process $veraCryptExe -ArgumentList "/dismount $unusedDriveLetter /quit" -NoNewWindow -Wait
Write-Host "VeraCrypt container created successfully."
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+437
View File
@@ -0,0 +1,437 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML>
<HEAD>
<meta name="GENERATOR" content="Microsoft&reg; HTML Help Workshop 4.1">
<!-- Sitemap 1.0 -->
</HEAD><BODY>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Table Of Contents">
<param name="Local" value="Documentation.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Preface">
<param name="Local" value="Preface.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Introduction">
<param name="Local" value="Introduction.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Beginner's Tutorial ">
<param name="Local" value="Beginner's Tutorial.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="VeraCrypt Volume ">
<param name="Local" value="VeraCrypt Volume.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Creating a New VeraCrypt Volume">
<param name="Local" value="Creating New Volumes.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Favorite Volumes">
<param name="Local" value="Favorite Volumes.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="System Favorite Volumes">
<param name="Local" value="System Favorite Volumes.html">
</OBJECT>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="System Encryption">
<param name="Local" value="System Encryption.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Hidden Operating System">
<param name="Local" value="Hidden Operating System.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Operating Systems Supported for System Encryption">
<param name="Local" value="Supported Systems for System Encryption.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="VeraCrypt Rescue Disk">
<param name="Local" value="VeraCrypt Rescue Disk.html">
</OBJECT>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Plausible Deniability">
<param name="Local" value="Plausible Deniability.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Hidden Volume">
<param name="Local" value="Hidden Volume.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Protection of Hidden Volumes Against Damage">
<param name="Local" value="Protection of Hidden Volumes.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Security Requirements and Precautions Pertaining to Hidden Volumes">
<param name="Local" value="Security Requirements for Hidden Volumes.html">
</OBJECT>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Hidden Operating System">
<param name="Local" value="VeraCrypt Hidden Operating System.html">
</OBJECT>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Main Program Window">
<param name="Local" value="Main Program Window.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Program Menu">
<param name="Local" value="Program Menu.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Mounting Volumes">
<param name="Local" value="Mounting VeraCrypt Volumes.html">
</OBJECT>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Normal Dismount vs Force Dismount ">
<param name="Local" value="Normal Dismount vs Force Dismount.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Avoid Third-Party File Extensions">
<param name="Local" value="Avoid Third-Party File Extensions.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Parallelization">
<param name="Local" value="Parallelization.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Pipelining">
<param name="Local" value="Pipelining.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Hardware acceleration">
<param name="Local" value="Hardware Acceleration.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Hot keys">
<param name="Local" value="Hot Keys.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Keyfiles">
<param name="Local" value="Keyfiles in VeraCrypt.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Security Tokens &amp; Smart Cards">
<param name="Local" value="Security Tokens & Smart Cards.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Portable Mode">
<param name="Local" value="Portable Mode.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="TrueCrypt Support">
<param name="Local" value="TrueCrypt Support.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Converting TrueCrypt Volumes &amp; Partitions">
<param name="Local" value="Converting TrueCrypt volumes and partitions.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Default Mount Parameters">
<param name="Local" value="Default Mount Parameters.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Language Packs">
<param name="Local" value="Language Packs.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Encryption Algorithms">
<param name="Local" value="Encryption Algorithms.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="AES">
<param name="Local" value="AES.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Camellia">
<param name="Local" value="Camellia.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Kuznyechik">
<param name="Local" value="Kuznyechik.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Serpent">
<param name="Local" value="Serpent.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Twofish">
<param name="Local" value="Twofish.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Cascades of ciphers">
<param name="Local" value="Cascades.html">
</OBJECT>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Hash Algorithms">
<param name="Local" value="Hash Algorithms.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="BLAKE2s-256">
<param name="Local" value="BLAKE2s-256.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="SHA-256">
<param name="Local" value="SHA-256.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="SHA-512">
<param name="Local" value="SHA-512.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Whirlpool">
<param name="Local" value="Whirlpool.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Streebog">
<param name="Local" value="Streebog.html">
</OBJECT>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Supported Operating Systems">
<param name="Local" value="Supported Operating Systems.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Command Line Usage">
<param name="Local" value="Command Line Usage.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Security Model">
<param name="Local" value="Security Model.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Security Requirements And Precautions">
<param name="Local" value="Security Requirements and Precautions.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Data Leaks">
<param name="Local" value="Data Leaks.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Paging File">
<param name="Local" value="Paging File.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Memory Dump Files">
<param name="Local" value="Memory Dump Files.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Hibernation File">
<param name="Local" value="Hibernation File.html">
</OBJECT>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Unencrypted Data in RAM">
<param name="Local" value="Unencrypted Data in RAM.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Physical Security">
<param name="Local" value="Physical Security.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Malware">
<param name="Local" value="Malware.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Multi-User Environment">
<param name="Local" value="Multi-User Environment.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Authenticity and Integrity">
<param name="Local" value="Authenticity and Integrity.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Choosing Passwords and Keyfiles">
<param name="Local" value="Choosing Passwords and Keyfiles.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Changing Passwords and Keyfiles">
<param name="Local" value="Changing Passwords and Keyfiles.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Trim Operation">
<param name="Local" value="Trim Operation.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Wear-Leveling">
<param name="Local" value="Wear-Leveling.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Reallocated Sectors">
<param name="Local" value="Reallocated Sectors.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Defragmenting">
<param name="Local" value="Defragmenting.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Journaling File Systems">
<param name="Local" value="Journaling File Systems.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Volume Clones">
<param name="Local" value="Volume Clones.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Additional Security Requirements and Precautions">
<param name="Local" value="Additional Security Requirements and Precautions.html">
</OBJECT>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="How To Back Up Securely">
<param name="Local" value="How to Back Up Securely.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Miscellaneous">
<param name="Local" value="Miscellaneous.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Using VeraCrypt Without Administrator Privileges">
<param name="Local" value="Using VeraCrypt Without Administrator Privileges.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Sharing Over Network">
<param name="Local" value="Sharing over Network.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="VeraCrypt Background Task">
<param name="Local" value="VeraCrypt Background Task.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Volume Mounted as Removable Medium">
<param name="Local" value="Removable Medium Volume.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="VeraCrypt System Files &amp; Application Data">
<param name="Local" value="VeraCrypt System Files.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="How To Remove Encryption">
<param name="Local" value="Removing Encryption.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Uninstalling VeraCrypt">
<param name="Local" value="Uninstalling VeraCrypt.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Digital Signatures">
<param name="Local" value="Digital Signatures.html">
</OBJECT>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Troubleshooting">
<param name="Local" value="Troubleshooting.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Incompatibilities">
<param name="Local" value="Incompatibilities.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Known Issues and Limitations">
<param name="Local" value="Issues and Limitations.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Frequently Asked Questions">
<param name="Local" value="FAQ.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Technical Details">
<param name="Local" value="Technical Details.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Notation">
<param name="Local" value="Notation.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Encryption Scheme">
<param name="Local" value="Encryption Scheme.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Modes of Operation">
<param name="Local" value="Modes of Operation.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Header Key Derivation, Salt, and Iteration Count">
<param name="Local" value="Header Key Derivation.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Random Number Generator">
<param name="Local" value="Random Number Generator.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Keyfiles">
<param name="Local" value="Keyfiles.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="PIM">
<param name="Local" value="Personal Iterations Multiplier (PIM).html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="VeraCrypt Volume Format Specification">
<param name="Local" value="VeraCrypt Volume Format Specification.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Compliance with Standards and Specifications">
<param name="Local" value="Standard Compliance.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Source Code">
<param name="Local" value="Source Code.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Building VeraCrypt From Source">
<param name="Local" value="CompilingGuidelines.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Windows Build Guide">
<param name="Local" value="CompilingGuidelineWin.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Linux Build Guide">
<param name="Local" value="CompilingGuidelineLinux.html">
</OBJECT>
</UL>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Contact">
<param name="Local" value="Contact.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Legal Information">
<param name="Local" value="Legal Information.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Version History">
<param name="Local" value="Release Notes.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Acknowledgements">
<param name="Local" value="Acknowledgements.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="References">
<param name="Local" value="References.html">
</OBJECT>
</UL>
</BODY></HTML>
+13
View File
@@ -0,0 +1,13 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML>
<HEAD>
<!-- Sitemap 1.0 -->
</HEAD><BODY>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Table Of Contents">
<param name="Local" value="Documentation.html">
</OBJECT>
</UL>
</BODY></HTML>
+188
View File
@@ -0,0 +1,188 @@
[OPTIONS]
Compatibility=1.1 or later
Compiled file=VeraCrypt User Guide.chm
Contents file=VeraCrypt.hhc
Default topic=Documentation.html
Display compile progress=No
Full-text search=Yes
Index file=VeraCrypt.hhk
Language=0x409 English (United States)
Title=VeraCrypt User Guide
[FILES]
Acknowledgements.html
Additional Security Requirements and Precautions.html
AES.html
arrow_right.gif
Authenticity and Integrity.html
Authors.html
Avoid Third-Party File Extensions.html
bank_30x30.png
BC_Logo_30x30.png
BCH_Logo_48x30.png
Beginner's Tutorial.html
Beginner's Tutorial_Image_001.jpg
Beginner's Tutorial_Image_002.jpg
Beginner's Tutorial_Image_003.jpg
Beginner's Tutorial_Image_004.jpg
Beginner's Tutorial_Image_005.jpg
Beginner's Tutorial_Image_007.jpg
Beginner's Tutorial_Image_008.jpg
Beginner's Tutorial_Image_009.jpg
Beginner's Tutorial_Image_010.jpg
Beginner's Tutorial_Image_011.jpg
Beginner's Tutorial_Image_012.jpg
Beginner's Tutorial_Image_013.jpg
Beginner's Tutorial_Image_014.jpg
Beginner's Tutorial_Image_015.jpg
Beginner's Tutorial_Image_016.jpg
Beginner's Tutorial_Image_017.jpg
Beginner's Tutorial_Image_018.jpg
Beginner's Tutorial_Image_019.jpg
Beginner's Tutorial_Image_020.jpg
Beginner's Tutorial_Image_021.jpg
Beginner's Tutorial_Image_022.jpg
Beginner's Tutorial_Image_023.gif
Beginner's Tutorial_Image_024.gif
Beginner's Tutorial_Image_034.png
BLAKE2s-256.html
Camellia.html
Cascades.html
Changing Passwords and Keyfiles.html
Choosing Passwords and Keyfiles.html
Command Line Usage.html
CompilingGuidelineLinux.html
CompilingGuidelines.html
CompilingGuidelineWin.html
Contact.html
Contributed Resources.html
Converting TrueCrypt volumes and partitions.html
Converting TrueCrypt volumes and partitions_truecrypt_convertion.jpg
Creating New Volumes.html
Data Leaks.html
Default Mount Parameters.html
Default Mount Parameters_VeraCrypt_password_using_default_parameters.png
Defragmenting.html
Digital Signatures.html
Disclaimers.html
Documentation.html
Donation.html
Donation_donate.gif
Donation_donate_CHF.gif
Donation_donate_Dollars.gif
Donation_donate_Euros.gif
Donation_donate_GBP.gif
Donation_donate_PLN.gif
Donation_donate_YEN.gif
Donation_VeraCrypt_Bitcoin_small.png
Donation_VeraCrypt_BitcoinCash.png
Donation_VeraCrypt_Litecoin.png
Donation_VeraCrypt_Monero.png
Encryption Algorithms.html
Encryption Scheme.html
FAQ.html
Favorite Volumes.html
flattr-badge-large.png
gf2_mul.gif
Hardware Acceleration.html
Hash Algorithms.html
Header Key Derivation.html
Hibernation File.html
Hidden Operating System.html
Hidden Volume.html
Home_facebook_veracrypt.png
Home_reddit.png
Home_utilities-file-archiver-3.png
Home_VeraCrypt_Default_Mount_Parameters.png
Home_VeraCrypt_menu_Default_Mount_Parameters.png
Hot Keys.html
How to Back Up Securely.html
Incompatibilities.html
Introduction.html
Issues and Limitations.html
Journaling File Systems.html
Keyfiles in VeraCrypt.html
Keyfiles in VeraCrypt_Image_040.gif
Keyfiles.html
Kuznyechik.html
Language Packs.html
Legal Information.html
liberapay_donate.svg
LTC_Logo_30x30.png
Main Program Window.html
Malware.html
Memory Dump Files.html
Miscellaneous.html
Modes of Operation.html
Monero_Logo_30x30.png
Mounting VeraCrypt Volumes.html
Multi-User Environment.html
Notation.html
Paging File.html
Parallelization.html
paypal_30x30.png
Personal Iterations Multiplier (PIM).html
Personal Iterations Multiplier (PIM)_VeraCrypt_ChangePIM_Step1.png
Personal Iterations Multiplier (PIM)_VeraCrypt_ChangePIM_Step2.png
Personal Iterations Multiplier (PIM)_VeraCrypt_ChangePIM_System_Step1.png
Personal Iterations Multiplier (PIM)_VeraCrypt_ChangePIM_System_Step2.png
Personal Iterations Multiplier (PIM)_VeraCrypt_UsePIM_Step1.png
Personal Iterations Multiplier (PIM)_VeraCrypt_UsePIM_Step2.png
Physical Security.html
Pipelining.html
Plausible Deniability.html
Portable Mode.html
Preface.html
Program Menu.html
Protection of Hidden Volumes.html
Protection of Hidden Volumes_Image_027.jpg
Protection of Hidden Volumes_Image_028.jpg
Protection of Hidden Volumes_Image_029.jpg
Protection of Hidden Volumes_Image_030.jpg
Protection of Hidden Volumes_Image_031.jpg
Random Number Generator.html
Reallocated Sectors.html
References.html
Release Notes.html
Removable Medium Volume.html
Removing Encryption.html
Security Model.html
Security Requirements and Precautions.html
Security Requirements for Hidden Volumes.html
Security Tokens & Smart Cards.html
Serpent.html
SHA-256.html
SHA-512.html
Sharing over Network.html
Source Code.html
Standard Compliance.html
Streebog.html
styles.css
Supported Operating Systems.html
Supported Systems for System Encryption.html
System Encryption.html
System Favorite Volumes.html
Technical Details.html
Trim Operation.html
Troubleshooting.html
TrueCrypt Support.html
TrueCrypt Support_truecrypt_mode_gui.jpg
twitter_veracrypt.PNG
Twofish.html
Unencrypted Data in RAM.html
Uninstalling VeraCrypt.html
Using VeraCrypt Without Administrator Privileges.html
VeraCrypt Background Task.html
VeraCrypt Hidden Operating System.html
VeraCrypt License.html
VeraCrypt Rescue Disk.html
VeraCrypt System Files.html
VeraCrypt Volume Format Specification.html
VeraCrypt Volume.html
VeraCrypt128x128.png
Volume Clones.html
Wear-Leveling.html
Whirlpool.html
[INFOTYPES]
+11
View File
@@ -0,0 +1,11 @@
PATH=%PATH%;C:\Program Files (x86)\HTML Help Workshop
set CHMBUILDPATH=%~dp0
cd %CHMBUILDPATH%
xcopy /E ..\html\* .
hhc VeraCrypt.hhp
del /F /Q *.html *.css *.jpg *.gif *.png *.svg
rmdir /s /Q CompilingGuidelineWin ru
+51
View File
@@ -0,0 +1,51 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>VeraCrypt - Free Open source disk encryption with strong security for the Paranoid</title>
<meta name="description" content="VeraCrypt is free open-source disk encryption software for Windows, Mac OS X and Linux. In case an attacker forces you to reveal the password, VeraCrypt provides plausible deniability. In contrast to file encryption, data encryption performed by VeraCrypt is real-time (on-the-fly), automatic, transparent, needs very little memory, and does not involve temporary unencrypted files."/>
<meta name="keywords" content="encryption, security"/>
<link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div>
<a href="Documentation.html"><img src="VeraCrypt128x128.png" alt="VeraCrypt"/></a>
</div>
<div id="menu">
<ul>
<li><a href="Home.html">Home</a></li>
<li><a href="/code/">Source Code</a></li>
<li><a href="Downloads.html">Downloads</a></li>
<li><a class="active" href="Documentation.html">Documentation</a></li>
<li><a href="Donation.html">Donate</a></li>
<li><a href="https://sourceforge.net/p/veracrypt/discussion/" target="_blank">Forums</a></li>
</ul>
</div>
<div>
<p>
<a href="Documentation.html">Documentation</a>
<img src="arrow_right.gif" alt=">>" style="margin-top: 5px">
<a href="Encryption%20Algorithms.html">Encryption Algorithms</a>
<img src="arrow_right.gif" alt=">>" style="margin-top: 5px">
<a href="AES.html">AES</a>
</p></div>
<div class="wikidoc">
<h1>AES</h1>
<div style="text-align:left; margin-top:19px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
The Advanced Encryption Standard (AES) specifies a FIPS-approved cryptographic algorithm (Rijndael, designed by Joan Daemen and Vincent Rijmen, published in 1998) that may be used by US federal departments and agencies to cryptographically protect sensitive
information [3]. VeraCrypt uses AES with 14 rounds and a 256-bit key (i.e., AES-256, published in 2001) operating in
<a href="Modes%20of%20Operation.html" style="text-align:left; color:#0080c0; text-decoration:none.html">
XTS mode</a> (see the section <a href="Modes%20of%20Operation.html" style="text-align:left; color:#0080c0; text-decoration:none.html">
Modes of Operation</a>).</div>
<div style="text-align:left; margin-top:19px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
In June 2003, after the NSA (US National Security Agency) conducted a review and analysis of AES, the U.S. CNSS (Committee on National Security Systems) announced in [1] that the design and strength of AES-256 (and AES-192) are sufficient to protect classified
information up to the Top Secret level. This is applicable to all U.S. Government Departments or Agencies that are considering the acquisition or use of products incorporating the Advanced Encryption Standard (AES) to satisfy Information Assurance requirements
associated with the protection of national security systems and/or national security information [1].</div>
<div style="text-align:left; margin-top:19px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
<a href="Camellia.html" style="text-align:left; color:#0080c0; text-decoration:none; font-weight:bold.html">Next Section &gt;&gt;</a></div>
</div><div class="ClearBoth"></div></body></html>
+58
View File
@@ -0,0 +1,58 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>VeraCrypt - Free Open source disk encryption with strong security for the Paranoid</title>
<meta name="description" content="VeraCrypt is free open-source disk encryption software for Windows, Mac OS X and Linux. In case an attacker forces you to reveal the password, VeraCrypt provides plausible deniability. In contrast to file encryption, data encryption performed by VeraCrypt is real-time (on-the-fly), automatic, transparent, needs very little memory, and does not involve temporary unencrypted files."/>
<meta name="keywords" content="encryption, security"/>
<link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div>
<a href="Documentation.html"><img src="VeraCrypt128x128.png" alt="VeraCrypt"/></a>
</div>
<div id="menu">
<ul>
<li><a href="Home.html">Home</a></li>
<li><a href="/code/">Source Code</a></li>
<li><a href="Downloads.html">Downloads</a></li>
<li><a class="active" href="Documentation.html">Documentation</a></li>
<li><a href="Donation.html">Donate</a></li>
<li><a href="https://sourceforge.net/p/veracrypt/discussion/" target="_blank">Forums</a></li>
</ul>
</div>
<div>
<p>
<a href="Documentation.html">Documentation</a>
<img src="arrow_right.gif" alt=">>" style="margin-top: 5px">
<a href="Acknowledgements.html">Acknowledgements</a>
</p></div>
<div class="wikidoc">
<div>
<h1>Acknowledgements</h1>
<p>We would like to thank the following people:</p>
<p>The TrueCrypt Developers team who have done an amazing job over the course of 10 years. Without their hard work, VeraCrypt would not exist today.</p>
<p>Paul Le Roux for making his E4M source code available. TrueCrypt 1.0 was derived from E4M and some parts of the E4M source code are still incorporated in the latest version of the TrueCrypt source code.</p>
<p>Brian Gladman, who wrote the excellent AES, Twofish, and SHA-512 routines.</p>
<p>Peter Gutmann for his paper on random numbers, and for creating his cryptlib, which was the source of parts of the random number generator source code.</p>
<p>Wei Dai, who wrote the Serpent and RIPEMD-160 and Whirlpool routines.</p>
<p>Tom St Denis, the author of LibTomCrypt which includes compact SHA-256 routines.</p>
<p>Mark Adler and Jean-loup Gailly, who wrote the zlib library.</p>
<p>The designers of the encryption algorithms, hash algorithms, and the mode of operation:</p>
<p>Horst Feistel, Don Coppersmith, Walt Tuchmann, Lars Knudsen, Ross Anderson, Eli Biham, Bruce Schneier, David Wagner, John Kelsey, Niels Ferguson, Doug Whiting, Chris Hall, Joan Daemen, Vincent Rijmen, Carlisle Adams, Stafford Tavares, Phillip Rogaway, Hans
Dobbertin, Antoon Bosselaers, Bart Preneel, Paulo S. L. M. Barreto.</p>
<p>Andreas Becker for designing VeraCrypt logo and icons.</p>
<p>Xavier de Carn&eacute; de Carnavalet who proposed a speed optimization for PBKDF2 that reduced mount/boot time by half.</p>
<p>kerukuro for cppcrypto library (http://cppcrypto.sourceforge.net/) from which Kuznyechik cipher implementation was taken.</p>
<p><br>
Dieter Baron and Thomas Klausner who wrote the libzip library.</p>
<p><br>
Jack Lloyd who wrote the SIMD optimized Serpent implementation.</p>
<p>All the others who have made this project possible, all who have morally supported us, and all who sent us bug reports or suggestions for improvements.</p>
<p>Thank you very much.</p>
</div>
</div><div class="ClearBoth"></div></body></html>
@@ -0,0 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>VeraCrypt - Free Open source disk encryption with strong security for the Paranoid</title>
<meta name="description" content="VeraCrypt is free open-source disk encryption software for Windows, Mac OS X and Linux. In case an attacker forces you to reveal the password, VeraCrypt provides plausible deniability. In contrast to file encryption, data encryption performed by VeraCrypt is real-time (on-the-fly), automatic, transparent, needs very little memory, and does not involve temporary unencrypted files."/>
<meta name="keywords" content="encryption, security"/>
<link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div>
<a href="Documentation.html"><img src="VeraCrypt128x128.png" alt="VeraCrypt"/></a>
</div>
<div id="menu">
<ul>
<li><a href="Home.html">Home</a></li>
<li><a href="/code/">Source Code</a></li>
<li><a href="Downloads.html">Downloads</a></li>
<li><a class="active" href="Documentation.html">Documentation</a></li>
<li><a href="Donation.html">Donate</a></li>
<li><a href="https://sourceforge.net/p/veracrypt/discussion/" target="_blank">Forums</a></li>
</ul>
</div>
<div>
<p>
<a href="Documentation.html">Documentation</a>
<img src="arrow_right.gif" alt=">>" style="margin-top: 5px">
<a href="Security%20Requirements%20and%20Precautions.html">Security Requirements and Precautions</a>
<img src="arrow_right.gif" alt=">>" style="margin-top: 5px">
<a href="Additional%20Security%20Requirements%20and%20Precautions.html">Additional Security Requirements and Precautions</a>
</p></div>
<div class="wikidoc">
<div>
<h1>Additional Security Requirements and Precautions</h1>
<p>In addition to the requirements and precautions described in this chapter (<a href="Security%20Requirements%20and%20Precautions.html"><em>Security Requirements and Precautions</em></a>), you must follow and keep in
mind the security requirements, precautions, and limitations listed in the following chapters and sections:</p>
<ul>
<li><a href="How%20to%20Back%20Up%20Securely.html"><em><strong>How to Back Up Securely</strong></em></a>
</li><li><a href="Issues%20and%20Limitations.html"><em><strong>Limitations</strong></em></a>
</li><li><a href="Security%20Model.html"><em><strong>Security Model</strong></em></a>
</li><li><a href="Security%20Requirements%20for%20Hidden%20Volumes.html"><em><strong>Security Requirements and Precautions Pertaining to Hidden Volumes</strong></em></a>
</li><li><a href="Plausible%20Deniability.html"><em><strong>Plausible Deniability</strong></em></a>
</li></ul>
<p>See also: <a href="Digital%20Signatures.html">
<em>Digital Signatures</em></a></p>
</div>
</div><div class="ClearBoth"></div></body></html>
+49
View File
@@ -0,0 +1,49 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>VeraCrypt - Free Open source disk encryption with strong security for the Paranoid</title>
<meta name="description" content="VeraCrypt is free open-source disk encryption software for Windows, Mac OS X and Linux. In case an attacker forces you to reveal the password, VeraCrypt provides plausible deniability. In contrast to file encryption, data encryption performed by VeraCrypt is real-time (on-the-fly), automatic, transparent, needs very little memory, and does not involve temporary unencrypted files."/>
<meta name="keywords" content="encryption, security"/>
<link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div>
<a href="Documentation.html"><img src="VeraCrypt128x128.png" alt="VeraCrypt"/></a>
</div>
<div id="menu">
<ul>
<li><a href="Home.html">Home</a></li>
<li><a href="/code/">Source Code</a></li>
<li><a href="Downloads.html">Downloads</a></li>
<li><a class="active" href="Documentation.html">Documentation</a></li>
<li><a href="Donation.html">Donate</a></li>
<li><a href="https://sourceforge.net/p/veracrypt/discussion/" target="_blank">Forums</a></li>
</ul>
</div>
<div>
<p>
<a href="Documentation.html">Documentation</a>
<img src="arrow_right.gif" alt=">>" style="margin-top: 5px">
<a href="Security%20Requirements%20and%20Precautions.html">Security Requirements and Precautions</a>
<img src="arrow_right.gif" alt=">>" style="margin-top: 5px">
<a href="Authenticity%20and%20Integrity.html">Authenticity and Integrity</a>
</p></div>
<div class="wikidoc">
<div>
<h1>Authenticity and Integrity</h1>
<p>VeraCrypt uses encryption to preserve the <em>confidentiality</em> of data it encrypts. VeraCrypt neither preserves nor verifies the integrity or authenticity of data it encrypts or decrypts. Hence, if you allow an adversary to modify data encrypted by VeraCrypt,
he can set the value of any 16-byte block of the data to a random value or to a previous value, which he was able to obtain in the past. Note that the adversary cannot choose the value that you will obtain when VeraCrypt decrypts the modified block &mdash;
the value will be random &mdash; unless the attacker restores an older version of the encrypted block, which he was able to obtain in the past. It is your responsibility to verify the integrity and authenticity of data encrypted or decrypted by VeraCrypt (for
example, by using appropriate third-party software).<br>
<br>
See also: <a href="Physical%20Security.html">
<em>Physical Security</em></a>, <a href="Security%20Model.html">
<em>Security Model</em></a></p>
</div>
</div><div class="ClearBoth"></div></body></html>
+42
View File
@@ -0,0 +1,42 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>VeraCrypt - Free Open source disk encryption with strong security for the Paranoid</title>
<meta name="description" content="VeraCrypt is free open-source disk encryption software for Windows, Mac OS X and Linux. In case an attacker forces you to reveal the password, VeraCrypt provides plausible deniability. In contrast to file encryption, data encryption performed by VeraCrypt is real-time (on-the-fly), automatic, transparent, needs very little memory, and does not involve temporary unencrypted files."/>
<meta name="keywords" content="encryption, security"/>
<link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div>
<a href="Documentation.html"><img src="VeraCrypt128x128.png" alt="VeraCrypt"/></a>
</div>
<div id="menu">
<ul>
<li><a href="Home.html">Home</a></li>
<li><a href="/code/">Source Code</a></li>
<li><a href="Downloads.html">Downloads</a></li>
<li><a class="active" href="Documentation.html">Documentation</a></li>
<li><a href="Donation.html">Donate</a></li>
<li><a href="https://sourceforge.net/p/veracrypt/discussion/" target="_blank">Forums</a></li>
</ul>
</div>
<div>
<p>
<a href="Documentation.html">Documentation</a>
<img src="arrow_right.gif" alt=">>" style="margin-top: 5px">
<a href="VeraCrypt%20Volume.html">VeraCrypt Volume</a>
</p></div>
<div class="wikidoc">
<h2>Authors</h2>
<p>Mounir IDRASSI (<a href="https://www.idrix.fr" target="_blank">IDRIX</a>, <a href="https://fr.linkedin.com/in/idrassi" target="_blank">
https://fr.linkedin.com/in/idrassi</a>) is the creator and main developer of VeraCrypt. He managed all development and deployment aspects on all supported platforms (Windows,Linux and OSX).</p>
<p>Alex Kolotnikov (<a href="https://ru.linkedin.com/in/alex-kolotnikov-6625568b" target="_blank">https://ru.linkedin.com/in/alex-kolotnikov-6625568b</a>) is the author of VeraCrypt EFI bootloader. He manages all aspects of EFI support and his strong expertise
helps bring new exciting features to VeraCrypt Windows system encryption.</p>
<p>&nbsp;</p>
</div><div class="ClearBoth"></div></body></html>
@@ -0,0 +1,85 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>VeraCrypt - Free Open source disk encryption with strong security for the Paranoid</title>
<meta name="description" content="VeraCrypt is free open-source disk encryption software for Windows, Mac OS X and Linux. In case an attacker forces you to reveal the password, VeraCrypt provides plausible deniability. In contrast to file encryption, data encryption performed by VeraCrypt is real-time (on-the-fly), automatic, transparent, needs very little memory, and does not involve temporary unencrypted files."/>
<meta name="keywords" content="encryption, security"/>
<link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div>
<a href="Documentation.html"><img src="VeraCrypt128x128.png" alt="VeraCrypt"/></a>
</div>
<div id="menu">
<ul>
<li><a href="Home.html">Home</a></li>
<li><a href="/code/">Source Code</a></li>
<li><a href="Downloads.html">Downloads</a></li>
<li><a class="active" href="Documentation.html">Documentation</a></li>
<li><a href="Donation.html">Donate</a></li>
<li><a href="https://sourceforge.net/p/veracrypt/discussion/" target="_blank">Forums</a></li>
</ul>
</div>
<div>
<p>
<a href="Documentation.html">Documentation</a>
<img src="arrow_right.gif" alt=">>" style="margin-top: 5px">
<a href="Avoid%20Third-Party%20File%20Extensions.html">Avoid Third-Party File Extensions</a>
</p></div>
<div class="wikidoc">
<h1>Understanding the Risks of Using Third-Party File Extensions with VeraCrypt</h1>
<div>
<p>While VeraCrypt provides robust encryption capabilities to secure your data, using third-party file extensions for File Containers or Keyfiles could risk making the encrypted data inaccessible.<br />
This guide provides an in-depth explanation of the associated risks, and it outlines recommendations for best practices to mitigate these risks.</p>
</div>
<h2>Risks Associated with File Containers</h2>
<div>
<p>Using a third-party file extension for File Containers exposes you to several risks:</p>
<ul>
<li>Overwritten Metadata: Third-party applications may update their metadata, which could overwrite crucial parts of the File Container.</li>
<li>Unintentional Changes: Accidentally launching a File Container with a third-party application could modify its metadata without your consent.</li>
<li>Container Corruption: These actions could render the container unreadable or unusable.</li>
<li>Data Loss: The data within the container might be permanently lost if the container becomes corrupted.</li>
</ul>
</div>
<h2>Risks Associated with Keyfiles</h2>
<div>
<p>Similar risks are associated with Keyfiles:</p>
<ul>
<li>Keyfile Corruption: Inadvertently modifying a Keyfile with a third-party application can make it unusable for decryption.</li>
<li>Overwritten Data: Third-party applications may overwrite the portion of the Keyfile that VeraCrypt uses for decryption.</li>
<li>Unintentional Changes: Accidental changes can make it impossible to mount the volume unless you have an unaltered backup of the Keyfile.</li>
</ul>
</div>
<h2>Examples of Extensions to Avoid</h2>
<div>
<p>Avoid using the following types of third-party file extensions:</p>
<ul>
<li>Media Files: Picture, audio, and video files are subject to metadata changes by their respective software.</li>
<li>Archive Files: Zip files can be easily modified, which could disrupt the encrypted volume.</li>
<li>Executable Files: Software updates can modify these files, making them unreliable as File Containers or Keyfiles.</li>
<li>Document Files: Office and PDF files can be automatically updated by productivity software, making them risky to use.</li>
</ul>
</div>
<h2>Recommendations</h2>
<div>
<p>For secure usage, consider the following best practices:</p>
<ul>
<li>Use neutral file extensions for File Containers and Keyfiles to minimize the risk of automatic file association.</li>
<li>Keep secure backups of your File Containers and Keyfiles in locations isolated from network access.</li>
<li>Disable auto-open settings for the specific file extensions you use for VeraCrypt File Containers and Keyfiles.</li>
<li>Always double-check file associations and be cautious when using a new device or third-party application.</li>
</ul>
</div>
<div class="ClearBoth"></div></body></html>
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

+51
View File
@@ -0,0 +1,51 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>VeraCrypt - Free Open source disk encryption with strong security for the Paranoid</title>
<meta name="description" content="VeraCrypt is free open-source disk encryption software for Windows, Mac OS X and Linux. In case an attacker forces you to reveal the password, VeraCrypt provides plausible deniability. In contrast to file encryption, data encryption performed by VeraCrypt is real-time (on-the-fly), automatic, transparent, needs very little memory, and does not involve temporary unencrypted files."/>
<meta name="keywords" content="encryption, security"/>
<link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div>
<a href="Documentation.html"><img src="VeraCrypt128x128.png" alt="VeraCrypt"/></a>
</div>
<div id="menu">
<ul>
<li><a href="Home.html">Home</a></li>
<li><a href="/code/">Source Code</a></li>
<li><a href="Downloads.html">Downloads</a></li>
<li><a class="active" href="Documentation.html">Documentation</a></li>
<li><a href="Donation.html">Donate</a></li>
<li><a href="https://sourceforge.net/p/veracrypt/discussion/" target="_blank">Forums</a></li>
</ul>
</div>
<div>
<p>
<a href="Documentation.html">Documentation</a>
<img src="arrow_right.gif" alt=">>" style="margin-top: 5px">
<a href="Hash%20Algorithms.html">Hash Algorithms</a>
<img src="arrow_right.gif" alt=">>" style="margin-top: 5px">
<a href="BLAKE2s-256.html">BLAKE2s-256</a>
</p></div>
<div class="wikidoc">
<h1>BLAKE2s-256</h1>
<div style="text-align:left; margin-top:19px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
<p>
BLAKE2 is a cryptographic hash function based on BLAKE, created by Jean-Philippe Aumasson, Samuel Neves, Zooko Wilcox-O'Hearn, and Christian Winnerlein. It was announced on December 21, 2012. The design goal was to replace the widely used, but broken, MD5 and SHA-1 algorithms in applications requiring high performance in software. BLAKE2 provides better security than SHA-2 and similar to that of SHA-3 (e.g. immunity to length extension, indifferentiability from a random oracle, etc...).<br/>
BLAKE2 removes addition of constants to message words from BLAKE round function, changes two rotation constants, simplifies padding, adds parameter block that is XOR'ed with initialization vectors, and reduces the number of rounds from 16 to 12 for BLAKE2b (successor of BLAKE-512), and from 14 to 10 for BLAKE2s (successor of BLAKE-256).<br/>
BLAKE2b and BLAKE2s are specified in RFC 7693.
</p>
<p>
VeraCrypt uses only BLAKE2s with its maximum output size of 32-bytes (256 bits).
</p>
</div>
<div style="text-align:left; margin-top:19px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
<a href="SHA-256.html" style="text-align:left; color:#0080c0; text-decoration:none; font-weight:bold.html">Next Section &gt;&gt;</a></div>
</div><div class="ClearBoth"></div></body></html>
+207
View File
@@ -0,0 +1,207 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>VeraCrypt - Free Open source disk encryption with strong security for the Paranoid</title>
<meta name="description" content="VeraCrypt is free open-source disk encryption software for Windows, Mac OS X and Linux. In case an attacker forces you to reveal the password, VeraCrypt provides plausible deniability. In contrast to file encryption, data encryption performed by VeraCrypt is real-time (on-the-fly), automatic, transparent, needs very little memory, and does not involve temporary unencrypted files."/>
<meta name="keywords" content="encryption, security"/>
<link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div>
<a href="Documentation.html"><img src="VeraCrypt128x128.png" alt="VeraCrypt"/></a>
</div>
<div id="menu">
<ul>
<li><a href="Home.html">Home</a></li>
<li><a href="/code/">Source Code</a></li>
<li><a href="Downloads.html">Downloads</a></li>
<li><a class="active" href="Documentation.html">Documentation</a></li>
<li><a href="Donation.html">Donate</a></li>
<li><a href="https://sourceforge.net/p/veracrypt/discussion/" target="_blank">Forums</a></li>
</ul>
</div>
<div>
<p>
<a href="Documentation.html">Documentation</a>
<img src="arrow_right.gif" alt=">>" style="margin-top: 5px">
<a href="Beginner's%20Tutorial.html">Beginner's Tutorial</a>
</p></div>
<div class="wikidoc">
<h1>Beginner's Tutorial</h1>
<h2>How to Create and Use a VeraCrypt Container</h2>
<p>This chapter contains step-by-step instructions on how to create, mount, and use a VeraCrypt volume. We strongly recommend that you also read the other sections of this manual, as they contain important information.</p>
<h4>STEP 1:</h4>
<p>If you have not done so, download and install VeraCrypt. Then launch VeraCrypt by double-clicking the file VeraCrypt.exe or by clicking the VeraCrypt shortcut in your Windows Start menu.</p>
<h4>STEP 2:</h4>
<p><img src="Beginner's Tutorial_Image_001.jpg" alt=""><br>
<br>
The main VeraCrypt window should appear. Click <strong>Create Volume </strong>(marked with a red rectangle for clarity).</p>
<h4>STEP 3:</h4>
<p><img src="Beginner's Tutorial_Image_002.jpg" alt=""><br>
<br>
The VeraCrypt Volume Creation Wizard window should appear.<br>
<br>
In this step you need to choose where you wish the VeraCrypt volume to be created. A VeraCrypt volume can reside in a file, which is also called container, in a partition or drive. In this tutorial, we will choose the first option and create a VeraCrypt volume
within a file.<br>
<br>
As the option is selected by default, you can just click <strong>Next</strong>.</p>
<p>Note: In the following steps, the screenshots will show only the right-hand part of the Wizard window.</p>
<h4>STEP 4:</h4>
<p><img src="Beginner's Tutorial_Image_003.jpg" alt=""><br>
<br>
In this step you need to choose whether to create a standard or hidden VeraCrypt volume. In this tutorial, we will choose the former option and create a standard VeraCrypt volume.<br>
<br>
As the option is selected by default, you can just click <strong>Next</strong>.</p>
<h4>STEP 5:</h4>
<p><img src="Beginner's Tutorial_Image_004.jpg" alt=""><br>
<br>
In this step you have to specify where you wish the VeraCrypt volume (file container) to be created. Note that a VeraCrypt container is just like any normal file. It can be, for example, moved or deleted as any normal file. It also needs a filename, which you
will choose in the next step.<br>
<br>
Click <strong>Select File</strong>.<br>
<br>
The standard Windows file selector should appear (while the window of the VeraCrypt Volume Creation Wizard remains open in the background).</p>
<h4>STEP 6:</h4>
<p><img src="Beginner's Tutorial_Image_005.jpg" alt=""><br>
<br>
In this tutorial, we will create our VeraCrypt volume in the folder F<em>:\Data\ </em>
and the filename of the volume (container) will be <em>MyVolume.hc </em>(as can be seen in the screenshot above). You may, of course, choose any other filename and location you like (for example, on a USB memory stick). Note that the file
<em>MyVolume.hc </em>does not exist yet &ndash; VeraCrypt will create it.</p>
<p>IMPORTANT: Note that VeraCrypt will <em>not </em>encrypt any existing files (when creating a VeraCrypt file container). If you select an existing file in this step, it will be overwritten and replaced by the newly created volume (so the overwritten file
will be <em>lost</em>, <em>not </em>encrypted). You will be able to encrypt existing files (later on) by moving them to the VeraCrypt volume that we are creating now.*</p>
<p>Select the desired path (where you wish the container to be created) in the file selector. Type the desired container file name in the
<strong>Filename </strong>box.<br>
<br>
Click <strong>Save</strong>.<br>
<br>
The file selector window should disappear.<br>
<br>
In the following steps, we will return to the VeraCrypt Volume Creation Wizard.</p>
<p>* Note that after you copy existing unencrypted files to a VeraCrypt volume, you should securely erase (wipe) the original unencrypted files. There are software tools that can be used for the purpose of secure erasure (many of them are free).</p>
<h4>STEP 7:</h4>
<p><img src="Beginner's Tutorial_Image_007.jpg" alt=""><br>
<br>
In the Volume Creation Wizard window, click <strong>Next</strong>.</p>
<h4>STEP 8:</h4>
<p><img src="Beginner's Tutorial_Image_008.jpg" alt=""><br>
<br>
Here you can choose an encryption algorithm and a hash algorithm for the volume. If you are not sure what to select here, you can use the default settings and click
<strong>Next </strong>(for more information, see chapters <a href="Encryption Algorithms.html">
<em>Encryption Algorithms</em></a> and <a href="Hash%20Algorithms.html">
<em>Hash Algorithms</em></a>).</p>
<h4>STEP 9:</h4>
<p><img src="Beginner's Tutorial_Image_009.jpg" alt=""><br>
<br>
Here we specify that we wish the size of our VeraCrypt container to be 250 megabyte. You may, of course, specify a different size. After you type the desired size in the input field (marked with a red rectangle), click
<strong>Next</strong>.</p>
<h4>STEP 10:</h4>
<p><img src="Beginner's Tutorial_Image_010.jpg" alt=""><br>
<br>
This is one of the most important steps. Here you have to choose a good volume password. Read carefully the information displayed in the Wizard window about what is considered a good password.<br>
<br>
After you choose a good password, type it in the first input field. Then re-type it in the input field below the first one and click
<strong>Next</strong>.</p>
<p>Note: The button <strong>Next </strong>will be disabled until passwords in both input fields are the same.</p>
<h4>STEP 11:</h4>
<p><img src="Beginner's Tutorial_Image_011.jpg" alt=""><br>
<br>
Move your mouse as randomly as possible within the Volume Creation Wizard window at least until the randomness indicator becomes green. The longer you move the mouse, the better (moving the mouse for at least 30 seconds is recommended). This significantly increases
the cryptographic strength of the encryption keys (which increases security).<br>
<br>
Click <strong>Format</strong>.<br>
<br>
Volume creation should begin. VeraCrypt will now create a file called <em>MyVolume.hc
</em>in the folder F<em>:\Data\ </em>(as we specified in Step 6). This file will be a VeraCrypt container (it will contain the encrypted VeraCrypt volume). Depending on the size of the volume, the volume creation may take a long time. After it finishes, the
following dialog box will appear:<br>
<br>
<img src="Beginner's Tutorial_Image_012.jpg" alt=""><br>
<br>
Click <strong>OK </strong>to close the dialog box.</p>
<h4>STEP 12:</h4>
<p><img src="Beginner's Tutorial_Image_013.jpg" alt=""><br>
<br>
We have just successfully created a VeraCrypt volume (file container). In the VeraCrypt Volume Creation Wizard window, click
<strong>Exit</strong>.<br>
<br>
The Wizard window should disappear.<br>
<br>
In the remaining steps, we will mount the volume we just created. We will return to the main VeraCrypt window (which should still be open, but if it is not, repeat Step 1 to launch VeraCrypt and then continue from Step 13.)</p>
<h4>STEP 13:</h4>
<p><img src="Beginner's Tutorial_Image_014.jpg" alt=""><br>
<br>
Select a drive letter from the list (marked with a red rectangle). This will be the drive letter to which the VeraCrypt container will be mounted.<br>
<br>
Note: In this tutorial, we chose the drive letter M, but you may of course choose any other available drive letter.</p>
<h4>STEP 14:</h4>
<p><img src="Beginner's Tutorial_Image_015.jpg" alt=""><br>
<br>
Click <strong>Select File</strong>.<br>
<br>
The standard file selector window should appear.</p>
<h4>STEP 15:</h4>
<p><img src="Beginner's Tutorial_Image_016.jpg" alt=""><br>
<br>
In the file selector, browse to the container file (which we created in Steps 6-12) and select it. Click
<strong>Open </strong>(in the file selector window).<br>
<br>
The file selector window should disappear.<br>
<br>
In the following steps, we will return to the main VeraCrypt window.</p>
<h4>STEP 16:</h4>
<p><img src="Beginner's Tutorial_Image_017.jpg" alt=""><br>
<br>
In the main VeraCrypt window, click <strong>Mount</strong>. Password prompt dialog window should appear.</p>
<h4>STEP 17:</h4>
<p><img src="Beginner's Tutorial_Image_018.jpg" alt=""><br>
<br>
Type the password (which you specified in Step 10) in the password input field (marked with a red rectangle).</p>
<h4>STEP 18:</h4>
<p><img src="Beginner's Tutorial_Image_019.jpg" alt=""><br>
<br>
Select the PRF algorithm that was used during the creation of the volume (SHA-512 is the default PRF used by VeraCrypt). If you don&rsquo;t remember which PRF was used, just leave it set to &ldquo;autodetection&rdquo; but the mounting process will take more
time. Click <strong>OK</strong> after entering the password.<br>
<br>
VeraCrypt will now attempt to mount the volume. If the password is incorrect (for example, if you typed it incorrectly), VeraCrypt will notify you and you will need to repeat the previous step (type the password again and click
<strong>OK</strong>). If the password is correct, the volume will be mounted.</p>
<h4>FINAL STEP:</h4>
<p><img src="Beginner's Tutorial_Image_020.jpg" alt=""><br>
<br>
We have just successfully mounted the container as a virtual disk M:<br>
<br>
The virtual disk is entirely encrypted (including file names, allocation tables, free space, etc.) and behaves like a real disk. You can save (or copy, move, etc.) files to this virtual disk and they will be encrypted on the fly as they are being written.<br>
<br>
If you open a file stored on a VeraCrypt volume, for example, in media player, the file will be automatically decrypted to RAM (memory) on the fly while it is being read.</p>
<p>Important: Note that when you open a file stored on a VeraCrypt volume (or when you write/copy a file to/from the VeraCrypt volume) you will not be asked to enter the password again. You need to enter the correct password only when mounting the volume.</p>
<p>You can open the mounted volume, for example, by selecting it on the list as shown in the screenshot above (blue selection) and then double-clicking on the selected item.</p>
<p>You can also browse to the mounted volume the way you normally browse to any other types of volumes. For example, by opening the &lsquo;<em>Computer</em>&rsquo; (or &lsquo;<em>My Computer</em>&rsquo;) list and double clicking the corresponding drive letter
(in this case, it is the letter M).<br>
<br>
<img src="Beginner's Tutorial_Image_021.jpg" alt=""><br>
<br>
You can copy files (or folders) to and from the VeraCrypt volume just as you would copy them to any normal disk (for example, by simple drag-and-drop operations). Files that are being read or copied from the encrypted VeraCrypt volume are automatically decrypted
on the fly in RAM (memory). Similarly, files that are being written or copied to the VeraCrypt volume are automatically encrypted on the fly in RAM (right before they are written to the disk).<br>
<br>
Note that VeraCrypt never saves any decrypted data to a disk &ndash; it only stores them temporarily in RAM (memory). Even when the volume is mounted, data stored in the volume is still encrypted. When you restart Windows or turn off your computer, the volume
will be dismounted and all files stored on it will be inaccessible (and encrypted). Even when power supply is suddenly interrupted (without proper system shut down), all files stored on the volume will be inaccessible (and encrypted). To make them accessible
again, you have to mount the volume. To do so, repeat Steps 13-18.</p>
<p>If you want to close the volume and make files stored on it inaccessible, either restart your operating system or dismount the volume. To do so, follow these steps:<br>
<br>
<img src="Beginner's Tutorial_Image_022.jpg" alt=""><br>
<br>
Select the volume from the list of mounted volumes in the main VeraCrypt window (marked with a red rectangle in the screenshot above) and then click
<strong>Dismount </strong>(also marked with a red rectangle in the screenshot above). To make files stored on the volume accessible again, you will have to mount the volume. To do so, repeat Steps 13-18.</p>
<h2>How to Create and Use a VeraCrypt-Encrypted Partition/Device</h2>
<p>Instead of creating file containers, you can also encrypt physical partitions or drives (i.e., create VeraCrypt device-hosted volumes). To do so, repeat the steps 1-3 but in the step 3 select the second or third option. Then follow the remaining instructions
in the wizard. When you create a device-hosted VeraCrypt volume within a <em>non-system
</em>partition/drive, you can mount it by clicking <em>Auto-Mount Devices </em>in the main VeraCrypt window. For information pertaining to encrypted
<em>system </em>partition/drives, see the chapter <a href="System%20Encryption.html">
<em>System Encryption</em></a>.</p>
<p>Important: <em>We strongly recommend that you also read the other chapters of this manual, as they contain important information that has been omitted in this tutorial for simplicity.</em></p>
</div>
</body></html>
Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

+47
View File
@@ -0,0 +1,47 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>VeraCrypt - Free Open source disk encryption with strong security for the Paranoid</title>
<meta name="description" content="VeraCrypt is free open-source disk encryption software for Windows, Mac OS X and Linux. In case an attacker forces you to reveal the password, VeraCrypt provides plausible deniability. In contrast to file encryption, data encryption performed by VeraCrypt is real-time (on-the-fly), automatic, transparent, needs very little memory, and does not involve temporary unencrypted files."/>
<meta name="keywords" content="encryption, security"/>
<link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div>
<a href="Documentation.html"><img src="VeraCrypt128x128.png" alt="VeraCrypt"/></a>
</div>
<div id="menu">
<ul>
<li><a href="Home.html">Home</a></li>
<li><a href="/code/">Source Code</a></li>
<li><a href="Downloads.html">Downloads</a></li>
<li><a class="active" href="Documentation.html">Documentation</a></li>
<li><a href="Donation.html">Donate</a></li>
<li><a href="https://sourceforge.net/p/veracrypt/discussion/" target="_blank">Forums</a></li>
</ul>
</div>
<div>
<p>
<a href="Documentation.html">Documentation</a>
<img src="arrow_right.gif" alt=">>" style="margin-top: 5px">
<a href="Encryption%20Algorithms.html">Encryption Algorithms</a>
<img src="arrow_right.gif" alt=">>" style="margin-top: 5px">
<a href="Camellia.html">Camellia</a>
</p></div>
<div class="wikidoc">
<h1>Camellia</h1>
<div style="text-align:left; margin-top:19px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
Jointly developed by Mitsubishi Electric and NTT of Japan, Camellia is a 128-bit block cipher that was first published on 2000. It has been approved for use by the ISO/IEC, the European Union's NESSIE project and the Japanese CRYPTREC project.</div>
<div style="text-align:left; margin-top:19px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
VeraCrypt uses Camellia with 24 rounds and a 256-bit key operating in <a href="Modes%20of%20Operation.html" style="text-align:left; color:#0080c0; text-decoration:none.html">
XTS mode</a> (see the section <a href="Modes%20of%20Operation.html" style="text-align:left; color:#0080c0; text-decoration:none.html">
Modes of Operation</a>).</div>
<div style="text-align:left; margin-top:19px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
<a href="Kuznyechik.html" style="text-align:left; color:#0080c0; text-decoration:none; font-weight:bold.html">Next Section &gt;&gt;</a></div>
</div><div class="ClearBoth"></div></body></html>
+91
View File
@@ -0,0 +1,91 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>VeraCrypt - Free Open source disk encryption with strong security for the Paranoid</title>
<meta name="description" content="VeraCrypt is free open-source disk encryption software for Windows, Mac OS X and Linux. In case an attacker forces you to reveal the password, VeraCrypt provides plausible deniability. In contrast to file encryption, data encryption performed by VeraCrypt is real-time (on-the-fly), automatic, transparent, needs very little memory, and does not involve temporary unencrypted files."/>
<meta name="keywords" content="encryption, security"/>
<link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div>
<a href="Documentation.html"><img src="VeraCrypt128x128.png" alt="VeraCrypt"/></a>
</div>
<div id="menu">
<ul>
<li><a href="Home.html">Home</a></li>
<li><a href="/code/">Source Code</a></li>
<li><a href="Downloads.html">Downloads</a></li>
<li><a class="active" href="Documentation.html">Documentation</a></li>
<li><a href="Donation.html">Donate</a></li>
<li><a href="https://sourceforge.net/p/veracrypt/discussion/" target="_blank">Forums</a></li>
</ul>
</div>
<div>
<p>
<a href="Documentation.html">Documentation</a>
<img src="arrow_right.gif" alt=">>" style="margin-top: 5px">
<a href="Encryption%20Algorithms.html">Encryption Algorithms</a>
<img src="arrow_right.gif" alt=">>" style="margin-top: 5px">
<a href="Cascades.html">Cascades of ciphers</a>
</p></div>
<div class="wikidoc">
<h1>Cascades of ciphers</h1>
<p>&nbsp;</p>
<h2>AES-Twofish</h2>
<p>Two ciphers in a cascade [15, 16] operating in XTS mode (see the section <a href="Modes%20of%20Operation.html">
<em>Modes of Operation</em></a>). Each 128-bit block is first encrypted with Twofish (256-bit key) in XTS mode and then with AES (256-bit key) in XTS mode. Each of the cascaded ciphers uses its own key. All encryption keys are mutually independent (note that
header keys are independent too, even though they are derived from a single password &ndash; see
<a href="Header Key Derivation.html"><em>Header Key Derivation, Salt, and Iteration Count</em></a>). See above for information on the individual cascaded ciphers.</p>
<h2>AES-Twofish-Serpent</h2>
<p>Three ciphers in a cascade [15, 16] operating in XTS mode (see the section <a href="Modes%20of%20Operation.html">
<em>Modes of Operation</em></a>). Each 128-bit block is first encrypted with Serpent (256-bit key) in XTS mode, then with Twofish (256-bit key) in XTS mode, and finally with AES (256-bit key) in XTS mode. Each of the cascaded ciphers uses its own key. All encryption
keys are mutually independent (note that header keys are independent too, even though they are derived from a single password &ndash; see the section
<a href="Header Key Derivation.html"><em>Header Key Derivation, Salt, and Iteration Count</em></a>). See above for information on the individual cascaded ciphers.</p>
<h2>Camellia-Kuznyechik</h2>
<p>Two ciphers in a cascade [15, 16] operating in XTS mode (see the section <a href="Modes%20of%20Operation.html">
<em>Modes of Operation</em></a>). Each 128-bit block is first encrypted with Kuznyechik (256-bit key) in XTS mode and then with Camellia (256-bit key) in XTS mode. Each of the cascaded ciphers uses its own key. All encryption keys are mutually independent (note that
header keys are independent too, even though they are derived from a single password &ndash; see the section
<a href="Header Key Derivation.html"><em>Header Key Derivation, Salt, and Iteration Count</em></a>). See above for information on the individual cascaded ciphers.</p>
<h2>Camellia-Serpent</h2>
<p>Two ciphers in a cascade [15, 16] operating in XTS mode (see the section <a href="Modes%20of%20Operation.html">
<em>Modes of Operation</em></a>). Each 128-bit block is first encrypted with Serpent (256-bit key) in XTS mode and then with Camellia (256-bit key) in XTS mode. Each of the cascaded ciphers uses its own key. All encryption keys are mutually independent (note that
header keys are independent too, even though they are derived from a single password &ndash; see the section
<a href="Header Key Derivation.html"><em>Header Key Derivation, Salt, and Iteration Count</em></a>). See above for information on the individual cascaded ciphers.</p>
<h2>Kuznyechik-AES</h2>
<p>Two ciphers in a cascade [15, 16] operating in XTS mode (see the section <a href="Modes%20of%20Operation.html">
<em>Modes of Operation</em></a>). Each 128-bit block is first encrypted with AES (256-bit key) in XTS mode and then with Kuznyechik (256-bit key) in XTS mode. Each of the cascaded ciphers uses its own key. All encryption keys are mutually independent (note that
header keys are independent too, even though they are derived from a single password &ndash; see the section
<a href="Header Key Derivation.html"><em>Header Key Derivation, Salt, and Iteration Count</em></a>). See above for information on the individual cascaded ciphers.</p>
<h2>Kuznyechik-Serpent-Camellia</h2>
<p>Three ciphers in a cascade [15, 16] operating in XTS mode (see the section <a href="Modes%20of%20Operation.html">
<em>Modes of Operation</em></a>). Each 128-bit block is first encrypted with Camellia (256-bit key) in XTS mode, then with Serpent (256- bit key) in XTS mode, and finally with Kuznyechik (256-bit key) in XTS mode. Each of the cascaded ciphers uses its own key. All
encryption keys are mutually independent (note that header keys are independent too, even though they are derived from a single password &ndash; see the section
<a href="Header Key Derivation.html"><em>Header Key Derivation, Salt, and Iteration Count</em></a>). See above for information on the individual cascaded ciphers.</p>
<h2>Kuznyechik-Twofish</h2>
<p>Two ciphers in a cascade [15, 16] operating in XTS mode (see the section <a href="Modes%20of%20Operation.html">
<em>Modes of Operation</em></a>). Each 128-bit block is first encrypted with Twofish (256-bit key) in XTS mode and then with Kuznyechik (256-bit key) in XTS mode. Each of the cascaded ciphers uses its own key. All encryption keys are mutually independent (note that
header keys are independent too, even though they are derived from a single password &ndash; see the section
<a href="Header Key Derivation.html"><em>Header Key Derivation, Salt, and Iteration Count</em></a>). See above for information on the individual cascaded ciphers.</p>
<h2>Serpent-AES</h2>
<p>Two ciphers in a cascade [15, 16] operating in XTS mode (see the section <a href="Modes%20of%20Operation.html">
<em>Modes of Operation</em></a>). Each 128-bit block is first encrypted with AES (256-bit key) in XTS mode and then with Serpent (256-bit key) in XTS mode. Each of the cascaded ciphers uses its own key. All encryption keys are mutually independent (note that
header keys are independent too, even though they are derived from a single password &ndash; see the section
<a href="Header Key Derivation.html"><em>Header Key Derivation, Salt, and Iteration Count</em></a>). See above for information on the individual cascaded ciphers.</p>
<h2>Serpent-Twofish-AES</h2>
<p>Three ciphers in a cascade [15, 16] operating in XTS mode (see the section <a href="Modes%20of%20Operation.html">
<em>Modes of Operation</em></a>). Each 128-bit block is first encrypted with AES (256-bit key) in XTS mode, then with Twofish (256- bit key) in XTS mode, and finally with Serpent (256-bit key) in XTS mode. Each of the cascaded ciphers uses its own key. All
encryption keys are mutually independent (note that header keys are independent too, even though they are derived from a single password &ndash; see the section
<a href="Header Key Derivation.html"><em>Header Key Derivation, Salt, and Iteration Count</em></a>). See above for information on the individual cascaded ciphers.</p>
<h2>Twofish-Serpent</h2>
<p>Two ciphers in a cascade [15, 16] operating in XTS mode (see the section <a href="Modes%20of%20Operation.html">
<em>Modes of Operation</em></a>). Each 128-bit block is first encrypted with Serpent (256-bit key) in XTS mode and then with Twofish (256-bit key) in XTS mode. Each of the cascaded ciphers uses its own key. All encryption keys are mutually independent (note
that header keys are independent too, even though they are derived from a single password &ndash; see the section
<a href="Header Key Derivation.html"><em>Header Key Derivation, Salt, and Iteration Count</em></a>). See above for information on the individual cascaded ciphers.</p>
</div>
</body></html>
@@ -0,0 +1,56 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>VeraCrypt - Free Open source disk encryption with strong security for the Paranoid</title>
<meta name="description" content="VeraCrypt is free open-source disk encryption software for Windows, Mac OS X and Linux. In case an attacker forces you to reveal the password, VeraCrypt provides plausible deniability. In contrast to file encryption, data encryption performed by VeraCrypt is real-time (on-the-fly), automatic, transparent, needs very little memory, and does not involve temporary unencrypted files."/>
<meta name="keywords" content="encryption, security"/>
<link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div>
<a href="Documentation.html"><img src="VeraCrypt128x128.png" alt="VeraCrypt"/></a>
</div>
<div id="menu">
<ul>
<li><a href="Home.html">Home</a></li>
<li><a href="/code/">Source Code</a></li>
<li><a href="Downloads.html">Downloads</a></li>
<li><a class="active" href="Documentation.html">Documentation</a></li>
<li><a href="Donation.html">Donate</a></li>
<li><a href="https://sourceforge.net/p/veracrypt/discussion/" target="_blank">Forums</a></li>
</ul>
</div>
<div>
<p>
<a href="Documentation.html">Documentation</a>
<img src="arrow_right.gif" alt=">>" style="margin-top: 5px">
<a href="Security%20Requirements%20and%20Precautions.html">Security Requirements and Precautions</a>
<img src="arrow_right.gif" alt=">>" style="margin-top: 5px">
<a href="Changing%20Passwords%20and%20Keyfiles.html">Changing Passwords and Keyfiles</a>
</p></div>
<div class="wikidoc">
<h1>Changing Passwords and Keyfiles</h1>
<p>Note that the volume header (which is encrypted with a header key derived from a password/keyfile) contains the master key (not to be confused with the password) with which the volume is encrypted. If an adversary is allowed to make a copy of your volume
before you change the volume password and/or keyfile(s), he may be able to use his copy or fragment (the old header) of the VeraCrypt volume to mount your volume using a compromised password and/or compromised keyfiles that were necessary to mount the volume
before you changed the volume password and/or keyfile(s).<br>
<br>
If you are not sure whether an adversary knows your password (or has your keyfiles) and whether he has a copy of your volume when you need to change its password and/or keyfiles, it is strongly recommended that you create a new VeraCrypt volume and move files
from the old volume to the new volume (the new volume will have a different master key).<br>
<br>
Also note that if an adversary knows your password (or has your keyfiles) and has access to your volume, he may be able to retrieve and keep its master key. If he does, he may be able to decrypt your volume even after you change its password and/or keyfile(s)
(because the master key does not change when you change the volume password and/or keyfiles). In such a case, create a new VeraCrypt volume and move all files from the old volume to this new one.<br>
<br>
The following sections of this chapter contain additional information pertaining to possible security issues connected with changing passwords and/or keyfiles:</p>
<ul>
<li><a href="Security%20Requirements%20and%20Precautions.html"><em>Security Requirements and Precautions</em></a>
</li><li><a href="Journaling%20File%20Systems.html"><em>Journaling File Systems</em></a>
</li><li><a href="Defragmenting.html"><em>Defragmenting</em></a>
</li><li><a href="Reallocated%20Sectors.html"><em>Reallocated Sectors</em></a>
</li></ul>
</div><div class="ClearBoth"></div></body></html>
@@ -0,0 +1,51 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>VeraCrypt - Free Open source disk encryption with strong security for the Paranoid</title>
<meta name="description" content="VeraCrypt is free open-source disk encryption software for Windows, Mac OS X and Linux. In case an attacker forces you to reveal the password, VeraCrypt provides plausible deniability. In contrast to file encryption, data encryption performed by VeraCrypt is real-time (on-the-fly), automatic, transparent, needs very little memory, and does not involve temporary unencrypted files."/>
<meta name="keywords" content="encryption, security"/>
<link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div>
<a href="Documentation.html"><img src="VeraCrypt128x128.png" alt="VeraCrypt"/></a>
</div>
<div id="menu">
<ul>
<li><a href="Home.html">Home</a></li>
<li><a href="/code/">Source Code</a></li>
<li><a href="Downloads.html">Downloads</a></li>
<li><a class="active" href="Documentation.html">Documentation</a></li>
<li><a href="Donation.html">Donate</a></li>
<li><a href="https://sourceforge.net/p/veracrypt/discussion/" target="_blank">Forums</a></li>
</ul>
</div>
<div>
<p>
<a href="Documentation.html">Documentation</a>
<img src="arrow_right.gif" alt=">>" style="margin-top: 5px">
<a href="Security%20Requirements%20and%20Precautions.html">Security Requirements and Precautions</a>
<img src="arrow_right.gif" alt=">>" style="margin-top: 5px">
<a href="Choosing%20Passwords%20and%20Keyfiles.html">Choosing Passwords and Keyfiles</a>
</p></div>
<div class="wikidoc">
<div>
<h1>Choosing Passwords and Keyfiles</h1>
<p>It is very important that you choose a good password. You must avoid choosing one that contains only a single word that can be found in a dictionary (or a combination of such words). It must not contain any names, dates of birth, account numbers, or any
other items that could be easy to guess. A good password is a random combination of upper and lower case letters, numbers, and special characters, such as @ ^ = $ * &#43; etc. We strongly recommend choosing a password consisting of more than 20 characters (the
longer, the better). Short passwords are easy to crack using brute-force techniques.<br>
<br>
To make brute-force attacks on a keyfile infeasible, the size of the keyfile must be at least 30 bytes. If a volume uses multiple keyfiles, then at least one of the keyfiles must be 30 bytes in size or larger. Note that the 30-byte limit assumes a large amount
of entropy in the keyfile. If the first 1024 kilobytes of a file contain only a small amount of entropy, it must not be used as a keyfile (regardless of the file size). If you are not sure what entropy means, we recommend that you let VeraCrypt generate a
file with random content and that you use it as a keyfile (select <em>Tools -&gt; Keyfile Generator</em>).</p>
<p>When creating a volume, encrypting a system partition/drive, or changing passwords/keyfiles, you must not allow any third party to choose or modify the password/keyfile(s) before/while the volume is created or the password/keyfiles(s) changed. For example,
you must not use any password generators (whether website applications or locally run programs) where you are not sure that they are high-quality and uncontrolled by an attacker, and keyfiles must not be files that you download from the internet or that are
accessible to other users of the computer (whether they are administrators or not).</p>
</div>
</div><div class="ClearBoth"></div></body></html>
+325
View File
@@ -0,0 +1,325 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>VeraCrypt - Free Open source disk encryption with strong security for the Paranoid</title>
<meta name="description" content="VeraCrypt is free open-source disk encryption software for Windows, Mac OS X and Linux. In case an attacker forces you to reveal the password, VeraCrypt provides plausible deniability. In contrast to file encryption, data encryption performed by VeraCrypt is real-time (on-the-fly), automatic, transparent, needs very little memory, and does not involve temporary unencrypted files."/>
<meta name="keywords" content="encryption, security"/>
<link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div>
<a href="Documentation.html"><img src="VeraCrypt128x128.png" alt="VeraCrypt"/></a>
</div>
<div id="menu">
<ul>
<li><a href="Home.html">Home</a></li>
<li><a href="/code/">Source Code</a></li>
<li><a href="Downloads.html">Downloads</a></li>
<li><a class="active" href="Documentation.html">Documentation</a></li>
<li><a href="Donation.html">Donate</a></li>
<li><a href="https://sourceforge.net/p/veracrypt/discussion/" target="_blank">Forums</a></li>
</ul>
</div>
<div>
<p>
<a href="Documentation.html">Documentation</a>
<img src="arrow_right.gif" alt=">>" style="margin-top: 5px">
<a href="Command%20Line%20Usage.html">Command Line Usage</a>
</p></div>
<div class="wikidoc">
<div>
<h1>Command Line Usage</h1>
<p>Note that this section applies to the Windows version of VeraCrypt. For information on command line usage applying to the
<strong>Linux and Mac OS X versions</strong>, please run: veracrypt &ndash;h</p>
<table border="1" cellspacing="0" cellpadding="1">
<tbody>
<tr>
<td><em>/help</em> or <em>/?</em></td>
<td>Display command line help.</td>
</tr>
<tr>
<td><em>/truecrypt or /tc</em></td>
<td>Activate TrueCrypt compatibility mode which enables mounting volumes created with TrueCrypt 6.x and 7.x series.</td>
</tr>
<tr>
<td><em>/hash</em></td>
<td>It must be followed by a parameter indicating the PRF hash algorithm to use when mounting the volume. Possible values for /hash parameter are: sha256, sha-256, sha512, sha-512, whirlpool, blake2s and blake2s-256. When /hash is omitted, VeraCrypt will try
all possible PRF algorithms thus lengthening the mount operation time.</td>
</tr>
<tr>
<td id="volume"><em>/volume</em> or <em>/v</em></td>
<td>
<p>It must be followed by a parameter indicating the file and path name of a VeraCrypt volume to mount (do not use when dismounting) or the Volume ID of the disk/partition to mount.<br>
The syntax of the volume ID is <strong>ID:XXXXXX...XX</strong> where the XX part is a 64 hexadecimal characters string that represent the 32-Bytes ID of the desired volume to mount.<br>
<br>
To mount a partition/device-hosted volume, use, for example, /v \Device\Harddisk1\Partition3 (to determine the path to a partition/device, run VeraCrypt and click
<em>Select Device</em>). You can also mount a partition or dynamic volume using its volume name (for example, /v \\?\Volume{5cceb196-48bf-46ab-ad00-70965512253a}\). To determine the volume name use e.g. mountvol.exe. Also note that device paths are case-sensitive.<br>
<br>
You can also specify the Volume ID of the partition/device-hosted volume to mount, for example: /v ID:53B9A8D59CC84264004DA8728FC8F3E2EE6C130145ABD3835695C29FD601EDCA. The Volume ID value can be retrieved using the volume properties dialog.</p>
</td>
</tr>
<tr>
<td><em>/letter</em> or <em>/l</em></td>
<td>It must be followed by a parameter indicating the driver letter to mount the volume as. When /l is omitted and when /a is used, the first free drive letter is used.</td>
</tr>
<tr>
<td><em>/explore</em> or <em>/e</em></td>
<td>Open an Explorer window after a volume has been mounted.</td>
</tr>
<tr>
<td><em>/beep</em> or <em>/b</em></td>
<td>Beep after a volume has been successfully mounted or dismounted.</td>
</tr>
<tr>
<td><em>/auto</em> or <em>/a</em></td>
<td>If no parameter is specified, automatically mount the volume. If devices is specified as the parameter (e.g., /a devices), auto-mount all currently accessible device/partition-hosted VeraCrypt volumes. If favorites is specified as the parameter, auto-mount
favorite volumes. Note that /auto is implicit if /quit and /volume are specified. If you need to prevent the application window from appearing, use /quit.</td>
</tr>
<tr>
<td><em>/dismount</em> or <em>/d</em></td>
<td>Dismount volume specified by drive letter (e.g., /d x). When no drive letter is specified, dismounts all currently mounted VeraCrypt volumes.</td>
</tr>
<tr>
<td><em>/force</em> or <em>/f</em></td>
<td>Forces dismount (if the volume to be dismounted contains files being used by the system or an application) and forces mounting in shared mode (i.e., without exclusive access).</td>
</tr>
<tr>
<td><em>/keyfile</em> or <em>/k</em></td>
<td>It must be followed by a parameter specifying a keyfile or a keyfile search path. For multiple keyfiles, specify e.g.: /k c:\keyfile1.dat /k d:\KeyfileFolder /k c:\kf2 To specify a keyfile stored on a security token or smart card, use the following syntax:
token://slot/SLOT_NUMBER/file/FILE_NAME</td>
</tr>
<tr id="tryemptypass">
<td><em>/tryemptypass&nbsp;&nbsp; </em></td>
<td>ONLY when default keyfile configured or when a keyfile is specified in the command line.<br>
If it is followed by <strong>y</strong> or <strong>yes</strong> or if no parameter is specified: try to mount using an empty password and the keyfile before displaying password prompt.<br>
if it is followed by <strong>n </strong>or<strong> no</strong>: don't try to mount using an empty password and the keyfile, and display password prompt right away.</td>
</tr>
<tr>
<td><em>/nowaitdlg</em></td>
<td>If it is followed by <strong>y</strong> or <strong>yes</strong> or if no parameter is specified: don&rsquo;t display the waiting dialog while performing operations like mounting volumes.<br>
If it is followed by <strong>n</strong> or <strong>no</strong>: force the display waiting dialog is displayed while performing operations.</td>
</tr>
<tr>
<td><em>/secureDesktop</em></td>
<td>If it is followed by <strong>y</strong> or <strong>yes</strong> or if no parameter is specified: display password dialog and token PIN dialog in a dedicated secure desktop to protect against certain types of attacks.<br>
If it is followed by <strong>n</strong> or <strong>no</strong>: the password dialog and token PIN dialog are displayed in the normal desktop.</td>
</tr>
<tr>
<td><em>/tokenlib</em></td>
<td>It must be followed by a parameter indicating the PKCS #11 library to use for security tokens and smart cards. (e.g.: /tokenlib c:\pkcs11lib.dll)</td>
</tr>
<tr>
<td><em>/tokenpin</em></td>
<td>It must be followed by a parameter indicating the PIN to use in order to authenticate to the security token or smart card (e.g.: /tokenpin 0000). Warning: This method of entering a smart card PIN may be insecure, for example, when an unencrypted command
prompt history log is being saved to unencrypted disk.</td>
</tr>
<tr>
<td><em>/cache</em> or <em>/c</em></td>
<td>If it is followed by <strong>y</strong> or <strong>yes</strong> or if no parameter is specified: enable password cache;
<br>
If it is followed by <strong>p </strong>or<strong> pim</strong>: enable both password and PIM cache (e.g., /c p).<br>
If it is followed by <strong>n </strong>or<strong> no</strong>: disable password cache (e.g., /c n).<br>
If it is followed by <strong>f </strong>or<strong> favorites</strong>: temporary cache password when mounting multiple favorites&nbsp; (e.g., /c f).<br>
Note that turning the password cache off will not clear it (use /w to clear the password cache).</td>
</tr>
<tr>
<td><em>/history</em> or <em>/h</em></td>
<td>If it is followed by <strong>y</strong> or no parameter: enables saving history of mounted volumes; if it is followed by
<strong>n</strong>: disables saving history of mounted volumes (e.g., /h n).</td>
</tr>
<tr>
<td><em>/wipecache</em> or <em>/w</em></td>
<td>Wipes any passwords cached in the driver memory.</td>
</tr>
<tr>
<td><em>/password</em> or <em>/p</em></td>
<td>It must be followed by a parameter indicating the volume password. If the password contains spaces, it must be enclosed in quotation marks (e.g., /p &rdquo;My Password&rdquo;). Use /p &rdquo;&rdquo; to specify an empty password.
<em>Warning: This method of entering a volume password may be insecure, for example, when an unencrypted command prompt history log is being saved to unencrypted disk.</em></td>
</tr>
<tr>
<td><em>/pim</em></td>
<td>It must be followed by a positive integer indicating the PIM (Personal Iterations Multiplier) to use for the volume.</td>
</tr>
<tr>
<td><em>/quit</em> or <em>/q</em></td>
<td>Automatically perform requested actions and exit (main VeraCrypt window will not be displayed). If preferences is specified as the parameter (e.g., /q preferences), then program settings are loaded/saved and they override settings specified on the command
line. /q background launches the VeraCrypt Background Task (tray icon) unless it is disabled in the Preferences.</td>
</tr>
<tr>
<td><em>/silent</em> or <em>/s</em></td>
<td>If /q is specified, suppresses interaction with the user (prompts, error messages, warnings, etc.). If /q is not specified, this option has no effect.</td>
</tr>
<tr>
<td><em>/mountoption</em> or <em>/m</em></td>
<td>
<p>It must be followed by a parameter which can have one of the values indicated below.</p>
<p><strong>ro</strong> or<strong> readonly</strong>: Mount volume as read-only.</p>
<p><strong>rm</strong> or <strong>removable</strong>: Mount volume as removable medium (see section
<a href="Removable%20Medium%20Volume.html">
<em>Volume Mounted as Removable Medium</em></a>).</p>
<p><strong>ts</strong> or <strong>timestamp</strong>: Do not preserve container modification timestamp.</p>
<p><strong>sm</strong> or <strong>system</strong>: Without pre-boot authentication, mount a partition that is within the key scope of system encryption (for example, a partition located on the encrypted system drive of another operating system that is not running).
Useful e.g. for backup or repair operations. Note: If you supply a password as a parameter of /p, make sure that the password has been typed using the standard US keyboard layout (in contrast, the GUI ensures this automatically). This is required due to the
fact that the password needs to be typed in the pre-boot environment (before Windows starts) where non-US Windows keyboard layouts are not available.</p>
<p><strong>bk</strong> or <strong>headerbak</strong>: Mount volume using embedded backup header. Note: All volumes created by VeraCrypt contain an embedded backup header (located at the end of the volume).</p>
<p><strong>recovery</strong>: Do not verify any checksums stored in the volume header. This option should be used only when the volume header is damaged and the volume cannot be mounted even with the mount option headerbak. Example: /m ro</p>
<p><strong>label=LabelValue</strong>: Use the given string value <strong>LabelValue</strong> as a label of the mounted volume in Windows Explorer. The maximum length for
<strong>LabelValue&nbsp;</strong> is 32 characters for NTFS volumes and 11 characters for FAT volumes. For example,
<em>/m label=MyDrive</em> will set the label of the drive in Explorer to <em>MyDrive</em>.</p>
<p><strong>noattach</strong>: Only create virtual device without actually attaching the mounted volume to the selected drive letter.</p>
<p>Please note that this switch may be present several times in the command line in order to specify multiple mount options (e.g.: /m rm /m ts)</p>
</td>
</tr>
<tr>
<td><em>/DisableDeviceUpdate</em>&nbsp;</td>
<td>Disables periodic internel check on devices connected to the system that is used for handling favorites identified with VolumeID and replace it with on-demande checks.</td>
</tr>
<tr>
<td><em>/protectMemory</em>&nbsp;</td>
<td>Activates a mechanism that protects VeraCrypt process memory from being accessed by other non-admin processes.</td>
</tr>
<tr>
<td><em>/signalExit</em>&nbsp;</td>
<td>It must be followed by a parameter specifying the name of the signal to send to unblock a waiting <a href="https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/waitfor" target="_blank">WAITFOR.EXE</a> command when VeraCrypt exists.<br>
The name of signal must be the same as the one specified to WAITFOR.EXE command (e.g."veracrypt.exe /q /v test.hc /l Z /signal SigName" followed by "waitfor.exe SigName"<br>
This switch is ignored if /q is not specified</td>
</tr>
</tbody>
</table>
<h4>VeraCrypt Format.exe (VeraCrypt Volume Creation Wizard):</h4>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>/create</td>
<td>Create a container based volume in command line mode. It must be followed by the file name of the container to be created.</td>
</tr>
<tr>
<td>/size</td>
<td>
<p>(Only with /create)<br>
It must be followed by a parameter indicating the size of the container file that will be created. This parameter is a number indicating the size in Bytes. It can have a suffixe 'K', 'M', 'G' or 'T' to indicate that the value is in Kilobytes, Megabytes, Gigabytes
or Terabytes respectively. For example:</p>
<ul>
<li>/size 5000000: the container size will be 5000000 bytes </li><li>/size 25K: the container size will be 25 KiloBytes. </li><li>/size 100M: the container size will be 100 MegaBytes. </li><li>/size 2G: the container size will be 2 GigaBytes. </li><li>/size 1T: the container size will be 1 TeraBytes. </li></ul>
</td>
</tr>
<tr>
<td>&nbsp;/password</td>
<td>&nbsp;(Only with /create)<br>
It must be followed by a parameter indicating the password of the container that will be created.</td>
</tr>
<tr>
<td>&nbsp;/keyfile or /k</td>
<td>&nbsp;(Only with /create)<br>
It must be followed by a parameter specifying a keyfile or a keyfile search path. For multiple keyfiles, specify e.g.: /k c:\keyfile1.dat /k d:\KeyfileFolder /k c:\kf2 To specify a keyfile stored on a security token or smart card, use the following syntax:
token://slot/SLOT_NUMBER/file/FILE_NAME</td>
</tr>
<tr>
<td><em>/tokenlib</em></td>
<td>&nbsp;(Only with /create)<br>
It must be followed by a parameter indicating the PKCS #11 library to use for security tokens and smart cards. (e.g.: /tokenlib c:\pkcs11lib.dll)</td>
</tr>
<tr>
<td><em>/tokenpin</em></td>
<td>&nbsp;(Only with /create)<br>
It must be followed by a parameter indicating the PIN to use in order to authenticate to the security token or smart card (e.g.: /tokenpin 0000). Warning: This method of entering a smart card PIN may be insecure, for example, when an unencrypted command
prompt history log is being saved to unencrypted disk.</td>
</tr>
<tr>
<td>&nbsp;<em>/hash</em></td>
<td>(Only with /create)<br>
It must be followed by a parameter indicating the PRF hash algorithm to use when creating the volume. It has the same syntax as VeraCrypt.exe.</td>
</tr>
<tr>
<td>/encryption</td>
<td>(Only with /create)<br>
It must be followed by a parameter indicating the encryption algorithm to use. The default is AES if this switch is not specified. The parameter can have the following values (case insensitive):
<ul>
<li>AES </li><li>Serpent </li><li>Twofish </li><li>Camellia </li><li>Kuznyechik </li><li>AES(Twofish) </li><li>AES(Twofish(Serpent)) </li><li>Serpent(AES) </li><li>Serpent(Twofish(AES)) </li><li>Twofish(Serpent) </li>
<li>Camellia(Kuznyechik) </li>
<li>Kuznyechik(Twofish) </li>
<li>Camellia(Serpent) </li>
<li>Kuznyechik(AES) </li>
<li>Kuznyechik(Serpent(Camellia)) </li>
</ul>
</td>
</tr>
<tr>
<td>/filesystem</td>
<td>(Only with /create)<br>
It must be followed by a parameter indicating the file system to use for the volume. The parameter can have the following values:
<ul>
<li>None: don't use any filesystem </li><li>FAT: format using FAT/FAT32 </li><li>NTFS: format using NTFS. Please note that in this case a UAC prompt will be displayed unless the process is run with full administrative privileges.
</li>
<li>ExFAT: format using ExFAT. This switch is available starting from Windows Vista SP1 </li>
<li>ReFS: format using ReFS. This switch is available starting from Windows 10 </li>
</ul>
</td>
</tr>
<tr>
<td>/dynamic</td>
<td>(Only with /create)<br>
It has no parameters and it indicates that the volume will be created as a dynamic volume.</td>
</tr>
<tr>
<td>/force</td>
<td>(Only with /create)<br>
It has no parameters and it indicates that overwrite will be forced without requiring user confirmation.</td>
</tr>
<tr>
<td>/silent</td>
<td>(Only with /create)<br>
It has no parameters and it indicates that no message box or dialog will be displayed to the user. If there is any error, the operation will fail silently.</td>
</tr>
<tr>
<td><em>/noisocheck</em> or <em>/n</em></td>
<td>Do not verify that VeraCrypt Rescue Disks are correctly burned. <strong>WARNING</strong>: Never attempt to use this option to facilitate the reuse of a previously created VeraCrypt Rescue Disk. Note that every time you encrypt a system partition/drive,
you must create a new VeraCrypt Rescue Disk even if you use the same password. A previously created VeraCrypt Rescue Disk cannot be reused as it was created for a different master key.</td>
</tr>
<tr>
<td>/nosizecheck</td>
<td>Don't check that the given size of the file container is smaller than the available disk free. This applies to both UI and command line.</td>
</tr>
<tr>
<td>/quick</td>
<td>Perform quick formatting of volumes instead of full formatting. This applies to both UI and command line.</td>
</tr>
<tr>
<td>/FastCreateFile</td>
<td>Enables a faster, albeit potentially insecure, method for creating file containers. This option carries security risks as it can embed existing disk content into the file container, possibly exposing sensitive data if an attacker gains access to it. Note that this switch affects all file container creation methods, whether initiated from the command line, using the /create switch, or through the UI wizard.</td>
</tr>
<tr>
<td><em>/protectMemory</em>&nbsp;</td>
<td>Activates a mechanism that protects VeraCrypt Format process memory from being accessed by other non-admin processes.</td>
</tr>
<tr>
<td><em>/secureDesktop</em></td>
<td>If it is followed by <strong>y</strong> or <strong>yes</strong> or if no parameter is specified: display password dialog and token PIN dialog in a dedicated secure desktop to protect against certain types of attacks.<br>
If it is followed by <strong>n</strong> or <strong>no</strong>: the password dialog and token PIN dialog are displayed in the normal desktop.</td>
</tr>
</tbody>
</table>
<h4>Syntax</h4>
<p>VeraCrypt.exe [/tc] [/hash {sha256|sha-256|sha512|sha-512|whirlpool |blake2s|blake2s-256}][/a [devices|favorites]] [/b] [/c [y|n|f]] [/d [drive letter]] [/e] [/f] [/h [y|n]] [/k keyfile or search path] [tryemptypass [y|n]] [/l drive letter] [/m {bk|rm|recovery|ro|sm|ts|noattach}]
[/p password] [/pim pimvalue] [/q [background|preferences]] [/s] [/tokenlib path] [/v volume] [/w]</p>
<p>&quot;VeraCrypt Format.exe&quot; [/n] [/create] [/size number[{K|M|G|T}]] [/p password]&nbsp; [/encryption {AES | Serpent | Twofish | Camellia | Kuznyechik | AES(Twofish) | AES(Twofish(Serpent)) | Serpent(AES) | Serpent(Twofish(AES)) | Twofish(Serpent) | Camellia(Kuznyechik) | Kuznyechik(Twofish) | Camellia(Serpent) | Kuznyechik(AES) | Kuznyechik(Serpent(Camellia))}] [/hash {sha256|sha-256|sha512|sha-512|whirlpool|blake2s|blake2s-256}]
[/filesystem {None|FAT|NTFS|ExFAT|ReFS}] [/dynamic] [/force] [/silent] [/noisocheck] [FastCreateFile] [/quick]</p>
<p>Note that the order in which options are specified does not matter.</p>
<h4>Examples</h4>
<p>Mount the volume <em>d:\myvolume</em> as the first free drive letter, using the password prompt (the main program window will not be displayed):</p>
<p>veracrypt /q /v d:\myvolume</p>
<p>Dismount a volume mounted as the drive letter <em>X</em> (the main program window will not be displayed):</p>
<p>veracrypt /q /d x</p>
<p>Mount a volume called <em>myvolume.tc</em> using the password <em>MyPassword</em>, as the drive letter
<em>X</em>. VeraCrypt will open an explorer window and beep; mounting will be automatic:</p>
<p>veracrypt /v myvolume.tc /l x /a /p MyPassword /e /b</p>
<p>Create a 10 MB file container using the password <em>test</em> and formatted using FAT:</p>
<p><code>&quot;C:\Program Files\VeraCrypt\VeraCrypt Format.exe&quot; /create c:\Data\test.hc /password test /hash sha512 /encryption serpent /filesystem FAT /size 10M /force</code></p>
</div>
</div><div class="ClearBoth"></div></body></html>

Some files were not shown because too many files have changed in this diff Show More