Compare commits

..
Author SHA1 Message Date
Mounir IDRASSI 960f5993b2 macOS: prepare APFS formatter device aliases
When creating an APFS filesystem inside a newly created device-hosted volume, VeraCrypt prepared only the raw hdiutil device path before invoking newfs_apfs. On macOS, newfs_apfs may resolve or reopen the corresponding block device path, which can fail with Permission denied for non-root GUI runs.

Prepare both raw and block aliases for the temporary formatter device, restore changed owners afterward, and share the helper between GUI and text-mode volume creation. Restore each changed alias independently so one restore failure does not skip the rest.
2026-05-13 14:39:06 +09:00
Mounir IDRASSI 46744db44f macOS: allow overriding deployment target
Add a -t option to build_veracrypt_macosx.sh so VC_OSX_TARGET can be set explicitly while preserving the existing defaults for source and Homebrew builds.

Fixes #1726.
2026-05-12 15:05:28 +02:00
Mounir IDRASSI a8a10b80eb macOS: Link against wxWidgets 3.2.10 2026-05-12 20:25:07 +09:00
Marius KjærstadandGitHub dd22f60bcd Update Norwegian Bokmål translation (#1724)
* Update Norwegian Bokmål translation

* Corrected: Resume Interrupted Process
2026-05-12 20:22:14 +09:00
MatthaiksandGitHub f73380bdb6 Update Polish translation (#1725)
* Update Polish translation

* Update Polish translation
2026-05-12 14:35:14 +09:00
Mounir IDRASSI c2ba9b5333 Translations: add macOS device validation strings
Move the new English entries to the end of Language.xml and add English fallback entries to all tracked translation XML files.
2026-05-11 23:59:09 +09:00
Mounir IDRASSIandMounir IDRASSI 49c8fd3680 macOS: validate format wizard device targets
Keep device selection enumeration unchanged to avoid slow dialog loads.

In the format wizard, inspect only the selected target with diskutil info -plist and reject APFS synthesized devices, macOS system/support targets, read-only targets, and current APFS system stores. Add a read-only APFS hint for creation failures.
2026-05-11 23:47:20 +09:00
Mounir IDRASSI e6247fbf2a Windows: avoid duplicate tray notifications
Remove the duplicate Shell_NotifyIconW(NIM_MODIFY) call from the tray balloon helper. On Windows 11, the shell can queue the repeated NIF_INFO request and show the same unmount notification twice.

Fixes #1630
2026-05-11 11:28:56 +09:00
Mounir IDRASSI 404d72de2e Windows: Update LZMA SDK to version 26.01 2026-05-11 11:11:41 +09:00
TigerxWoodandGitHub 83d1cdb33b Update Language.ro_1.26.28.xml (#1721)
* Update Language.ro_1.26.28.xml

* Update Language.ro_1.26.28.xml

I corrected the signaled problems, where was the case and where I did not it was because of misinterpretation of AI.

* Update Language.ro_1.26.28.xml

Final version, for now.

* Update Language.ro_1.26.28.xml

Corrected PIM_ARGON2_SMALL_WARNING
2026-05-11 10:55:23 +09:00
Marius KjærstadandGitHub 4b88b33c65 Update Norwegian Bokmål translation (#1722) 2026-05-10 13:17:01 +09:00
504c94f12c Fix Off-By-One Stack Buffer Overflows in XML Parser (#1717)
* Off-By-One Null Byte Fix

* Add XML parser tests and improve XmlGetAttributeText handling

* Refactor XML testing: integrate XmlTest into AutoTestAlgorithms, add sentinel test for XmlGetNodeText insuficient output size.

* Remove no-op Tests.c change

---------

Co-authored-by: Mounir IDRASSI <mounir.idrassi@amcrypto.jp>
2026-05-10 10:41:10 +09:00
PatriccolluandGitHub 9934f01d3d Update Corsican translation on 2026-05 (2nd) (#1720) 2026-05-10 10:40:59 +09:00
Mounir IDRASSI f6dcfa2b64 Harden TLV parser bounds checks
Reject empty or truncated TLV buffers, unsupported indefinite lengths, and declared value lengths that exceed the remaining input or uint16 node storage. Parse BER long-form lengths in big-endian order before copying value bytes.
2026-05-09 22:54:47 +09:00
Thomas De RockerandGitHub 6456856626 Update Language.nl.xml (#1718)
* Update Language.nl.xml

* Update Language.nl.xml
2026-05-08 23:28:52 +09:00
Marius KjærstadandGitHub 47605509eb Update Norwegian Bokmål translation (#1716) 2026-05-05 15:52:32 +09:00
Mr-UpdateandGitHub b27ad18e93 Update Language.de.xml (#1715) 2026-05-05 06:54:46 +09:00
MatthaiksandGitHub 107cb376cb Update Polish translation (#1713) 2026-05-04 07:33:18 +09:00
Marius KjærstadandGitHub 23aae844de Update Norwegian Bokmål translation (#1712) 2026-05-04 06:40:19 +09:00
nkh0472andGitHub f022ce2111 Translate English entries to Chinese in XML (#1711) 2026-05-04 06:38:52 +09:00
Mounir IDRASSI f8837090b8 Linux/macOS: show volume creation finalization stages
Report explicit progress stages while writing volume data, writing backup headers, and flushing data to disk so the wizard does not appear stuck at 100%.

Keep the wizard in progress during Unix post-creation formatting and show status for temporary mount/device setup, mkfs invocation, and dismount.
2026-05-03 11:26:20 +09:00
8b80e2fc61 Update Russian translation for ntfs3 preference (#1704)
* Update Russian translation for ntfs3 preference

* Address Russian ntfs3 translation feedback

---------

Co-authored-by: Mamontov <“mammmoth@list.ru”>
2026-05-03 09:41:01 +09:00
Marius KjærstadandGitHub b9c22e3f05 New translations to Language.nb.xml (#1710) 2026-05-02 17:21:59 +02:00
MatthaiksandGitHub 6e2cc3a3cd Update Polish translation (#1709) 2026-05-02 17:21:22 +02:00
6582c80629 Update Corsican translation on 2026-05 (#1708)
Co-authored-by: Mounir IDRASSI <mounir.idrassi@amcrypto.jp>
2026-05-02 23:30:43 +09:00
Mounir IDRASSI abd089140b Linux: add emergency cleanup for stale unmounts
When normal filesystem unmount fails, the Linux path could stop before cleaning VeraCrypt mapper, loop and FUSE objects. Add an explicit emergency dismount request that is only reached after interactive confirmation.

The recovery path lazy-detaches mounted filesystems, uses deferred dmsetup removal for VeraCrypt mapper devices, detaches loop devices, and keeps normal force/ignoreOpenFiles behavior unchanged.
2026-05-02 23:03:29 +09:00
Marius KjærstadandGitHub 338fedc56c Fix whitespace issues in translation files (#1707) 2026-05-02 10:32:52 +09:00
Marius KjærstadandGitHub f8f4b64d73 Increment version to 1.26.28 in Language.nl.xml (#1705)
Increment version to 1.26.28 in Language.nl.xml as well.
2026-05-01 09:00:05 +09:00
Mounir IDRASSI b6744b8ed5 Increment version to 1.26.28 2026-04-30 13:39:51 +09:00
Marius KjærstadandGitHub 97a0817497 New update to Language.nb.xml (#1703) 2026-04-29 21:45:51 +09:00
Mounir IDRASSI b88b9bf76d Language files: regroup newly added entries at the bottom for easy tracking 2026-04-29 16:37:32 +09:00
Mounir IDRASSI baee91f3ef Translations: Fix lang field of untranslated newly added language files entries 2026-04-29 16:16:00 +09:00
MatthaiksandGitHub 253879517a Update Polish translation (#1702) 2026-04-29 15:53:33 +09:00
Marius KjærstadandGitHub 464314190d Update Language.nb.xml (#1701)
* Update Language.nb.xml

* Some AI issues
2026-04-29 11:57:47 +09:00
771acf5951 Linux: allow mounting NTFS volumes with ntfs3 (#1695)
* Linux: allow mounting volumes with ntfs3

* Linux: add ntfs3 preference for NTFS mounts

* Linux: wrap ntfs3 preference help text

* Add Linux ntfs3 mount preference

* Remove Russian translation changes from ntfs3 PR

* XML Translations: Add English fallback entries for ntfs3 preference

---------

Co-authored-by: Mounir IDRASSI <mounir.idrassi@amcrypto.jp>
2026-04-29 10:11:22 +09:00
nkh0472andGitHub 1b6f2690db Update Language.zh-cn.xml (#1694) 2026-04-27 22:14:32 +09:00
Marius KjærstadandGitHub 361853c0e4 Some minor fixes to Norwegian Bokmål translation (#1699)
Some minor fixes to Norwegian Bokmål translation
2026-04-27 20:41:01 +09:00
Marius KjærstadandGitHub 2b9223be51 Update Norwegian Bokmål translation (#1697)
Update Norwegian Bokmål translation
2026-04-27 09:05:29 +09:00
MatthaiksandGitHub c480eec8e5 Update Polish translation (#1696) 2026-04-26 21:49:33 +09:00
Mounir IDRASSI a9b1d5ce57 Windows: Harden Windows driver input validation
Validate SecRegion password cache offsets before use.
Wipe decrypted SecRegion password-cache data even when cache validation fails.
Clamp encrypted I/O work item counts and check allocation sizing.
Reject invalid boot drive sector writes and initialize decoy wipe data unit.
Validate hidden-system boot offsets and remap arithmetic before use.
2026-04-26 18:42:26 +09:00
Mounir IDRASSI d841ac63e4 Windows: allow EFI repair to finalize stuck decryption 2026-04-26 18:36:54 +09:00
Mounir IDRASSI e0555e14f0 Windows: detect VeraCrypt loader before Windows loader 2026-04-26 18:36:26 +09:00
Mounir IDRASSI df4e755112 Windows: verify EFI loader restoration
Verify restored EFI Microsoft and fallback boot loader paths after system decryption.

Show clearer recovery guidance when EFI file restoration or NVRAM cleanup remains incomplete.

Add a GPT-only EFI boot loader repair menu action for already decrypted systems.
2026-04-26 16:47:04 +09:00
Mounir IDRASSI 4fedeb461e Docs: add Unix command line usage page 2026-04-25 23:41:35 +09:00
Mounir IDRASSI 3c1beb1863 docs: document Linux noatime mount option 2026-04-25 11:55:22 +09:00
Mr-UpdateandGitHub e6771478f4 Update Language.de.xml (#1692)
- Translation completed
2026-04-25 10:37:01 +09:00
Thomas De RockerandGitHub 2cbfd44df7 Update Dutch translations (#1691)
* Update Language.nl.xml

* Update Language.nl.xml
2026-04-24 18:22:48 +09:00
NickandGitHub 401be81a5c Update Swedish translation (#1688)
* Update Swedish translation

* Update Language.sv.xml
2026-04-24 07:01:59 +09:00
e7188c96a4 Fix undefined behavior in StartElevated stderr read loop (#1550) (#1687)
The read loop that captures stderr from the sudo child process used
`vector<char> buffer(4096); buffer.clear();` followed by
`read(fd, &buffer[0], buffer.capacity())`. This has two instances of
undefined behavior:

1. `operator[](0)` on a vector with `size() == 0` violates the C++
   standard precondition `n < size()`. libstdc++ built with
   `-D_GLIBCXX_ASSERTIONS` aborts the process with:

     stl_vector.h:1128: Assertion '__n < this->size()' failed.

2. `buffer.begin() + bytesRead` on the same empty vector constructs
   an iterator past `end()`, also UB.

`-D_GLIBCXX_ASSERTIONS` is in the default build flags of Arch Linux,
Fedora, and several other distributions. On those systems, the
unprivileged helper process aborts as soon as sudo writes anything
to stderr (a password prompt, a 'user is not in the sudoers file'
error, etc.). The main process then sees EOF on the service output
pipe, and throws `InsufficientData`, which renders to the user as
'Not enough data available'. A second mount attempt fails at
`File::Write` because the helper is dead and the pipe is broken,
producing the bare message 'VeraCrypt::File::Write:395'.

Fix by replacing `buffer` with a plain `char[4096]` and using
`reserve(4096)` on `errOutput` to preserve the original
pre-allocation intent. No behavioral change on systems where the UB
happened to work; aborts are eliminated on systems where the
assertions fire.

Reported-by: multiple users, see veracrypt/VeraCrypt#1550,
              veracrypt/VeraCrypt#1446, veracrypt/VeraCrypt#844

Co-authored-by: rabbit <rabbit@github>
2026-04-23 21:03:20 +09:00
Mounir IDRASSI 357ce6bd7a macOS: harden FUSE-T SMB metadata handling
Increase advertised metadata file size, broaden hdiutil path normalization, and make auxiliary device info updates atomic.
2026-04-22 23:20:25 +09:00
Mounir IDRASSIandMounir IDRASSI deb7f55bfb macOS: stabilize FUSE-T SMB mount metadata
Make /aux-device-info readable for SMB, verify that FUSE records hdiutil device info after mount and recover missing virtual devices from hdiutil before dismounting auxiliary mounts.
2026-04-22 16:32:10 +09:00
Mounir IDRASSI 4271b8e6f5 macOS: stabilize FUSE-T SMB auxiliary mounts
Add statfs metadata for the auxiliary FUSE mount, keep /control read-only by sending hdiutil device data through /aux-device-info and tolerate delayed SMB rediscovery during mount completion. Log final control-file retry failures for diagnostics.
2026-04-22 14:37:57 +09:00
Mounir IDRASSI 7cd062c42e Windows: honor EFI boot menu options in PostOOBE repair
Use the same SystemFavorites service flag mapping for /PostOOBE bootloader repair as the non-forced service update path. This prevents Windows upgrade repair from adding VeraCrypt to BootOrder or forcing it first when those actions are disabled, while forced updates keep their previous behavior and still repair the loader.
2026-04-21 12:16:33 +09:00
MatthaiksandGitHub ec36ec559d Update Polish translation (#1685) 2026-04-21 09:12:48 +09:00
Mounir IDRASSI 49c68ea1ab Windows: handle Argon2 derivation failures 2026-04-20 19:49:45 +09:00
Mounir IDRASSI e59eb421fb Linux/macOS: Implement missing Argon2 KDF support on Unix 2026-04-19 17:52:44 +09:00
Mounir IDRASSI e07bd19f20 Windows: Validate PIM on KDF-only password changes 2026-04-19 17:51:02 +09:00
Mounir IDRASSI e6adb96b15 Windows: fix favorite volume mount race
Copy selected favorite volumes into mount thread parameters so background mounting does not depend on mutable global vector storage. Also avoid unnecessary FavoriteVolume copies in auto-mount paths and fix mount-on-arrival state updates.

Refs #1661
2026-04-18 15:34:38 +09:00
Mounir IDRASSI da2198831f Windows bootloader: Add EFI DCS guard for Argon2 support
We don't support yet Argon2 for EFI booloader build
2026-04-17 16:03:42 +09:00
Marius KjærstadandGitHub 9ae7cb1914 Added line break between AM Crypto and IDRIX (#1679)
Added line break between AM Crypto and IDRIX
2026-04-17 09:02:12 +09:00
audriusbuikaandGitHub 4fea6403ce Windows: Fix elevated COM format drive validation and device path normalization (#1670)
* Windows: Add input validation whitelists to elevated COM methods

* Windows: Add drive number validation to FormatNtfs and FormatFs COM methods

* Windows: Fix correctness regressions in elevated COM format and device path validation

* Windows: Revert unready COM input validation; keep FormatNtfs/FormatFs return fix
2026-04-16 10:31:02 +09:00
Mounir IDRASSI 3e9c47d256 Linux/macOS: collect mouse entropy from nested controls
wxWidgets does not propagate mouse motion events from child controls to parent windows. The Linux/macOS GUI was binding the random-pool mouse handlers only to the dialog/page and its direct children, which left nested controls such as static-box contents and the wizard image as dead zones.

Add a reusable recursive child-window event binder and use it in the keyfile generator, random pool enrichment dialog, and volume creation wizard. The root windows keep their existing generated bindings, while descendants are bound explicitly, avoiding duplicate handling on the root while covering all nested controls.

This makes the entropy gauge and the random pool update consistently no matter where the pointer moves inside the affected windows.

Fixes #1656.
2026-04-15 16:38:08 +09:00
Mounir IDRASSI 631d0cc420 Build: fix macOS text self-test with wxWidgets 3.3.2 2026-04-15 14:58:43 +09:00
Mounir IDRASSI 5055382f08 macOS: fix macOS local arm64 build affecting Volume archive
Local macOS builds disable universal binaries. On Apple Silicon, that means
the regular objects are built for arm64 only, but Volume.make still selected
the macOS assembly bundle. Several of those assembly outputs are x86_64 only,
which makes ranlib reject Volume.a because it contains mixed cputypes.

Make local arm64 macOS builds use the existing arm64 crypto object path and
have the macOS build wrapper export CPU_ARCH/COMPILE_ASM consistently for
local builds.
2026-04-15 10:53:32 +09:00
Mounir IDRASSI 07f0b5fcaf Build: handle removed wxWidgets configure options
wxWidgets 3.3 removed the configure switches for explicitly enabling
Unicode and std_string support. Passing these options now makes configure
fail with "unrecognized options" when option checking is enabled.

Keep the legacy switches for older wxWidgets releases, but only add them
from the wxbuild recipe when the target configure script still supports the
corresponding Autoconf option variables.
2026-04-15 09:34:20 +09:00
audriusbuikaandGitHub f63c617431 Fix hibernation crash on fresh Windows 11 25H2 (BSOD Event 41) (#1671)
* Fix hibernation crash on fresh Windows 11 25H2 (BSOD Event 41)

* follow up on the hibernation fix review: fix MDL check order and drop the risky sleep.
2026-04-15 09:22:46 +09:00
Mounir IDRASSI 5b4fae60a8 Linux: honor nokernelcrypto during external formatting 2026-04-14 23:37:41 +09:00
Mounir IDRASSI 868dab4fca Windows: fix ARM64 MSI build 2026-04-14 20:22:59 +09:00
Mounir IDRASSI 976bb3767b Windows: Fix MSI traveler disk creation with WHQL-signed drivers
Make MSI-installed VeraCrypt use the IDRIX-signed COMReg package as the
source for traveler files, matching the EXE installer flow. COMReg now
packages the x64 traveler payload, so traveler creation no longer has to
copy the installed x64 driver from appDir\veracrypt.sys and verify it
against a Microsoft WHQL certificate fingerprint.

Keep Microsoft WHQL certificate verification only for the loose portable
driver fallback, where driver files cannot be signed with the IDRIX code
signing certificate. The normal VerifyModuleSignature path now remains
IDRIX-only.

Also validate that an MSI COMReg package actually contains the required
x64 traveler files before reporting success, avoiding partial traveler
directories when the package payload is incomplete.
2026-04-14 18:43:07 +09:00
Mounir IDRASSI 250a488a84 macOS: Use SMB backend for FUSE-T auxiliary mounts 2026-04-14 14:42:36 +09:00
TigerxWoodandGitHub 9877320788 Update Language.ro.xml (#1636)
* Update Language.ro.xml

* Update Language.ro edited.xml
2026-04-13 17:55:16 +09:00
RagdollandGitHub 2ed98b50d3 Fix erroneous 2 TiB limit for hidden file containers in GUI wizard (#1672) 2026-04-13 16:55:37 +09:00
1ea0556cbe Fix ghost drive letter after CLI dismount (GH #337, GH #1426) (#1658)
When dismounting via CLI (/d /q /s), SHChangeNotify is called without
SHCNF_FLUSH flag, making it asynchronous. The process exits before
Explorer processes the notification, leaving a phantom drive letter
visible in Explorer as an inaccessible Local Disk until reboot.

Add SHCNF_FLUSH in Silent (CLI) mode to force synchronous shell
notification processing in both single-volume (UnmountVolumeBase)
and dismount-all (DismountAll) code paths. The flush is only added
in CLI mode to avoid adding latency to interactive GUI operations.

Co-authored-by: Contributor <contributor@example.com>
2026-04-13 15:07:32 +09:00
babastienneandGitHub adfc768813 Fix: Incorrect tooltip on mouseover due to bad translation key (fix #1635) (#1637)
The commit 9ea5ccc4aa introduced this bug
by creating a translation key named "DISABLE_SCREEN_PROTECTION_WARNING"
but used the key "DISABLE_SCREEN_PROTECTION_HELP" into the installation
wizard.
2026-04-13 14:28:43 +09:00
Cody TubbsandGitHub d8cd2cfaec Fix links to documentation in README.md (#1617) 2026-04-13 14:11:20 +09:00
Mounir IDRASSI cdc00dc4aa Linux: add support for building against FUSE3 2026-04-13 09:43:22 +09:00
Mounir IDRASSI f7c9e62909 macOS: fix typo in defaultDirs in Process::FindSystemBinary 2026-04-13 09:42:40 +09:00
PatriccolluandGitHub 97a715e8d7 Update Corsican translation on 2025-09 (#1609) 2025-09-30 12:35:24 +09:00
Mounir IDRASSI bfa19f5603 Documentation: fix wrong name for pbkdf2.html causing issues under Linux. 2025-09-26 21:47:29 +09:00
Mr-UpdateandGitHub 4bb970b5df Update Language.de.xml (#1608) 2025-09-25 12:12:32 +09:00
nkh0472andGitHub 18bdcf188d Update Language.zh-cn.xml (#1607) 2025-09-23 10:25:02 +09:00
Mounir IDRASSI 573f870175 Increment version to 1.26.17 is packaging files. 2025-09-21 16:49:05 +09:00
Mounir IDRASSI 26c149a031 Update translations 2025-09-21 12:02:10 +09:00
Mounir IDRASSI b1007c6135 Increment version to 1.26.27. Update Release notes, Windows driver, bootloader 2025-09-21 11:56:50 +09:00
MatthaiksandGitHub 4e1dbb92e1 Update Polish translation (#1606) 2025-09-21 11:11:43 +09:00
Mounir IDRASSI b952201412 Windows: Add setting/CLI switch to enable IME during Secure Desktop. Fix Preferences tabs handling.
Now it is possible to enable IME during Secure Desktop using a setting in Preferences or using /enableIME switch.
This helps solve issues with some IME that causes VeraCrypt to freeze when selecting keyfile while VeraCrypt secure desktop is active.
See: https://sourceforge.net/p/veracrypt/discussion/general/thread/1e8b9aeacd
2025-09-20 22:31:13 +09:00
Mounir IDRASSI a7ebddc5f3 Windows driver: enhance IRP completion by avoiding inline ones and using CriticalWorkQueue for faster completion dispatch
This change adds more robustness in low memory case and avoid freezes.
It also protects cancel handling with cancel spin lock
2025-09-17 04:51:57 +09:00
Mounir IDRASSI e4e6b167e2 Windows driver: add safe MapIrpDataBuffer function to prevent rare BSOD when irp->MdlAddress is NULL
Introduce MapIrpDataBuffer to handle Direct/Buffered/Neither I/O, probing & locking pages and allocating a temp MDL when needed.
Replace blind MmGetSystemAddressForMdlSafe usage. clean up TempUserMdl in OnItemCompleted to avoid crashes when MdlAddress is NULL.

Issue reported at https://sourceforge.net/p/veracrypt/discussion/technical/thread/e43bde8d86/
2025-09-15 14:34:22 +09:00
Mounir IDRASSI f257d7b4a5 Windows driver: revert to single completion thread until proper implementation is in place 2025-09-15 11:25:05 +09:00
Mounir IDRASSI 41812674bb Windows: correct processor group affinity handling and off-by-one mapping
- Replace dynamic GetProcAddress usage with direct SetThreadGroupAffinity call since we run under Windows 10 minimum
- Compute affinity mask based on actual active processor count
- Fix off-by-one when assigning threads to processor groups (use > instead of >=), preventing premature group advance
- Improves correctness on multi-group (>=64 CPU) systems
2025-09-13 23:30:13 +09:00
Mounir IDRASSI f380dc13d9 Windows driver: fix VERIFY/TRIM offset & validation, label handling, CPU group affinity, and cleanup
- Use local volumeOffset, correct IOCTL_DISK_VERIFY & TRIM range translation/validation
- Enforce DataSetRangesLength alignment & per-range sanity checks
- Add missing returns after PsTerminateSystemThread
- Remove obsolete PsDereferenceImpersonationToken dynamic lookup
- Correct wide string size usage & zero label info buffer
- Fix DEBUG_TRACE macro check and GetCpuGroup off-by-one. proper affinity mask
- Minor safety/clarity cleanups
2025-09-13 23:26:12 +09:00
Mounir IDRASSI 54b81ed2d1 Windows driver: add defensive checks to TCCloseVolume implementation 2025-09-13 15:26:53 +09:00
Mounir IDRASSI 0b60d2a119 Windows: remove wrong static declaration of functions in Ntvol.h 2025-09-13 15:25:56 +09:00
Mounir IDRASSI 02e7b48836 Windows driver: revert IRP completion overhaul changes until more tests are conducted 2025-09-13 15:08:38 +09:00
Mounir IDRASSI f6f25eec8f Windows driver: simplify TCSleep to use KeDelayExecutionThread
Replace timer-based TCSleep (which allocated a KTIMER and waited on it) with an
implementation that calls KeDelayExecutionThread. This removes dynamic allocation
and kernel timer usage to simplify the code and reduce resource overhead.
Adds an IRQL <= APC_LEVEL assertion and documents the requirement.

This is safe because TCSleep is always called from code that runs at PASSIVE_LEVEL
2025-09-08 12:14:20 +09:00
Mounir IDRASSI 7df2c2957f Windows driver fix: Decrement IoThreadPendingRequestCount on allocation failure in MainThreadProc
Added InterlockedDecrement in the error path when GetPoolBuffer fails for EncryptedIoRequest to ensure accurate tracking of pending IO requests and prevent potential resource leaks.
2025-09-08 11:40:33 +09:00
Mounir IDRASSI f40f316dfb Windows driver: remove unneeded __try/__finally 2025-09-08 11:38:30 +09:00
Mounir IDRASSI 0e19cb9223 Windows driver: harden UpdateBuffer against integer overflow. Make completion backoff per request (no shared state) 2025-09-08 10:36:18 +09:00
Mounir IDRASSI 062b385a69 Windows driver: overhaul IRP completion path in EncryptedIoQueue, add dual completion threads, precise byte accounting & safer UpdateBuffer
Major changes:
- Added pooled + elastic work item model with retry/backoff (MAX_WI_RETRIES). removed semaphore usage.
- Introduced two completion threads to reduce contention and latency under heavy IO.
- Added BytesCompleted (per IRP) and ActualBytes (per fragment) for correct short read/write accounting. total read/write stats now reflect real transferred bytes instead of requested length.
- Moved decryption of read fragments into IO thread. completion threads now only finalize IRPs (reduces race window and simplifies flow).
- Deferred final IRP completion via FinalizeOriginalIrp to avoid inline IoCompleteRequest re-entrancy. added safe OOM inline fallback.
- Implemented work item pool drain & orderly shutdown (ActiveWorkItems + NoActiveWorkItemsEvent) with robust stop protocol.
- Replaced semaphore-based work item acquisition with spin lock + free list + event (WorkItemAvailableEvent). added exponential backoff for transient exhaustion.
- Added elastic (on-demand) work item allocation with pool vs dynamic origin tracking (FromPool).
- Added FreeCompletionWorkItemPool() for symmetric cleanup; ensured all threads are explicitly awakened during stop.
- Added second completion thread replacing single CompletionThread.
- Hardened UpdateBuffer: fixed parameter name typo, added bounds/overflow checks using IntSafe (ULongLongAdd), validated Count, guarded sector end computation.
- Fixed GPT/system region write protection logic to pass correct length instead of end offset.
- Ensured ASSERTs use fragment‑relative bounds (cast + length) and avoided mixed 64/32 comparisons.
- Added MAX_WI_RETRIES constant. added WiRetryCount field in EncryptedIoRequest.
- Ensured RemoveLock is released only after all queue/accounting updates (OnItemCompleted).
- Reset/read-ahead logic preserved. read-ahead trigger now based on actual completion & zero pending fragment count.
- General refactoring, clearer separation of concerns (TryAcquireCompletionWorkItem / FinalizeOriginalIrp / HandleCompleteOriginalIrp).

Safety / correctness improvements:
- Accurate short read handling (STATUS_END_OF_FILE with true byte count).
- Eliminated risk of double free or premature RemoveLock release on completion paths.
- Prevented potential overflow in sector end arithmetic.
- Reduced contention and potential deadlock scenarios present with previous semaphore wait path.
2025-09-07 23:58:35 +09:00
Mounir IDRASSI 55adda7504 Windows driver: add more checks and comments to crash dump filter
- Document HIGH_LEVEL constraints and rationale for pre-building a nonpaged scratch MDL.
- Allocate contiguous scratch buffer with conservative PFN cap (0x7FFFFFFFFFF) and fall back to unlimited cap if needed.
- Replace ASSERT with TC_BUG_CHECK for validation of write MDL mapping at HIGH_LEVEL.
- Safely copy PFNs from prebuilt MDL into caller MDL: compute dst/src page counts, check capacity, copy exact PFNs and retarget MDL header fields (preserve MdlFlags).
- Make DumpData cleanup defensive in unload path.
- comments improvements for clarity and maintainability.
2025-09-06 16:42:42 +09:00
CharlieandGitHub c1ae011ba1 Fix problems inside crash dump filter path (#1590)
* Prefer allocations to be non-executable
* Remove and reimplement DDIs inappropriately called inside HIGH_LEVEL IRQL routines
* Refactor hibernate context to be passed around in the passed FILTER_EXTENSION pointer rather than global
2025-09-06 11:22:50 +09:00
Mr-UpdateandGitHub e86d83e63c Update Language.de.xml (#1598)
Translation completed
2025-09-06 09:27:46 +09:00
Mounir IDRASSI 2dd4e29430 Fix warning caused by clash between Argon2 AVX2 rotrX macros and integer equivalents in VeraCrypt headers 2025-09-06 00:03:03 +09:00
Mounir IDRASSI c5589ac4fb Translations: set correct "lang" attribute in Swedish language file 2025-09-05 23:55:18 +09:00
nkh0472andGitHub 58353ceb4c Update Language.zh-cn.xml (#1597) 2025-09-05 23:46:35 +09:00
NickandGitHub ca95c5fdcd Update Swedish (#1594) 2025-09-05 23:45:46 +09:00
MatthaiksandGitHub 73e738a629 Update Polish translation (#1592) 2025-09-05 23:44:03 +09:00
PatriccolluandGitHub b38a31a190 Update Corsican translation on 2025-08 (#1591)
* Update Corsican translation on 2025-08

* Update Corsican translation on 2025-08
2025-09-05 23:43:38 +09:00
Mounir IDRASSI 10c4d30312 Documentation: Add entry about KDF, PBKDF2. 2025-08-31 23:11:06 +09:00
Mounir IDRASSI 1326844065 Windows: Use tab control for VeraCrypt preferences to reduce clutter and size of dialog 2025-08-31 23:03:32 +09:00
uni-kodandGitHub 7de81cd42b Fix code compilation. (#1583)
* Fix "blake2b.h" header file location.

* Include "blake2b.h" to fix compilation.
2025-08-31 15:32:33 +09:00
Mounir IDRASSI 26a754b198 Documentation: Use "KDF" instead of "PKCS-5 PRF". Add Argon2 related information. 2025-08-08 23:38:40 +09:00
Mounir IDRASSI 54c39e4eb2 Use "KDF" instead of "PKCS5 PRF" for UI selection of KDF to use 2025-08-08 22:53:04 +09:00
helmutbuhlerandGitHub 04648bc5ee Fix IDC_MOUNTALL in German translation (#1568)
* Fix german translation of IDC_MOUNTALL

* Replace " ..." with "..." in German translation

* Change help texts that refer to IDC_MOUNTALL string
2025-07-07 08:54:55 +09:00
Mounir IDRASSI 3867c1cca3 Use blake2b as hash for random generator from Argon2 is used. 2025-07-03 17:32:47 +09:00
Mounir IDRASSI eadb02d8ef Windows: set version to 1.26.26. Update Release Notes, bootloader and Windows drivers. 2025-06-29 23:31:18 +09:00
Mounir IDRASSI 9dc24ba7d0 Windows: speedup PRF autodetection mode by implementing abort mechanism in PBKDF2/Argon2 primitives 2025-06-29 21:44:32 +09:00
nkh0472andGitHub 95659a8563 Update Language.zh-cn.xml (#1565) 2025-06-29 08:36:34 +09:00
PatriccolluandGitHub 98a504c70a Update Corsican translation on 2025-06 (#1566) 2025-06-29 08:36:10 +09:00
Mounir IDRASSI 84f7ec5250 Linux: Fix build error under ARM64 2025-06-26 17:07:16 +09:00
Mounir IDRASSI 176d1c8bff Windows: Update MSI version to 1.26.25 2025-06-26 11:12:30 +09:00
MatthaiksandGitHub 56146ca6b7 Update Polish translation (#1564) 2025-06-26 10:37:00 +09:00
Mounir IDRASSI 04606da5ee Linux: Fix build issue after addition of Argon2 on Windows.
Argon2 support for Linux will come later
2025-06-26 10:15:01 +09:00
Mounir IDRASSI 6949417181 Windows: use correct default PIM value for Argon2 when validating small PIM values 2025-06-26 00:05:28 +09:00
Mounir IDRASSI 90e315dae2 Windows: Add missing x64 driver file 2025-06-26 00:00:40 +09:00
Mounir IDRASSI c148898ece Update some translations 2025-06-25 23:36:17 +09:00
Mounir IDRASSI 28f0c6cb4a Update Release Notes and CHM. 2025-06-25 23:14:34 +09:00
Mounir IDRASSI c782051e27 Windows: Fix build errors on ARM64 configuration due to missing include path in projects 2025-06-25 22:01:32 +09:00
Mounir IDRASSI f1b1112254 Windows: Update Windows MBR bootloader 2025-06-25 22:00:31 +09:00
Mounir IDRASSI ab2937c889 Add new entry in XML files for Argon2 memory cost. Increment version to 1.26.25 2025-06-25 20:32:09 +09:00
Mounir IDRASSI 3c17b8ced2 Windows: Add support for Argon2id as an alternative to PBKDF2 key derivation 2025-06-25 15:44:31 +09:00
Mounir IDRASSI 228129362a Windows: Include SDL dlls in signing batch file 2025-06-24 15:49:32 +09:00
Mounir IDRASSI 5627e7a738 Windows: Add CLI switches to control memory/screen protection features. Disable non-configurable settings in portable mode 2025-06-24 15:48:01 +09:00
Mounir IDRASSI c1dbcb32e6 Windows: Add resource file to Format dll. Fix copying output of Format dll project. 2025-06-24 15:31:39 +09:00
Mounir IDRASSI 79f7791036 Windows: Add password length and pin value defined to SDK header 2025-06-13 22:25:08 +09:00
Mounir IDRASSI 4402d153b9 Windows: Fix incorrect comment in SDK header file 2025-06-13 21:15:03 +09:00
Mounir IDRASSI 2b531dd113 Windows: Add an SDK for VeraCrypt Format that allows third-party application to create volumes 2025-06-13 21:12:14 +09:00
JertzukkaandGitHub 1ed5225971 Linux: Update 25.04 Plucky dependencies (#1556)
Update 25.04 dependency to require libwxgtk3.2-1t64 package.
2025-06-13 08:51:28 +09:00
Mounir IDRASSI 08093f460a Windows: fix link error in custom EFI / VC_SKIP_OS_DRIVER_REQ_CHECK configuration 2025-06-09 11:41:12 +09:00
Mounir IDRASSI 87a5024a5b Linux: Allow AppImage file to start with "veracrypt" in any case 2025-06-09 11:07:07 +09:00
Mounir IDRASSI 69852fad9a Windows: Increase length of screen protection setting label to avoid truncation in some cases. 2025-06-09 10:41:10 +09:00
Mounir IDRASSI 1a47391d62 Documentation: Fix invalid HTML structure in some files 2025-06-09 10:38:57 +09:00
Mounir IDRASSI 9edb5d1ab5 Translations: revert to previous translation of IDC_DISABLE_SCREEN_PROTECTION for Russian 2025-06-09 10:36:11 +09:00
JertzukkaandGitHub 5d1c48d5ba Linux/FreeBSD/macOS: Column widths correct initially and on update (#1552)
Column width was updated before SlotListCtrl had the slots added,
which caused the column width to be incorrect before the first time
OnTimer ran to update it. Changing the order ensures the column width
is correct on program launch. Also ensure that we do not autosize
column to fit empty content.
2025-06-09 10:27:25 +09:00
JertzukkaandGitHub 4e112df0d2 Documentation: Remove XHTML spec and fix errors (#1547)
* Documentation: Remove XHTML spec and fix errors
None of the docs follow the XHTML specification, which means
that programs that expect this (such as Gnome Web) as it is advertised
as such, will completely fail to parse it as it is incorrect syntax. So
it is removed.

* Remove .chm files
2025-06-02 09:19:00 +09:00
Mounir IDRASSI d9c41e0dba Documentation: Update Russian translations by Dmitry Yerokhin 2025-06-01 10:49:44 +09:00
Mounir IDRASSI 716ff4180e Add python script that automates uploading VeraCrypt release files to Launchpad 2025-06-01 10:44:10 +09:00
JertzukkaandGitHub 44fc3ca991 All platforms: Update logo icons (#1546)
Update the old logo with a simplified one without extra label text.
.ico and .icns are updated on Windows and macOS, and .png, .svg
are added on Linux and FreeBSD.

Original logo design by Andreas Becker, recreated by danielwerg with
some edits and symbolic version by me.
2025-05-31 23:16:39 +09:00
Sam HocevarandGitHub c7f69062db Use “unmount” instead of “dismount” in scripts and in text shown to the user. (#1548) 2025-05-31 23:06:30 +09:00
Mounir IDRASSI 0f509dba9c Windows:Continuation of fix of tab navigation in various dialogs 2025-05-29 22:07:03 +09:00
Mounir IDRASSI 08c813efd6 Increment version to 1.26.24. Update Release Notes and Windows drivers. 2025-05-29 18:10:59 +09:00
Mounir IDRASSI 704a21d31f Windows: Fix tab navigation in various dialogs 2025-05-29 06:17:06 +09:00
Mounir IDRASSI 4774bde1f1 macOS: use macFUSE name instead of OSXFUSE to match the new name of the macOS fuse library project. 2025-05-29 06:03:52 +09:00
Mounir IDRASSI b64b7c9ca4 macOS: Create symlink to VeraCrypt binary at /usr/local/bin/veracrypt during installation
This makes it easier to use the VeraCrypt CLI in a manner similar to Linux systems.
2025-05-29 05:48:40 +09:00
Mounir IDRASSI 71f538bcda Windows: real fix for "Unmount all" button label!! 2025-05-28 21:03:09 +09:00
Mounir IDRASSI e68c98ab6b Increment version to 1.26.3. Update Release Notes and signed drivers 2025-05-28 19:28:32 +09:00
Mounir IDRASSI c0ab75d499 Documentation: Fix rendering issue of localized CHM files by using correct encoding 2025-05-28 16:12:10 +09:00
Mounir IDRASSI 1ebd11c750 Windows: Replace remaining "Dismount All" by "Unmount All" 2025-05-28 11:08:16 +09:00
Mounir IDRASSI 26eb821c69 Update Release Notes and release date. Increment version of Windows binaries 2025-05-27 18:15:32 +09:00
Mounir IDRASSI 98102bbff6 Linux/macOS: Make help text less confusing with regards to optional parameter of certain commands
the presence of '=' sign was not correct.
2025-05-27 17:14:17 +09:00
Mounir IDRASSI b18c2d3c71 Windows: Implement mutex to serialize initialization across multiple VeraCrypt instances
When multiple VeraCrypt.exe instances were launched simultaneously, race conditions
could occur during the WM_INITDIALOG processing phase, potentially causing application
crashes or hang. This was because the initialization logic handles critical operations
like mounting/unmounting volumes and processing favorite volumes that modify global
system state.

This commit:
- Adds a named local session mutex (MainInitMutex) that serializes the WM_INITDIALOG handler
- Implements proper acquisition and release of the mutex during initialization
- Ensures proper cleanup of mutex resources on application exit
2025-05-27 15:18:06 +09:00
PatriccolluandGitHub e14299936b Update Corsican translation on 2025-05 (2) (#1543) 2025-05-26 22:09:44 +09:00
Mounir IDRASSI 58ad07c4d5 Translations: Update and fix various language files. 2025-05-25 17:18:58 +09:00
Mounir IDRASSI 54600e18af Github workflows: enhance xmlvalidate.sh to catch invalid escape sequences 2025-05-25 17:17:32 +09:00
Mounir IDRASSI 4b46d992da Increment version to 1.26.22. Update Release Notes. Update signed drivers. 2025-05-25 09:49:49 +09:00
Mounir IDRASSI 34c6557e75 Documentation: Add missing image for mastodon contact 2025-05-25 09:27:47 +09:00
Mounir IDRASSI 733980dc2c Translations: Add translation of newly added fields for some languages 2025-05-24 17:14:16 +09:00
Mounir IDRASSI 9ea5ccc4aa Windows: Enable screen protection by default to block screenshots, recordings & Windows Recall. Add configurable setting in Preferences, Installer, and MSI.
This update introduces a screen protection mechanism that leverages the Windows Display Affinity API to prevent screen capture, screen recording, and inclusion in the Windows 11 Recall feature. By default, all VeraCrypt windows, menus, and tooltips are protected. Users can enable or disable this feature through a new setting available in the application Preferences, as well as in the installer and MSI configurations.

This enhances user privacy by mitigating potential leaks of sensitive interface content.

Note: Due to a regression in Windows 11 affecting layered windows, ComboBox dropdowns cannot currently be protected by this mechanism.
2025-05-24 15:28:39 +09:00
Mounir IDRASSI 44a9f8bcff Remove SM4 support! 2025-05-18 18:31:39 +09:00
Mounir IDRASSI ec0fa4f482 macOS: make dmg template larger to accommodate increase size of documentation 2025-05-18 18:13:43 +09:00
Mounir IDRASSI 4b6e1a2309 macOS/FreeBSD: add missing GCC_GTEQ_440 define in Makefile 2025-05-18 17:39:41 +09:00
Mounir IDRASSI d4c8add9c4 Update Readme to indicate veracrypt.io as the new official mirror 2025-05-16 20:48:26 +09:00
Mounir IDRASSI cf5a0ad003 Update Release Notes.html and release date. 2025-05-16 15:41:10 +09:00
Mounir IDRASSI 982fffe4db Reorder SM4-based cascade ciphers: apply SM4 as the final stage following external review.
The cascade order has been updated so that SM4 is applied after the other cipher(s) (e.g., Serpent). This change reflects standard cryptanalytic guidance, which shows that the overall strength of a cascade is limited by the first encryption stage. Given that SM4 uses a 128-bit key, its post-quantum brute-force resistance is lower than ciphers with a 256-bit key (such as Serpent). By placing SM4 last, we ensure that any potential weakness in SM4 cannot reduce the security margin provided by the stronger cipher.
2025-05-16 15:37:32 +09:00
Mounir IDRASSI b0311f7a86 Documentation: Add missing reference to SM4-based Cascades ciphers. 2025-05-15 18:34:35 +09:00
Mounir IDRASSI 1839a4a746 Set release date to May 16th. 2025-05-15 10:39:35 +09:00
Mounir IDRASSI e1c7f2f043 Silence compiler warning in HasTranslatedDocumentation function 2025-05-15 10:29:59 +09:00
Mounir IDRASSI a6f734ae2b Linux: cleanup old build artifacts before performing new build 2025-05-15 10:29:09 +09:00
Mounir IDRASSI a882fd65d0 Documentation: remove unused donation image files 2025-05-14 16:04:03 +09:00
Mounir IDRASSI 0d3e0c954b Update Donation details (bank, crypto, paypal) 2025-05-14 11:05:28 +09:00
Mounir IDRASSI 009d189768 Linux/macOS: Fix build error cause by missing conversion 2025-05-12 17:30:38 +09:00
Mounir IDRASSI 5ae263e6e6 Linux: Update local documentation logic to the new organization of folders under "docs/html" 2025-05-12 16:23:49 +09:00
Mounir IDRASSI acac37b5b7 Update Release Notes and CHM. Set release date and update signed Windows drivers. 2025-05-12 10:21:58 +09:00
Mounir IDRASSI f0a1da146e Windows: fix path errors in WiX file that blocked creation of MSI. 2025-05-12 09:12:47 +09:00
Mounir IDRASSI 3a7b57cef8 Linux/macOS: don't advertise SM4 for system encryption until its support is implement. 2025-05-12 08:33:00 +09:00
Mounir IDRASSI 358f7f095e Documentation: Fix missing AM Crypto references 2025-05-11 21:31:15 +09:00
Mounir IDRASSI 09c635e592 Removed unused declarations in sm4.cpp 2025-05-11 18:13:00 +09:00
Mounir IDRASSI 0a8848de6c Update PayPal donation links 2025-05-11 18:09:43 +09:00
Mounir IDRASSI b673901503 Move copyright and links to "AM Crypo", amcrypto.jp and veracrypt.jp 2025-05-11 16:02:20 +09:00
Mounir IDRASSI 4944477b5a Linux: implement automatic creation of AppImage bundle during build of generic binaries 2025-05-10 23:32:55 +09:00
Zaphod a PriestandGitHub b80e6b329b typo Readme.txt (#1538) 2025-05-10 19:12:27 +09:00
Mounir IDRASSI 3edae48717 Linux: Correct handling of documentation in case of AppImage. Code refactoring. 2025-05-10 19:09:31 +09:00
Mounir IDRASSI 01cfc169c6 Linux: Fix link error with gcc 4.8 by build AESNI version of SM4 from gcc 4.4
AESNI support was enabled starting from gcc 4.4 and so AESNI code of SM4 should be built starting from this version.
2025-05-10 17:47:28 +09:00
Mounir IDRASSI 745fab60e9 Linux: Fix AppImage compatibility by using AppImage file for sudo elevation
When VeraCrypt is run as an AppImage, the veracrypt binary resides in a SquashFS mount under /tmp which is inaccessible to root. Using this path with sudo results in a "command not found" error.

This patch detects the AppImage environment by checking both APPIMAGE and APPDIR variables, ensuring the executable path starts with APPDIR and that APPDIR starts with the expected "/tmp/.mount_Veracr" prefix. In this scenario, the AppImage file itself (APPIMAGE) is used as the executable for sudo, resolving the elevation issue.
2025-05-10 15:21:19 +09:00
PatriccolluandGitHub 58dd4e031d Update Corsican translation on 2025-05 (#1535) 2025-05-08 23:58:15 +09:00
Mounir IDRASSI 26924cb277 Linux: Fix typo in CMakeLists.txt after last change 2025-05-06 08:24:07 +09:00
Mounir IDRASSI 4cd6b4cd4d Linux: remove pcsclite dependency from .deb/.rpm packages since it is detected/loaded dynamically at runtime. 2025-05-06 07:26:40 +09:00
Mounir IDRASSI bbc9fbf175 Increment version to 1.26.21 2025-05-04 03:43:45 +09:00
MatthaiksandGitHub 7021200f71 Update Polish translation (#1533) 2025-05-04 03:20:16 +09:00
Mounir IDRASSI 0c5dccd6f9 Linux: Fix self-test by making the code supports key length in a generic way
This change allows to support SM4 self-test which uses a 128-bit key.
2025-05-04 03:15:16 +09:00
Mounir IDRASSI 4a371f807e Linux: Fix build issues caused by changes after SM4 addition 2025-05-04 02:45:09 +09:00
Mounir IDRASSI 7924f06e39 Initial support of SM4 cipher for normal volumes 2025-05-04 02:27:05 +09:00
Mounir IDRASSI 798985bf25 Windows: Refactor EncryptData.ps1 script. Parameterize, add cluster size auto, robust exFAT sizing, and safety features
- Added parameters for cluster size (auto/manual), encryption/hash, safety margin, VeraCrypt overhead, and VeraCrypt path override
- Switched to iterative exFAT size calculation for accurate FAT/bitmap sizing
- Auto-selects optimal cluster size based on data size
- Supports -WhatIf/-Confirm (SupportsShouldProcess) for safe operation
- Allows password via pipeline or prompt; improved error handling and cleanup
- Enhanced output, free space checks, and force-overwrite option
- Improved code structure, comments, and user feedback
2025-04-30 18:38:05 +09:00
Steven LeeandGitHub 43ea5108e5 modify unix default mounting point prefix (use /run/media/veracrypt t… (#1524)
* modify unix default mounting point prefix (use /run/media/veracrypt to replace /mnt/veracrypt).

* bugfix

* add trailling semicolon

* add ifdef TC_LINUX
2025-04-30 14:44:26 +09:00
Mounir IDRASSI e946de7241 Documentation: Harmonize Microsoft Help Workshop project files names. Add Russian localized CHM. 2025-04-29 15:49:00 +09:00
Mounir IDRASSI b85e7ef602 Windows: Update libzip to version 1.11.3 2025-04-29 12:24:08 +09:00
Mounir IDRASSI 97e01098d4 Documentation: various fixes. Add Russian CHM file. 2025-04-29 11:45:12 +09:00
Mounir IDRASSI ae8f511c01 Documentation: Update various pages to be in sync with online version 2025-04-28 23:56:32 +09:00
Mounir IDRASSI 1f9f1474a7 Documentation: Add missing English documentation HTML files 2025-04-28 23:48:32 +09:00
Mounir IDRASSI d19c89d602 Windows: modify build batch files to use tar instead of 7zip and to support new layout of localized documentation 2025-04-27 23:43:03 +09:00
Mounir IDRASSI 07b53541e0 Windows: reorganize localized documentation, each in a dedicated folder. Adapt installers and documentation URL logic.
Now we have 3 folders under html directory:en, ru, zh-cn. Similar separation exist in online version:
https://veracrypt.fr/en
https://veracrypt.fr/ru
https://veracrypt.fr/zh-cn
2025-04-27 23:33:08 +09:00
Mounir IDRASSI 7c13d21d96 Windows: Update code signing certificate after renewal of expired one 2025-04-27 22:11:16 +09:00
Mounir IDRASSI eed17ea92b Documentation: remove reference to veracrypt.fr/code git repository. Use Code.html for Source Code menu 2025-04-26 18:47:32 +09:00
风之暇想andGitHub 9412b1e119 Fix a mistake (#1530)
* Fix a mistake

* Fix a mistake
2025-04-23 16:55:26 +09:00
pingwcyandGitHub dc12fb746f Fix the whirlpool for big-endian platform (#1529) 2025-04-21 13:55:49 +02:00
Yeung, Tim MingandGitHub e33452049b Update Tradition Chinese (Hong Kong) (#1486)
- Follow commit 42b716f847 to use ALT+U as new accelerator key for Unmount instead of ALT+S
- Refine wordings
2025-04-21 11:45:24 +02:00
风之暇想andGitHub 8ca31c3fe2 User Guide with THML (#1523)
* Create VeraCrypt_zh-cn.hhk

* Add files via upload

* Create Documentation.html

* Add files via upload

* Add files via upload

* Add files via upload

* Update Kuznyechik.html

* Update Twofish.html

* Update Disclaimers.html

* Add files via upload

* Add files via upload

* Add files via upload
2025-04-21 11:40:05 +02:00
Bernard LadenthinandGitHub 0478be3626 Add alignment constants for derived key and KEY_INFO buffers to ensure SIMD compatibility. (#1526) 2025-04-21 11:26:34 +02:00
Bernard LadenthinandGitHub 5eb358ca18 Refactor: Use symbolic constants for volume header magic numbers (#1525)
Replaced hardcoded 0x56455241 ('VERA') with TC_HEADER_MAGIC for better readability and maintainability.
Also replaced 0x5645524142455854 with TC_BOOT_DRIVE_FILTER_EXTENSION_MAGIC and added 'ULL' suffix for 64-bit safety.
2025-04-21 11:24:02 +02:00
Mounir IDRASSI 1f4f6d09d8 Translations: Refine Italian localization for clarity and naturalness
This commit updates several strings in the Italian language file
based on an expert review.

The changes focus on:
- Using more idiomatic phrasing (e.g., "negazione plausibile").
- Employing standard IT terminology (e.g., "Codice di errore").
- Adjusting formality for better UX (e.g., informal commands, recommendations).
- Improving sentence structure for system messages (e.g., impersonal "si").
2025-04-21 09:54:25 +02:00
Mounir IDRASSI 2f8161af34 Translations: Fix Italian translation following report by Alessandro Muccioli
https://sourceforge.net/p/veracrypt/tickets/593/
2025-03-29 07:16:56 +01:00
JertzukkaandGitHub 004fdc2a45 Linux/FreeBSD: Improvements on installation scripts (#1514)
This patch moves away from gnome-terminal -e options which is deprecated
and subject to possibly be removed in the future. The -- option is nearly
equivalent in behaviour. Also ensures that uninstallation script has correct
privileges, adds window title to xmessage and ensures correct files are
used during installation.
2025-03-24 13:16:08 +01:00
Mounir IDRASSI 56301ea64b Linux/macOS: Fix failure to use Hungarian language cause by issue in XML parser.
The method GetNodes implementation didn't parse multiple attributes correctly and it failed with Hungarian XML because of the presence of '>' character in an attribute value.

Issue reported in https://github.com/veracrypt/VeraCrypt/pull/1516
2025-03-24 07:55:03 +01:00
Mounir IDRASSI 865ee6c429 Github workflows: Fix issue running XML validation workflow by using fixed version of fast-xml-parser 4.5.2
latest version 5.x of fast-xml-parser causes described in https://github.com/veracrypt/VeraCrypt/pull/1497#issuecomment-2671395468
2025-02-20 16:05:39 +01:00
Mounir IDRASSI fc7037b670 Linux/macOS: use absolute path of 'true' command when checking if sudo session is active. 2025-02-19 10:29:27 +01:00
Thomas De RockerandGitHub 8574033ded Update Language.nl.xml (#1502) 2025-02-18 15:06:50 +01:00
白庭andGitHub 33d1de0d31 Fix SetupDLL and ExpandVolume Error (#1495)
* Fix SetupDLL [ReleaseCustomEFI] Building Error

* Fix Lib Problem
2025-02-15 11:59:43 +01:00
JertzukkaandGitHub 98fa395f29 CI: Enable XML Validation Workflow (#1497) 2025-02-15 11:40:27 +01:00
Mounir IDRASSI 974a3909ec Windows: remove dependency towards Mount/Format when building setup to fix Win32 build issue (#1487)
MainCom_i.c and FormatCom_i.c are needed only for mount/format type libraries GUIDs. Since they don't change, we just define them directly.
2025-02-08 12:00:05 +01:00
Mounir IDRASSI a2f11e1102 Windows: Fix link error in 32-bit build by removing crypto.lib reference and implementing sha512 using BCrypt API. 2025-02-08 01:17:55 +01:00
bugtracker2019andGitHub effabb4c53 Update Language.de.xml (#1489)
Fixed wrong line breaks.
2025-02-07 13:53:20 +01:00
Mounir IDRASSI 42b716f847 Rename "Dismount All" to "Unmount All" in UI. Use ALT+u as new accelerator key instead of ALT+s 2025-02-05 21:30:33 +01:00
Mounir IDRASSI c3d7c9e45a Windows: Update version to 1.26.20 in MSI project and packaging bat files. 2025-02-04 13:25:10 +01:00
Mounir IDRASSI c9387caa03 Update Release Notes. Update Windows signed drivers. Update MBR bootloader. 2025-02-04 01:20:08 +01:00
Mounir IDRASSI 2180020cee Windows driver: Fix regression that always allowed defragmentation and caused other side effects
Now we properly honor the AllowDefrag configuration.

This regression introduced other issues because, in order to allow defragmentation, we must provide Windows with an actual physical disk number. As a result, we assign the number of the physical disk where the VeraCrypt volume resides. This, in turn, causes Windows to send IOCTLs directly to this disk instead of to VeraCrypt. If these IOCTLs return values and properties not supported by VeraCrypt, inconsistencies arise, leading to failures.
2025-02-04 00:02:08 +01:00
Mounir IDRASSI e73ea7193e Widnows driver: use correct value for HiddenSectors field in structures to match read MBR disks 2025-02-03 23:48:51 +01:00
Mounir IDRASSI 6cd32af1c1 macOS: correct error message in FUSE-T pkg installer to remove mention of OSXFuse. 2025-02-03 18:59:15 +01:00
Mounir IDRASSI 55563ffe42 Increment version to 1.26.20. Update Release Notes. 2025-02-03 17:52:19 +01:00
Mounir IDRASSI c69ba240c4 Complete replacement of Dismount references by Unmount in various files 2025-02-02 23:37:36 +01:00
Yeung, Tim MingandGitHub bdbd95a51b Update Language.zh-hk.xml (#1408)
- matching the phases used in Chinese Traditional Windows
- resolved conflicts introduced in 498dff9013
- minor formatting correction
- translated new entries staring from line 1459
2025-02-02 15:18:33 +01:00
Mounir IDRASSI 04e7d8c5ee Windows: Revert use PDH API to gather system entropy because of issues encountered by users
cf thread: https://sourceforge.net/p/veracrypt/discussion/general/thread/293d401a30

delays and sporadic crashes in some cases.
2025-02-02 13:51:33 +01:00
Helmut K. C. TessarekandGitHub 498dff9013 refactor: use the term unmount instead of dismount (#1478)
* refactor: use UNMOUNT instead of DISMOUNT in code

This change updates the term DISMOUNT in constants to UNMOUNT.
Other occurrences (e.g. variable names) are left alone for now.

* refactor(ui): use unmount instead of dismount

This change updates the GUI text and replaces dismount with unmount.

* docs: update term dismount -> unmount

* refactor(cmdline): add unmount

This change adds an argument 'unmount' for command line usage, while
trying to deprecate the old disnount argument.
The current dismount argument/flag will still work to not introduce
a breaking change.

* docs: mention that /dismount is deprecated

This change fixes the shorthand version of the argument /unmount
It also adds back the info for /dismount and that it is deprecated.
2025-01-31 23:18:26 +01:00
XeonacidandGitHub c71fa14dc0 Enable AESNI only on x86 (#1479)
This helps building on riscv which does not have immintrin.h.
2025-01-30 09:53:19 +01:00
p0k3m0nandGitHub 5ceec41eb3 Update Language.pl.xml (#1471)
Improved formatting.
2025-01-26 21:25:19 +01:00
Mounir IDRASSI 247c98d954 Implement SHA256 acceleration on ARM64 platforms using CPU instructions 2025-01-26 16:21:13 +01:00
Mounir IDRASSI 5ff256a53d Linux: simpler and more robust approach to detect active sudo session (#1473) 2025-01-25 01:04:47 +01:00
Mounir IDRASSI e34411b5db Translation: Update Russian translation of Release Notes (by Dmitry Yerokhin) 2025-01-25 01:02:46 +01:00
Mounir IDRASSI ad3e98af74 Fix Github action failure by moving upload-artifact to v4 2025-01-23 17:29:09 +01:00
Mounir IDRASSI eeebbf74f9 macOS: fix wxWidgets 3.2.6 assert for undefined switch use-dummy-sudo-password (GH #1470) 2025-01-23 17:18:57 +01:00
Mounir IDRASSI 16aa1a7be0 Increment version to 1.26.19. Update Release Notes. 2025-01-22 18:37:46 +01:00
Mounir IDRASSI 1ebe3546a6 Update copyright date to 2025 2025-01-22 17:52:45 +01:00
Mounir IDRASSI b42841ed3c macOS: Fix regression in dismount caused by wrong umount path (#1467) 2025-01-22 17:48:51 +01:00
Mounir IDRASSI 05ea7c120a macOS: Fix packaging error due to template dmg being too small.
To fix it, we resized the template dmg using hdiutil resize --size 16M
2025-01-20 13:51:31 +01:00
Mounir IDRASSI c17270fc53 MacOSX: Fix erroneous preprocessor directive 2025-01-20 13:49:31 +01:00
Mounir IDRASSI b187afb4c8 Update release notes and release date. 2025-01-19 14:06:36 +01:00
Mounir IDRASSI c1d9219f72 Translations: Update French translation 2025-01-19 13:54:58 +01:00
Mounir IDRASSI ef214a511a Updated translation: pt-br. 2025-01-19 11:11:51 +01:00
Mounir IDRASSI cca323964e Linux: Add missing header in ARM64 build. Add .oarmv8crypto to .gitignore 2025-01-18 16:37:26 +01:00
Mounir IDRASSI ff63e5aad0 Update Release Notes. Set version to 1.26.18. Update signed Windows drivers. 2025-01-17 07:44:09 +01:00
Mounir IDRASSI 54bd819990 Windows/Linux/macOS: implement AES hardware support on ARM64 (ARMv8) 2025-01-17 00:58:54 +01:00
Mounir IDRASSI c79f8102e0 Update Release Notes about fixed CVEs 2025-01-14 15:52:03 +01:00
Mounir IDRASSI 1c38446d78 Translations: Update translations of newly added fields 2025-01-14 14:59:45 +01:00
Mounir IDRASSI 078d1410dd Linux/FreeBSD: Prevent mounting volumes on system directories and PATH (CVE-2025-23021, reported by SivertPL @__tfr)
Added security checks to prevent mounting VeraCrypt volumes on system directories (like /usr/bin) or directories in the user's PATH, which could theoretically allow execution of malicious binaries instead of legitimate system binaries.

Key changes:
- Block mounting on protected system directories (/usr, /bin, /lib, etc.)
  This restriction cannot be overridden
- Block mounting on directories present in user's PATH environment variable
  This can be overridden with --allow-insecure-mount flag
- Add visual warnings (red border, "[INSECURE MODE]") when mounting on PATH directories is allowed
- Handle symlinks properly when checking paths
- Add new error messages for blocked mount points

To override PATH-based restrictions only (system directories remain protected):
veracrypt --allow-insecure-mount [options] volume mountpoint

Security Impact: Low to Medium
The attack requires either:
- User explicitly choosing a system directory as mount point instead of using VeraCrypt's default mount points
- Or attacker having both filesystem access to modify favorites configuration AND knowledge of the volume password
Default mount points are not affected by this vulnerability.

Security: CVE-2025-23021
2025-01-14 14:59:45 +01:00
Mounir IDRASSI 2cca2e1daf Linux/FreeBSD: Add absolute paths for system binaries to prevent path hijacking (CVE-2024-54187, collaboration with SivertPL @__tfr)
This commit fixes a critical security vulnerability where VeraCrypt could be tricked into executing malicious binaries with elevated privileges. The vulnerability has two severe implications:

1. When sudo's secure_path option is disabled, attackers could execute malicious binaries with root privileges by placing them in user-writable PATH directories (e.g., making "sudo mount" execute a malicious mount binary)

2. By placing a malicious sudo binary in PATH, attackers could intercept and steal the user's password when VeraCrypt prompts for sudo authentication

The vulnerability allowed attackers to place malicious binaries in user-writable directories that appear in PATH before system directories, potentially leading to privilege escalation and credential theft.

Key changes:
- Implement FindSystemBinary() to locate executables in secure system paths
- Replace all relative binary paths with absolute paths for system commands
- Add security checks for executable permissions
- Update process execution to use absolute paths for:
  * sudo
  * mount
  * fsck
  * terminal emulators
  * file managers
  * system utilities (hdiutil, mdconfig, vnconfig, lofiadm)

The fix ensures all system binaries are called using their absolute paths from secure system directories, preventing both privilege escalation through PATH manipulation and password theft through sudo hijacking.

Security: CVE-2024-54187
2025-01-14 14:59:40 +01:00
Mounir IDRASSI 1b35abb191 Increment version to 1.26.18. Update copyright date. Update Release Notes. Update Windows drivers. 2025-01-14 12:26:28 +01:00
Mounir IDRASSI 2aae142a2d Windows: Fix regression in Traveler Disk creation (#886)
Issue was caused by the fact that Microsoft signing certificate for driver file has changed.
We fix it by updating the SHA512 fingerprint of Microsoft code signing certificate.
2025-01-13 01:02:12 +01:00
Mounir IDRASSI cc2f177c5c Linux Debian/Ubuntu: use a distro-specific version string to avoid APT repository conflicts
In a Debian-style APT repository, the pool/ directory groups packages primarily by source package name and binary package name, version, architecture, etc. If two distinct .deb files have identical name and version (as seen in their control file) and same architecture, reprepro will report a conflict when adding one after the other.

So, we need to append distro-specific string to the existing version in order to avoid such conflict when creating VeraCrypt APT repository.
2025-01-11 16:23:11 +01:00
Mounir IDRASSI e8e0be2ad5 Update donation HTML page to use new PayPal donation links
We add javascript code to the page to handle dynamic selection of donation currency
2025-01-06 11:50:20 +01:00
Mounir IDRASSI a8c904813b Windows: Add missing file entry to Zip project after libzip update 2025-01-06 11:46:53 +01:00
Mounir IDRASSI 138e5e7c1d Windows: Update libzip to version 1.11.2 2025-01-01 10:37:56 +01:00
Mounir IDRASSI fcc6302e61 Windows: Update LZMA SDK to version 24.09 2025-01-01 10:37:18 +01:00
Mounir IDRASSI 4e85009f57 Windows: use modern API to gather system entropy for random generation instead of obsolete that were not working
This commit increases randomness quality by using more dynamic/varied sources of entropy.
PDH-based disk and network statistics collection in now added to random pool

- Introduced `GetDiskStatistics` to gather disk read/write performance data using PDH API.
- Introduced `GetNetworkStatistics` to gather network send/receive performance data using PDH API.
- Integrated high-resolution timestamps and random intervals to improve entropy in collected data.
- Updated `SlowPoll` function to utilize PDH-based disk and network statistics.
- Removed obsolete NetAPI32-based network statistics collection.
2024-12-27 00:56:50 +01:00
Mounir IDRASSI f3af65b007 Windows driver: Use IO_DISK_INCREMENT for event signaling in IRP completion routine
This provides a slight priority boost for waiting threads and maintains standard practice for disk device drivers.
2024-12-25 17:58:12 +01:00
Mounir IDRASSI d9e17522ee Windows: Update Windows version check on startup to require Win10 1809 or later
- Add IsWin10BuildAtLeast() helper function to check Windows 10 build numbers
- Replace direct build number comparison with IsWin10BuildAtLeast() for ReflectDrivers check
- Update error message to be more specific about Windows version requirement
2024-12-25 17:00:37 +01:00
Mounir IDRASSI 81f0adcc35 Windows Driver: set Windows 10 version 1809 as minimum.
To support this, we had to replace ExAllocatePool2 by ExAllocatePoolUninitialized.
2024-12-25 16:18:19 +01:00
Mounir IDRASSI 283059523d Windows Driver: make UpdateBuffer function more robust by adding security region size parameter 2024-12-25 16:09:10 +01:00
Mounir IDRASSI 650984c958 Linux: Fix warning during build cause by deprecated 'u' modifier in "ar" command 2024-12-25 11:42:37 +01:00
Mounir IDRASSI 3f8ac7cd51 Add XML validation Github workflow (contributed by Jertzukka github.com/Jertzukka/VeraCrypt/tree/ci) 2024-12-25 11:35:58 +01:00
Mounir IDRASSI ca331b8b34 Linux/macOS: Simplify sudo session detection logic and extend it to macOS
This update simplifies the logic for detecting active sudo sessions by checking the exit code of the sudo -n -l command, which reliably returns 0 if a session is active.

Additionally, this approach is now applicable to recent macOS versions, as they no longer have the sudo bug that previously prevented us from using this method.
2024-12-25 11:29:32 +01:00
Mounir IDRASSI 341411e935 Linux: Fix "Password too long" error message not expanded to include max length (#1456) 2024-12-24 09:24:23 +01:00
Mounir IDRASSI b6e698b376 Linux/macOS: check if volume doesn't exist before starting the mount operation. 2024-12-23 23:10:37 +01:00
Mounir IDRASSI f05ce4eaf3 Updated Russian translation of Release Notes (by Dmitry Yerokhin) 2024-12-22 23:40:34 +01:00
Mounir IDRASSI 57cc2473e7 Translations: Update Slovenian translation (contributed by Prof. Sasa Divjak) 2024-12-22 23:33:48 +01:00
Mounir IDRASSI 3bb5184645 Windows: Increment version to 1.26.17.2. Update signed drivers. 2024-11-27 01:05:55 +01:00
Mounir IDRASSI c98fc900d8 Windows Setup: Fix the implementation of backup/restore of file permission during update 2024-11-27 01:04:55 +01:00
Mounir IDRASSI 968b72947f Update Release Notes. 2024-11-26 23:59:38 +01:00
Mounir IDRASSI 3b4b0f618c Translations: Update Slovenian translation (contributed by Prof. Sasa Divjak) 2024-11-26 23:22:19 +01:00
Mounir IDRASSI 7e398c96d0 Windows: don't test sign driver by default in Release mode. 2024-11-25 00:15:47 +01:00
Mounir IDRASSI 0c5fcf2286 Windows Setup: Fix "Access Denied" issue during VeraCrypt update after a Windows upgrade
During a Windows upgrade, ownership of veracrypt.sys is set to TrustedInstaller, preventing VeraCrypt from accessing the file during an update.

This commit resolves the issue by temporarily taking ownership of the file to rename it, allowing the new file to be copied. The setup process now obtains additional privileges for this operation, which are properly dropped once the file copying is complete.
2024-11-25 00:05:50 +01:00
Mounir IDRASSI 8ad9e7d769 Set 1.26.17 release date to November 24th 2024-11-24 14:04:21 +01:00
Mounir IDRASSI b6f3d8a23a Translations: Fix issues in Slovenian translation. Complete translation of some entries 2024-11-24 13:46:08 +01:00
Mounir IDRASSI e798d88407 Translations: Update Slovenian translation (contributed by Prof. Sasa Divjak) 2024-11-24 13:43:34 +01:00
Mounir IDRASSI 53bbee3a7c Windows Driver: Set version to 1.26.17.1. Update signed drivers. 2024-11-24 11:26:41 +01:00
Mounir IDRASSI 453ff2880e Windows Driver: Make max work items count configurable. Increase default to 1024. Queue write IRPs.
- Made the maximum work items count configurable to allow flexibility based on system needs.
  - Increased the default value of max work items count to 1024 to better handle high-throughput scenarios.
  - Queue write IRPs in system worker thread to avoid potential deadlocks in write scenarios.
2024-11-23 17:44:48 +01:00
Mounir IDRASSI 5a85c54c6e Windows Driver: Optimize spinlock usage in CompleteIrpWorkItemRoutine
Reduce the critical section protected by spinlock to only cover the list manipulation operation. Move the ActiveWorkItems counter decrement outside the spinlock using InterlockedDecrement, and separate event signaling from the locked section.
This change minimizes time spent at raised IRQL (DISPATCH_LEVEL) and reduces potential for lock contention.
2024-11-22 15:19:10 +01:00
Mounir IDRASSI 9490336357 Windows: Update signed Windows drivers. 2024-11-20 01:11:15 +01:00
Mounir IDRASSI b85a2df224 Windows driver: use correct WDM type. Increment version to 1.26.17 2024-11-20 00:21:30 +01:00
Mounir IDRASSI f9b9a9ca9f Increment version to 1.26.16. Update Release Notes. Update signed Windows drivers. 2024-11-18 00:04:26 +01:00
Mounir IDRASSI 93868acfdd Windows Driver: Use system functions directly instead of dynamic loading since we are targeting Windows 10 2024-11-17 21:37:16 +01:00
Mounir IDRASSI 42fdbcf3ce Windows Driver: Fix deadlock in EncryptedIoQueue due to re-entrant IRP completions
There was a deadlock issue in the driver caused by the CompletionThreadProc function in EncryptedIoQueue.c:
https://sourceforge.net/p/veracrypt/discussion/general/thread/f6e7f623d0/?page=20&limit=25#8362

The driver uses a single thread (CompletionThreadProc) to process IRP completions. When IoCompleteRequest is called within this thread, it can result in new IRPs being generated (e.g., for pagefile operations) that are intercepted by the driver and queued back into the CompletionThreadQueue. Since CompletionThreadProc is the only thread processing this queue and is waiting on IoCompleteRequest, these new IRPs are not handled, leading to a system freeze.

To resolve this issue, the following changes have been made:

Deferred IRP Completion Using Pre-allocated Work Items:
  - Introduced a pool of pre-allocated work items (COMPLETE_IRP_WORK_ITEM) to handle IRP completions without causing additional resource allocations that could trigger new IRPs.
  - The CompletionThreadProc now queues IRP completions to these work items, which are processed in a different context using IoQueueWorkItem, preventing re-entrant IRPs from blocking the completion thread.

Thread-Safe Work Item Pool Management:
  - Implemented a thread-safe mechanism using a semaphore (WorkItemSemaphore), spin lock (WorkItemLock), and a free list (FreeWorkItemsList) to manage the pool of work items.
  - Threads acquire and release work items safely, and if all work items are busy, threads wait until one becomes available.

Reference Counting and Improved Stop Handling:
  - Added an ActiveWorkItems counter to track the number of active work items.
  - Modified EncryptedIoQueueStop to wait for all active work items to complete before proceeding with cleanup, ensuring a clean shutdown.

These changes address the deadlock issue by preventing CompletionThreadProc from being blocked by re-entrant IRPs generated during IoCompleteRequest. By deferring IRP completion to a different context using pre-allocated work items and managing resources properly, we avoid the deadlock and ensure that all IRPs are processed correctly.
2024-11-17 19:39:58 +01:00
Mounir IDRASSI 22c93dd64c Linux/macOS: make binary symbols visible in crash report. 2024-11-17 16:32:44 +01:00
Mounir IDRASSI b7f6270c0d Windows Driver: Add Unicode define to build and enhance tracing in debug mode 2024-11-16 18:33:28 +01:00
Mounir IDRASSI a588b20975 Windows: Fix driver crash caused by 32-bit leftover code in derive_key_blake2s function 2024-11-16 17:38:25 +01:00
Mounir IDRASSI 9c9870b103 Windows: Avoid modifying BootArguments structure and use __unaligned keyword to inform compiler that pointer is unaligned.
This avoids issues with existing bootloaders
2024-11-16 01:50:06 +01:00
Mounir IDRASSI c86577fc0e Windows: remove 32-bit logic from the code since we support only 64-bit. remove 32-bit EFI bootloader files.
We also fix intermediary files folder for Portable and Setup projects
2024-11-16 01:05:15 +01:00
Mounir IDRASSI 489d3e3873 Windows: Fix output directory configuration of COMREG project 2024-11-16 00:56:59 +01:00
Mounir IDRASSI a69cba98ec Windows: Fix regression in self-test of hash algorithms that caused them to fail 2024-11-16 00:51:32 +01:00
Mounir IDRASSI 3a5fe63224 Windows: Fix VS 2022 projects references 2024-11-15 21:40:56 +01:00
Mounir IDRASSI 62e956942a Windows: remove VS 2019 solution and project files since we migrated to VS 2022. 2024-11-15 18:36:19 +01:00
Mounir IDRASSI fff9e7275a Windows: Fix delayload link warning about comdlg32.dll not used. Remove unused old project files 2024-11-15 17:51:06 +01:00
Mounir IDRASSI 6d1ad12755 Windows: move main project files and solution from VS 2010 to VS 2022. Delete unused files. 2024-11-15 15:50:32 +01:00
Mounir IDRASSI ad39040fdc Windows: Fix warning when building Setup and Portable. No file elevation is used for them. 2024-11-15 15:47:28 +01:00
Mounir IDRASSI 214fbb5cbd Windows: Upgrade VS 2019 solution/projects to VS 2022. Remove Win32 configuration for driver and binaries.
Only setup remains 32-bit to be compatible with both x64 and arm64 Windows.
2024-11-15 14:22:45 +01:00
Mounir IDRASSI de9e472d10 Windows: Fix build of MBR bootloader 2024-11-15 11:16:19 +01:00
Mounir IDRASSI 21e61c8ded Windows: Fix warning in driver build by make get_pkcs5_iteration_count have a single return statement at the end 2024-11-15 11:15:41 +01:00
Mounir IDRASSI fc4a544180 Windows: Use VS builtin __fastfail intrinsic for fatal exception instead of affecting NULL pointer 2024-11-15 00:42:19 +01:00
Mounir IDRASSI 43ad4f93eb Windows: Fix various compiler warnings 2024-11-15 00:41:07 +01:00
Mounir IDRASSI 117d8dd046 Windows: Fix MBR bootload compilation error following latest changes 2024-11-15 00:38:09 +01:00
Mounir IDRASSI 951c8d210b Use portable alignment macro to be compatible with Linux/macOS 2024-11-13 09:36:06 +01:00
Mounir IDRASSI 75152f7dc0 Use adequate const qualifiers for pbkdf2 functions arguments 2024-11-13 09:28:32 +01:00
Mounir IDRASSI c63b74bbfe Linux: Fix build error following latest code cleanup 2024-11-13 09:16:49 +01:00
Mounir IDRASSI cb97351250 Windows: Remove support for 32-bit driver code. Set build target as Windows 10. Simplify code and fix all warnings in driver. 2024-11-13 02:08:51 +01:00
Mounir IDRASSI ec4b44c238 Windows: Use BCryptGenRandom instead of deprecated CryptGenRandom to generate secure random bytes 2024-11-13 02:04:13 +01:00
Mounir IDRASSI a1ade61c59 Linux: Fix build error caused by changes for dynamic CPU SHA support detection 2024-11-11 00:04:46 +01:00
Mounir IDRASSI 262b745940 Linux: Fix detection of SHA CPU support on virtualized environment by trying SHA instruction 2024-11-10 23:36:57 +01:00
Mounir IDRASSI 73684e56d8 Linux: Fix build error following SHA intrinsic support changes 2024-11-10 21:42:24 +01:00
Mounir IDRASSI 04c747fb2d Add support for SHA-256 x86 instrinsic for enhance performance of PBKDF2-HMAC-SHA256 2024-11-10 21:08:00 +01:00
Mounir IDRASSI fcc0c82836 Translations: Fix missing lang id in Romanian translation 2024-11-09 11:35:16 +01:00
TigerxWoodandGitHub 71e4725755 Update Language.ro.xml (#1434) 2024-11-09 11:17:12 +01:00
Mounir IDRASSI 92ad97ef33 Linux: Improve directory opening logic by prioritizing xdg-open and adding fallback mechanisms (#1420)
- Use xdg-open as the primary method for opening directories, ensuring compatibility with most Linux environments.
- Implemented fallback logic to try other known file managers (e.g., nautilus, dolphin, caja, thunar) if xdg-open is unavailable or fails.

Based on proposal by @bugtracker2019
2024-09-24 03:55:33 +02:00
Mounir IDRASSI ba8dd5137a Linux: Add Fedora as supported distribution in CMakeLists.txt 2024-09-22 11:46:01 +02:00
Mounir IDRASSI 68e2e01745 Windows: Fix EFI configuration editor various issues
We always using Unicode functions to interact with UI. We convert UTF8 string to UTF16 and vis-versa.
Overwrite input string instead of using resize that caused old test to remain.
Fix case of readOnly by using correct message.
change position of OK/cancel button to match other dialogs.
Activate translation on this dialog.
2024-09-19 00:36:31 +02:00
Mounir IDRASSI aaf42a84a7 Linux: fix assert by wxWidgets library included in Ubuntu. 2024-09-18 15:08:31 +02:00
Mounir IDRASSI 380850787e Windows: Simplify error message related to IsEfiBoot since it always fail with ERROR_INVALID_FUNCTION
Proposed by @kriegste on https://github.com/veracrypt/VeraCrypt/issues/360
2024-09-17 18:25:52 +02:00
Mounir IDRASSI 866fc8f513 macOS: fix regression in build script that caused it to ignore fuset switch
fixed by Mattoje #1417
2024-09-17 17:57:14 +02:00
Mounir IDRASSI 5c485e80b6 macOS: restrict --allow-screencapture switch to macOS only since screen protection doesn't work on Linux
In the code we also enable it for TC_WINDOWS but actually we don't use wxWidgets for Windows build.
2024-09-17 00:12:28 +02:00
Deniz TürkogluandGitHub e0a46f6b2b Add Option to Enable/Disable Screen Capture (#1418)
Veracrypt currently appears in screenshots and screen captures,
which can unintentionally expose sensitive information, such as
the fact that Veracrypt is running or the location of your volumes.

Both Windows and macOS offer mechanisms to exclude specific windows
from being captured. While not foolproof, this is a useful preventative
measure. The method is a no-op for Linux/FreeBSD.

For more details on the wxWidgets API, see:
https://docs.wxwidgets.org/3.2/classwx_top_level_window.html#a337b9cec62b0cbd3b1b1545a83270f64
2024-09-17 00:05:21 +02:00
Mounir IDRASSI eb0eec7b39 Windows: Fix failed EFI detection on some PCs where BootOrder variable is not defined.
we now report that EFI is not support only when GetFirmwareEnvironmentVariable fails with error ERROR_INVALID_FUNCTION.

Proposed by @kriegste on https://github.com/veracrypt/VeraCrypt/issues/360
2024-09-16 23:11:37 +02:00
Mounir IDRASSI 3a1c8bac59 macOS: enhance macOS build script(allow local build, specify wxWidgets version, control packaging)
Based on proposal by @Mattoje in https://github.com/veracrypt/VeraCrypt/issues/1417
2024-09-16 22:42:43 +02:00
JonatanandGitHub 35eeacad0a Update Language.sv.xml (#1416)
* Update Language.sv.xml

* Update Language.sv.xml

* Update Language.sv.xml
2024-09-15 09:28:00 +02:00
Mounir IDRASSI 01dfd0e72b Linux/macOS: Fix missing define that was causing compilation error 2024-09-10 23:32:42 +02:00
Mounir IDRASSI 40f0174408 Translations: Fix wrong escape sequences in Swedish translation (fixed by @an1 on Sourceforge) 2024-09-10 23:08:52 +02:00
Mounir IDRASSI 4a8f068ba5 Windows: Add support for x86 and x64 build for driver and binaries using Visual Studio 2019
We also enable Control Flow Guard and Spectre Mitigation
2024-09-08 17:14:31 +02:00
Mounir IDRASSI 66ce6998b6 Windows: use wcstok_s instead of wcstok for more secure parsing of directory path 2024-09-08 17:10:56 +02:00
Mounir IDRASSI b2e55df00c Documentation: Update CHM user guide 2024-09-02 21:16:47 +02:00
Mounir IDRASSI 4a4cfcdb84 Update Release Notes to mention the fix of EFI regression 2024-09-02 21:07:39 +02:00
Mounir IDRASSI 0970a98c84 Windows: Fix bug in disabling of Windows privileges, they were completely removed instead
This started to cause issues after latest changes to disable privileges when they are no more needed.
Because of the bug, the privileges could not be enabled again because they were wrongly removed.
2024-09-02 14:08:26 +02:00
Mounir IDRASSI f024653450 Windows: Fix truncated displayed error message 2024-09-02 14:02:46 +02:00
Mounir IDRASSI 68ade5717b Windows: Update Release Notes for 1.26.15 release to mention MSI related changes 2024-09-01 22:46:42 +02:00
Mounir IDRASSI 9ec7c27c59 Translations: update Russian translation file by Dmitry Yerokhin. 2024-09-01 22:25:14 +02:00
Mounir IDRASSI dd33a16bb0 Windows: Ensure that installation folder is removed after MSI uninstall by scheduling removal on reboot if needed 2024-09-01 22:19:07 +02:00
Mounir IDRASSI 279b3455a1 Windows: Fix MSI not overwriting existing data files (chm, html, xml) with new version
We use Checksum attribute so that MSI compares hash of file on disk with expected value and trigger overwrite if they differ
2024-09-01 18:01:26 +02:00
Mounir IDRASSI 71dc18aaa2 Windows: Fix MSI not installing all new documentation file. Remove old files left from old versions. Increment version to 1.26.15. 2024-09-01 17:20:01 +02:00
Mounir IDRASSI 61fe6cc82f Documentation: Fix wrong version in Language Packs.html 2024-08-31 09:39:29 +02:00
Mounir IDRASSI 28b20acab0 Wndows: Fix error 1603 returned by MSI silent install when REBOOT=ReallySuppress specified and a reboot is required
In this case, installation was done by the customer action VC_CustomAction_DoChecks was returning the error ERROR_INSTALL_FAILURE (1603)nevertheless.
Now we return success code correctly.
2024-08-30 15:21:21 +02:00
Mounir IDRASSI b5c7f628d8 Documentation: Update CHM documentation 2024-08-26 04:34:00 +02:00
Mounir IDRASSI 1cf6150458 Documentation: Indicate TrueCrypt 6.x and 7.x for the supported TrueCrypt volumes until 1.25.9 2024-08-25 22:19:49 +02:00
Mounir IDRASSI 500cbeebdf Translations: Update Russian translation by Dmitry Yerokhin 2024-08-25 21:45:32 +02:00
Mounir IDRASSI fa874cc611 Linux: Add script to sign generated rpms 2024-08-25 18:56:41 +02:00
Mounir IDRASSI af734f41df Increment version to 1.26.14. Set release date to August 25th. 2024-08-25 09:55:44 +02:00
Mounir IDRASSI d6f0250901 Linux/MacOSX: Only load valid XML language files (Language.langid.xml format with langid one of the predefined language identifiers) 2024-08-25 09:36:38 +02:00
Mounir IDRASSI 380ca35c6d Windows: Fix regression causing crash when a wrong password is used when changing password of volumes 2024-08-24 18:02:16 +02:00
Mounir IDRASSIandGitHub 25c88fe3d3 Revert "Add Hausa translation (#1404)" (#1407)
This reverts commit ce9537f2b8.
2024-08-22 06:53:26 +02:00
Marius KjærstadandGitHub ce9537f2b8 Add Hausa translation (#1404) 2024-08-21 20:20:46 +02:00
Mounir IDRASSI 695d1735a0 Windows: Only load valid XML language files (Language.xx.xml or Language.xx-yy.xml format) 2024-08-21 09:24:57 +02:00
Mounir IDRASSI 0f94015041 Windows: Enhance packaging batch file to bundle only valid XML language files
This prevents the inadvertent inclusion of XML file artifacts (e.g., Language.fr - Copy.xml) during the creation of installers.
2024-08-21 07:32:04 +02:00
Marius KjærstadandGitHub 43df2de56d Added some translations to Arabic (#1403) 2024-08-21 06:19:05 +02:00
Mounir IDRASSI 1afab5090e Documentation: refinements, update Russian documentation. 2024-08-20 09:32:04 +02:00
Mounir IDRASSI 84519517d5 Documentation: Update documentation for TrueCrypt conversion 2024-08-20 07:48:20 +02:00
Mounir IDRASSI 7b7361e63b Translations: fix wrong name in an entry id in Ukrainian translation. 2024-08-20 06:14:25 +02:00
Marius KjærstadandGitHub f822c8782c Added some translations to Ukrainian (#1402) 2024-08-20 06:12:21 +02:00
Mounir IDRASSI b630c724b4 Add newly added HTML documentation page to the CHM documentation 2024-08-17 16:18:36 +02:00
Mounir IDRASSI e9af67fe14 Add missing entry in the Release Notes 2024-08-17 15:31:38 +02:00
Mounir IDRASSI 2ea486e856 Update Release Notes. Set release date to August 17th. 2024-08-17 15:14:33 +02:00
Mounir IDRASSI a9ac7320cd Documentation: Add conversion guide for deprecated features. Mention hidden volumes in TrueCrypt conversion 2024-08-17 15:08:56 +02:00
Mounir IDRASSI 2cce7c89fd Translations: Fix encoding issue in Japanese XML file 2024-08-17 09:20:34 +02:00
Mounir IDRASSI eabe1d2e94 Translations: Fix XML issues in Thai language file 2024-08-17 09:19:57 +02:00
Marius KjærstadandGitHub a1d38940c1 Added some translations to Thai (#1401) 2024-08-17 08:01:42 +02:00
Mounir IDRASSI 17ad739405 Windows: better handling of reading EFI variable to display help error messages in case of failure.
Now we accept the possibility of BootOrder EFI variable to be empty in order to try to solve issues on some PCs.
2024-08-14 10:58:52 +02:00
JertzukkaandGitHub ae65707649 Update Finnish translation and few xml errors (#1400) 2024-08-13 23:58:48 +02:00
Mounir IDRASSI c167799506 Windows: fix build failure for x86/x64 with newer Visual Studio that use Windows 10/11 SDK
We set Windows 8 as minimum API support fir Visual Studio 2015 and newer.

Closes #1398
2024-08-13 15:12:21 +02:00
Mounir IDRASSI 4f60394999 Translations: update Korean translation file 2024-08-13 03:17:30 +02:00
Mounir IDRASSI f877901154 Translations: Update Turkish translation. 2024-08-13 00:36:11 +02:00
Mounir IDRASSI 34ecb3a74d Fix another typo of "CPLC" is language files including English one. 2024-08-11 04:31:19 +02:00
Mounir IDRASSI 01a6059817 Translations: update Italian translation 2024-08-11 03:36:26 +02:00
Mounir IDRASSI 81f7d9997c Revert changes mistakenly included in previous commit 2024-08-11 01:24:14 +02:00
Mounir IDRASSI d0fdc29d25 Fix typo of "CPLC" is language files including English one. 2024-08-11 01:22:24 +02:00
PatriccolluandGitHub 90ec08d189 Update Corsican translation on 2024-08 (2nd) (#1396) 2024-08-11 01:11:02 +02:00
JonatanandGitHub 92684fad9c Update Language.sv.xml (#1395) 2024-08-10 09:36:38 +02:00
Mounir IDRASSI 7f98200d53 Translations: Update Spanish translation 2024-08-10 04:37:55 +02:00
Mounir IDRASSI b3c8d62c46 Translations: Update Japanese translation 2024-08-10 03:46:04 +02:00
JonatanandGitHub 17e51cd6e2 Update Language.sv.xml (#1394) 2024-08-09 13:44:50 +02:00
Ettore AtalanandGitHub a70c62d982 Update German translation (#1391) 2024-08-06 21:29:09 +02:00
nkh0472andGitHub cb7094aaab Update Language.zh-cn.xml (#1390)
for commit 715380afbb
2024-08-06 15:18:27 +02:00
Mounir IDRASSI 715380afbb Update mount failure error messages to mention removal of TrueCrypt support and old algorithms. 2024-08-05 21:42:31 +02:00
lollolongandGitHub 321637e0e0 Windows: disable dropdown split button in volume expander (#1389) 2024-08-05 20:52:01 +02:00
Marius KjærstadandGitHub d4f2176e25 Undeclared identifier for IDR_LANG_NB fixed (#1388) 2024-08-05 19:32:00 +02:00
Mounir IDRASSI 29c78490ef Update Release Notes. Set release date to August 4th. 2024-08-04 11:27:49 +02:00
Mounir IDRASSI c8b9a73916 Windows: Fix rare cases being stuck in Secure Desktop after it is used for password entry
Cause seems to be IME as documented in KeePass project (https://keepass.info/help/kb/sec_desk.html#ime). We use the same approach as KeePass to disable IME in Secure Desktop.
This commit also add few changes:
  - we switch to secure desktop only if SetThreadDesktop succeeds
  - we call SwitchDesktop to switch to original desktop only if we actually succeeded in displaying secure desktop
2024-08-04 10:25:12 +02:00
Mounir IDRASSI 71215f1a25 Translations: Fix typo in Norwegian translation 2024-08-04 01:11:37 +02:00
Thomas De RockerandGitHub 62a5c4c5d7 Update Language.nl.xml (#1387) 2024-08-03 12:00:32 +02:00
d3c53d6c94 Add missing translated entries to Norwegian language file. (#1386)
Translation was done using gpt-4o (multi-shot) and validated with Claude Sonnet 3.5 and Google Gemini 1.5 Pro Experimental 0801

Co-authored-by: Mounir IDRASSI <mounir.idrassi@idrix.fr>
2024-08-03 09:38:23 +02:00
Marius KjærstadandGitHub 75b2512dba Add Norwegian Bokmål translation (#1382)
* Add Norwegian Bokmål translation

* Fix Norwegian Bokmål translation
2024-08-03 05:52:44 +02:00
MatthaiksandGitHub 09c261fc71 Update Polish translation (#1383) 2024-08-03 05:46:23 +02:00
PatriccolluandGitHub 6a7257156a Update Corsican translation on 2024-08 (#1384) 2024-08-03 05:37:07 +02:00
风之暇想andGitHub 672d302264 Update Language.zh-cn.xml (#1385)
翻译
2024-08-03 05:30:33 +02:00
Mounir IDRASSI 86bc9b56f0 Increment version to 1.26.13. Update release notes. Update signed Windows drivers. 2024-08-02 00:55:32 +02:00
Mounir IDRASSI 26be912600 Translations: Add newly added string for XTS vulnerability detection 2024-08-02 00:28:07 +02:00
Mounir IDRASSI ed1263bf8c Implement detection of volumes with vulnerable XTS master key.
If vulnerability detected, a warning message is displayed during mount or backup/restore header, and changing the password is disallowed since it will not change the master key.
2024-08-02 00:20:53 +02:00
Mounir IDRASSI 6121ca0239 Windows: fix failure of PowerShell script to create container from a large directory
we now add a safety factor and extra space to better account for exfat filesystem overhead.
2024-07-27 00:55:22 +02:00
Mounir IDRASSI 1e92048017 Tests: refactor test batch script, clear and better code. 2024-07-26 11:31:28 +02:00
Mounir IDRASSI 3d76bb8f67 Tests: remove RIPEMD160 test container, add blake2s one. Enhance batch script. Harmonize test containers. 2024-07-25 14:22:39 +02:00
Mounir IDRASSI 70cd0c0b1b Update CHM documentation. Use correct date of 1.26.12 in header. 2024-07-24 14:01:07 +02:00
Mounir IDRASSI 462c10fbbd Windows: Update WiX and SDK paths in build bat files 2024-07-24 13:55:55 +02:00
Daniel Dias RodriguesandGitHub addf94e214 Updated pt-br translation. (#1379) 2024-07-21 01:28:24 +02:00
Mounir IDRASSI 1ee93df3b4 Linux: fix linker type confusion that was causing crash.
The class AdminPasswordRequestHandler was defined in several places in the same namespace and the linker was picking up one definition for constructor and the other one when calling virtual method.

Now we use different named for different implementations.
2024-07-13 10:14:52 +02:00
Marius KjærstadandGitHub bb67a22ac4 Documentation: Update QR codes and logos (#1376)
* Documentation: Update QR codes and logos

* Add QR codes in 200x200 resolution
2024-07-11 23:19:09 +02:00
Mounir IDRASSI 526f03100f Linux: fix typo 2024-07-10 12:09:57 +02:00
Mounir IDRASSI 1312c537f5 Linux: fix crash when displaying Admin password dialog. Fix failure of Github action by using builtin GITHUB_TOKEN 2024-07-10 11:09:10 +02:00
Mounir IDRASSI 82b9eef880 Documentation: Update release notes and other pages 2024-07-07 23:15:48 +02:00
Mounir IDRASSI 29878ae569 Documentation: Update BTC, ETH and LTC addresses QR codes to include the cryptocurrency name in the encoded address 2024-07-07 22:39:21 +02:00
Mounir IDRASSI c54c458324 Documentation: Add warning note in TrueCrypt conversion page about TrueCrypt checkbox use after volume is converted 2024-07-07 18:31:25 +02:00
Mounir IDRASSI cd90170f5d Activate Github workflow for master branch 2024-07-06 16:40:16 +02:00
Mounir IDRASSI 9b87199ca5 Activate Github linux workflow for main branch 2024-07-06 16:39:22 +02:00
Mounir IDRASSIandGitHub bc5c32ad14 Linux: Add Github CI workflow for Linux (#1374)
* Linux/MacOSX: during build, fallback to /tmp if wxWidgets sources not found in parent directory

* Linux: Add Github workflow to build .deb files and test generated binaries

* Linux: fix wrong wxWidgets extract path in yaml

* fix: fix wrong wxWidgets extract path in yaml

* Linux: harmonize content of test volumes and update Github workflow for this

* Fix corrupted test container

* Linux: optimize Github workflow by caching wxBuildConsole and wxBuildGUI folders

We also modify build script to detect the presence of wxBuildConsole and wxBuildGUI folders and reuse them

* Remove files mistakenly added

* Linux: Fix wrong test for Github workflow

* Linux: use static build of wxWidgets for GUI in Github workflow

* Linux: upload also .deb SHA256SUM file if it is generated in Github workflow

* Linux: fix detection logic of parent folder in build scripts

* Github workflow: add build_cmake_deb.sh as trigger to build-linux.yml

* Github workflow: add wxWidgets source code to the cache of workflow
2024-07-06 16:36:56 +02:00
Sébastien GeeraertandGitHub 3095fc265a Fix typos in the French translation (#1373) 2024-07-06 08:23:05 +02:00
Mounir IDRASSI f83e252722 Linux/FreeBSD: Improve build scripts for Linux/FreeBSD to have correct name for generic GUI installer 2024-07-05 12:15:13 +02:00
Mounir IDRASSI 1ba6865ea1 Linux: Add linker flag for GCC version below 6.0 to improve ASLR security
Reported on https://sourceforge.net/p/veracrypt/discussion/technical/thread/90f967e642
reference: https://grsecurity.net/toolchain_necromancy_past_mistakes_haunting_aslr
script to check: https://github.com/opensrcsec/paxtest/blob/master/contrib/check_align.sh
2024-07-05 10:36:04 +02:00
Ozero4andGitHub d7e442258a Update Language.fr.xml (#1372) 2024-07-04 02:04:18 +02:00
JertzukkaandGitHub ca69368ba4 MacOS: Support CommandLineTools for building (#1371)
Full Xcode application which can take up-to 40GB of disk space is not
necessary for building VeraCrypt, rather the CommandLineTools for XCode
are sufficient which only take few gigabytes. Instead of hardcoding the SDK
location, use xcrun --show-sdk-path to support also the CommandLineTools
instance.

The reason for switching the logic for the XCode version is because the
xcodebuild will not report a correct XCode version for the CommandLineTools,
thus it can't be relied for whether to use the -Wl,-ld_classic flags.
Instead, we can just check the ld version in use in the active developer
directory, and see whether we are using dyld (the new) or ld64 (the old).
2024-07-01 22:35:31 +02:00
Mounir IDRASSI 9697416919 Linux: Make the C++ code compatible with old compilers (g++ 4.4.7 on CentOS 6) 2024-06-30 01:22:05 +02:00
Marius KjærstadandGitHub 1e7d6948c9 Line breaks between copyright holders (#1370) 2024-06-29 22:57:00 +02:00
Mounir IDRASSI 34c4c19517 Linux/FreeBSD: Fix GNU Make syntax error in Main.make 2024-06-26 09:54:56 +02:00
Mounir IDRASSI 2148714651 Linux/FreeBSD: Update build scripts: use wxwidgets 3.2.5, drop explicit GTK3 config since it detected automatically
We also update copyrights date
2024-06-26 02:29:22 +02:00
Mounir IDRASSI 31898a38d4 Linux/FreeBSD: use GTK3 flavor for default generic gui installer. create GTK2 specific gui installer. 2024-06-26 02:23:57 +02:00
Mounir IDRASSI 6f29514191 Linux/FreeBSD: automatically detect presence of GTK3. Remove WITHGTK3 makefile argument. 2024-06-26 01:31:23 +02:00
JertzukkaandGitHub f934f45c2d Fix error in translation xml (#1368)
Needed to pass xml validator
2024-06-24 09:08:07 +02:00
JertzukkaandGitHub 292fe82840 Fix regression in core service deserialization (#1367)
Introducing data into the standard out in the core service will
cause deserialization problems, as the pipes are used for interprocess
communication.
2024-06-24 09:07:19 +02:00
Mounir IDRASSI 0ea32b02b9 MacOSX: Fix compiler warning
Update friend declaration in FuseService.h and refactor GetCharWidth to ComputeCharWidth in WaitDialog.h to avoif hiding GetCharWidth inherited from wxWindow
2024-06-23 22:43:14 +02:00
Mounir IDRASSI f1f626cc56 Increment version to 1.26.12 2024-06-23 21:37:59 +02:00
Mounir IDRASSI 01361e300f MacOSX: set FUSE-T workaround max delay to 5 seconds. Make logic specific to FUSE-T volumes. 2024-06-23 16:57:18 +02:00
Mounir IDRASSI a23da988d2 MacOSX: Disable libtiff support in wxWidget full build 2024-06-23 16:54:43 +02:00
Mounir IDRASSI 210827d27c MacOSX: Add notarization script and entitlements file used to create official VeraCrypt dmg 2024-06-23 12:55:13 +02:00
Mounir IDRASSI 5ca2eee624 MacOSX: use same version define in Info.plist files. Indicate 12.0 as minimum supported macOS version 2024-06-23 12:52:35 +02:00
Mounir IDRASSI 875a1da0fb macOSX: Add "FUSE-T build" in About dialog when linking against FUSE-T instead of MacFUSE 2024-06-23 12:50:40 +02:00
Mounir IDRASSI 423352056e Update copyright date in some files 2024-06-23 12:49:08 +02:00
Mounir IDRASSI 03ad95164b Increment version to 1.26.11. Update Release Notes. 2024-06-23 12:43:26 +02:00
Mounir IDRASSI edde1d45f6 MacOSX: Add for using FUSE-T instead of MacFUSE
The build script build_veracrypt_macosx.h now accepts the argument -f to enable fuse-t support.
It is also possible to set the environment variable VC_OSX_FUSET to 1 for FUSE-T support.
A change was done in CoreUnix::GetMountedVolumes to add a waiting loop  for control file to be accessible because when using FUSE-T there always a delay before control file can be serialized.
2024-06-22 01:13:20 +02:00
Mounir IDRASSI 8b01b533cf MacOSX: Fix compilation error in build configurations other than official release 2024-06-21 09:48:18 +02:00
Mounir IDRASSI c370d4887c Linux: Fix assembly files not built on Linux
This is a regression caused by macOS changes. And endif statement was misplaced.
2024-06-19 09:02:31 +02:00
Mounir IDRASSI 779d755eac fix: Correct missing 'endif' in Main.make for MacOSX section
Replaced an incorrect 'end' statement with 'endif' in the
MacOSX-specific section of the Main.make file. This resolves the make
error caused by an unclosed conditional block.
2024-06-18 23:36:16 +02:00
Deniz TürkogluandGitHub 688086011d Improve documentation (#1360)
* Improve markdown documentation in README.md

This commit fixes some of the minor spelling mistakes and uses
markdown formatting to link to local files, for documentation.

* Remove reference to outdated packages installation

This is a legacy installation file that is no longer maintained.
2024-06-18 00:49:11 +02:00
Mounir IDRASSI 329866ae4c MacOSX: Update macOS specifics part of the Readme 2024-06-16 21:32:05 +02:00
Mounir IDRASSI 8b73ccd07a MacOSX: Fix whitespaces by using tabs in Makefile 2024-06-16 15:50:59 +02:00
Mounir IDRASSI e4e83d30c1 MacOSX: Use wxWidgets 3.2.5. Detect SDK version dynamically. Remove unused "r" getopts option. 2024-06-16 15:28:33 +02:00
Mounir IDRASSI 978ebe6693 MacOSX: Fix skipping codesign and productsign for local development build 2024-06-16 15:10:57 +02:00
Mounir IDRASSI a92cefa605 MacOSX: Add universal binary of yasm so that it can run on arm64 machines 2024-06-16 14:49:15 +02:00
Mounir IDRASSI 8a4962dc07 MacOSX: Better build flags logic handling. Suppress Xcode 15 linked warning. 2024-06-16 14:46:31 +02:00
Deniz TürkogluandGitHub 406a1686f5 Improve and simplify macOS builds (#1276)
* Add missing macOS requirement for 'make package'

We need packages for the last build step on macOS, update docs
to reflect the requirement.

* Add build instructions using homebrew

On macOS, we can use a package manager to easily install
dependencies. This simplifies onboarding and building Veracrypt.

* Add flag to use homebrew packages

When building, we can use prebuilt wxwidgets from homebrew to
simplify and speed up local building. We also put the package
behind a flag as it's optional during development.

* Skip signing for local builds

When building with homebrew, skip signing. This can be put behind
a flag to enable, if needed.

* Use system yasm on macOS if available

The binary in the repo is not universal (x86_64) and therefore
building fails on arm architecture if Rosetta is not installed.

Use local yasm if available.

* Build local arch only in development

When building via homebrew and locally, build only the local arch
which skips ASM for arm(Mx) for MacOS. This removes the need to
have rosetta installed for building.

* Fix compilation issue when COMPILE_ASM is undefined

Use a conditional check for COMPILE_ASM not being false instead of true.
This avoids passing the variable to other parts of the build script.

* Set SDK 12 as the minimum requirement and target

Align the requirement to SDK 12 in both the makefile and script,
and update the comment to remove confusion.
I chose to leave this on 12 to be on the side of err and support
as many building platforms as possible, when we can support.

The local script now also sets the target using the local sdk
version. This should improve the local development experience.

* Fix wrong architecture for macOS in x86 builds

We now build only the current arch for local development builds
in macOS. This change also fixes the x86 builds failing.

* Add instructions brew backed macOS local builds

Flags to build a local build using homebrew packages are not
default and require parameter -b to build. We also don't build
packages directly, which requires -p.

* Fix wxwidgets not linking in local x86 macOS development builds

* Clarify build location in the document
2024-06-16 10:39:18 +02:00
Mounir IDRASSI 455a4f2176 Avoid conflict with C++17 features std::byte by using uint8 type instead of byte 2024-06-12 12:30:04 +02:00
JertzukkaandGitHub bf9f3ec4f0 Avoid assert by verifying installed languages exist (#1354)
wxDir::GetAllFiles will throw an assert when opening the preferences dialog
if for some reason the user has not installed VeraCrypt properly and is
missing the intended folder. This patch adds a check to ensure the folder
first exists before querying its files.
2024-06-03 23:10:53 +02:00
JertzukkaandGitHub ea7489b93b FreeBSD: Support automatic detection and mounting of ext2/3/4, exFAT, NTFS filesystems (#1350) 2024-06-03 15:57:46 +02:00
JertzukkaandGitHub bd1e772657 FreeBSD: Fix privilege escalation prompts not showing up (#1349)
The behaviour of `wc -l` is different on FreeBSD, in which the stdout
result is padded by spaces in the beginning, which causes that the
result[0] is not actually the value we care about. This patch adds
a translate removing all whitespace from the output.
2024-06-03 08:09:54 +02:00
Mounir IDRASSI 6ac3b02a24 Linux: enhancements to build_cmake_deb.sh script. Use wxWidgets 3.2.5 2024-05-21 00:34:17 +02:00
Mounir IDRASSI 01d414c3fe Linux: Update dependencies for debian packages on Ubuntu 24.04 and Debian 13
packages were renamed and we linked statically against wxWidgets in GUI mode because of a bug in wxWidegts that was solved in 3.2.5 (https://github.com/wxWidgets/wxWidgets/issues/24081)
2024-05-21 00:32:31 +02:00
JertzukkaandGitHub 114624b3a5 Prepare for changes in wxWidgets 3.3 (#1343)
* Move from deprecated wxScopedPtr to std::unique_ptr
wxScopedPtr was included previously through some header hierarchy which as of 3.3 is
no longer the case causing it to break. But instead of including a header for a deprecated
function explicitly, just move to std::unique_ptr as recommended by upstream.

* Convert to explicit conversions from wxString
As of https://github.com/wxWidgets/wxWidgets/pull/23449/commits/35c35c235e9c29b40002131602e050dca8d65b8c
wxWidgets defaults to STL classes, which has a side-effect that
some implicit conversions break. This patch converts those conversions
to explicit in anticipation of wxWidgets 3.3 release.
2024-05-18 03:46:39 +02:00
JertzukkaandGitHub 55c3a8dc58 Fix incorrect max hidden volume size for file containers on CLI (#1338)
Currently the maximum hidden volume size for file containers is
limited by available free space on the device the file container
resides on, which we do not care about. This commit changes so
that only Normal volumes get their `maxVolumeSize` limited by
`AvailableDiskSpace`. Also the --size=max parameter is restricted
from hidden volume creation as there is no way to determine a good
size as we do not mount the outer volume through the CLI process
flow to determine available free space on the outer volume.
2024-05-08 19:00:09 +02:00
Mounir IDRASSI e96f3035d9 Windows: Enhance memory protection mechanism by preventing process owner from granting permissions to itself. 2024-05-08 17:31:57 +02:00
Mounir IDRASSI 6d37bd662e Update Korean translations (By Kangjun Heo, 0x00000FF@github) 2024-04-19 09:25:12 +02:00
Daniel Dias RodriguesandGitHub da56ba89d2 Updated translation: pt-br. (#1306)
* Updated translation: pt-br.

* Translation pt-br fixes: MIP to PIM, period etc.

* Translation pt-br: IDT_FILE_SYS, plural form.
2024-04-11 21:23:43 +02:00
Mounir IDRASSI 5679f4fcae Spanish translation file: fix minor punctuation error (double period) 2024-04-10 23:58:07 +02:00
RoboSchmiedandGitHub c446773823 Fix: 7 typos (#1324)
Signed-off-by: RoboSchmied <github@roboschmie.de>
2024-04-10 23:50:05 +02:00
pji2918andGitHub bd4566fe1f Update Korean Translation (#1291)
* Update Korean Translation

Signed-off-by: pji2918 <son77391@gmail.com>

* fix typo

Signed-off-by: pji2918 <son77391@gmail.com>

* fix minor typo

Signed-off-by: pji2918 <son77391@gmail.com>

* fix typo

Signed-off-by: pji2918 <son77391@gmail.com>

* fix typo

Signed-off-by: pji2918 <son77391@gmail.com>

* fix typo

Signed-off-by: pji2918 <son77391@gmail.com>

* fix typo

Signed-off-by: pji2918 <son77391@gmail.com>

* fix typo

Signed-off-by: pji2918 <son77391@gmail.com>

* fix typo

Signed-off-by: pji2918 <son77391@gmail.com>

---------

Signed-off-by: pji2918 <son77391@gmail.com>
2024-04-10 23:36:05 +02:00
风之暇想andGitHub 8711b3c5a9 Update Language.zh-cn.xml (#1315)
* Update Language.zh-cn.xml

修正错误

* Update Language.zh-cn.xml
2024-04-10 19:36:40 +02:00
DLL125andGitHub ecf1047019 update zlib + copyright (#1302) 2024-04-10 18:47:29 +02:00
MayanTiggerandGitHub ce2a254c51 07Feb23-Update Language.es.xml (#1301) 2024-04-10 18:24:09 +02:00
JertzukkaandGitHub f846a808d1 Correct exceptions to match the correct language strings (#1299)
Fixes the order of the language strings to match the correct
exceptions.
2024-04-10 17:58:37 +02:00
JertzukkaandGitHub dc8d8ce404 Unix CLI: Don't initially re-ask PIM if it was already specified (#1288)
We don't need to reset PIM in PasswordException as it is immediately
fell back to if PIM is specified in text mode, but password is not.
This causes an exception that resets the PIM when it shouldn't.
2024-04-10 10:44:01 +02:00
JonatanandGitHub afc6215074 Update Swedish translation (#1287)
* Update Swedish translation

Fix typos

* Fix typo

Fix typo

* Update Swedish translation

* Revert last change
2024-04-10 10:42:45 +02:00
Mounir IDRASSI 6e28375060 Translations: Update Spanish translation 2023-12-16 00:51:36 +01:00
Mounir IDRASSI 34664e338d Spanish Translation: fix typos and enhancements 2023-12-15 00:46:39 +01:00
MayanTiggerandGitHub add8ef71b1 Update Language.es-22Nov23.xml (#1261)
Hello:
I think of there were a regression of the fields already translated. 
Now translated 
1441, 1443 up to 1451

Have a great day!
2023-12-15 00:39:11 +01:00
JonatanandGitHub fd156affd5 Update Swedish translation (#1278) 2023-12-15 00:29:40 +01:00
nkh0472andGitHub a576f4bb52 Update Language.zh-cn.xml (#1259) 2023-12-11 09:30:53 +01:00
JonatanandGitHub 9aa217462e Update Swedish translation (#1270)
* Update Language.sv.xml

* Fix typo

* Fix typo

* Fix typo
2023-12-11 09:17:09 +01:00
PatriccolluandGitHub 4d4b04cb7b Update Corsican translation on 2023-11 (#1258) 2023-12-11 09:12:17 +01:00
Mr-UpdateandGitHub e8bf081340 Update Language.de.xml (#1262) 2023-12-11 09:11:35 +01:00
JertzukkaandGitHub 801c3ab966 Linux: Allows GUI to launch in a Wayland-only environment (#1264)
Currently we check whether the system has DISPLAY environment variable
set, which is the case in a system that uses X11 natively or XWayland.
This variable is not set in a system with only Wayland, so we need to
also check whether WAYLAND_DISPLAY is set.

Fixes: #184
2023-12-11 09:11:07 +01:00
JertzukkaandGitHub 87a9508fdd macOS: Use correct Disk Utility location when "check filesystem" is ran (#1273) 2023-12-11 09:07:37 +01:00
JertzukkaandGitHub ff93a6021f macOS: Fix near zero width PIM input box and simplify wxTextValidator logic (#1274)
* macOS: Fix issue where PIM box has no width in Wizard
VolumePimTextCtrl has a problem with width on macOS which
we can fix by adjusting the proportions of the elements
inside the PimSizer, which seems like a better solution than
using a forced minimum size in pixels.

Adjacent, simplifies the validator logic for digits in PIM field.

Fixes #1219
2023-12-11 09:06:33 +01:00
Mounir IDRASSI 1a21ea8d73 Linux/MacOSX: put entries at line start and use tabs instead of spaces 2023-11-19 16:44:48 +01:00
Mounir IDRASSI 65a5bf914e MacOSX: update version field in pkg project files 2023-11-19 16:04:04 +01:00
Mounir IDRASSI c5a725bc60 Continue update Bitcoin donation address and its QR code 2023-11-19 14:23:05 +01:00
Mounir IDRASSI fbca8496db New Bitcoin donation address since current one is affected by Randstorm vulnerability 2023-11-19 13:03:20 +01:00
MatthaiksandGitHub f784987287 Update Polish translation (#1255) 2023-11-19 12:12:38 +01:00
Mounir IDRASSI 5a4dcc3cb6 Translations: Add back new strings to the Turkish language file. 2023-11-19 09:54:56 +01:00
Kaya ZerenandGitHub 873c0b6d98 Turkish translation 1.26.10 update (#1254)
Fully reviewed and heavily updated. 
Copy paste Google Translations replaced by real person translations.
Translation consistency improved all around.
Transifex (Localization Lab Project) has older VeraCrypt resource file and needs updated latest version to use advanced translation platform features.
2023-11-19 09:37:37 +01:00
Mounir IDRASSI 36ed58345c Revert changes to Language.tr.xml to allow merging Github translation PR 2023-11-19 09:29:03 +01:00
JertzukkaandGitHub 6a1780864c Linux/FreeBSD/macOS: Implement language selection settings (#1253)
* Implement Language selection into settings
Initial commit to create a new tab in PreferencesNotebook for
Language selection. By default, if nothing is chosen, it uses the
current behaviour of using the language from system environment
variables. If another language is chosen from the settings, it is
saved into the Configuration.xml and this is used instead.

* Fix SetStringSelection() assert issue on macOS

* Add header include to fix build

* Add current language pack, authors and way to use literal strings

* Translations also for FreeBSD

* Minimal GTK3 WX build on FreeBSD requires wxGraphicsContext

* Get Preferences properly instead of workaround function

* Use WrapSizer instead of BoxSizer for author line
This forces long author lists to be put on a new line, reducing
the need to increase window width.

* Update Finnish translation

* Borrow translation from IDM_LANGUAGE where it makes sense

* Remove colon and thus unneeded function

* Simplify Language tab layout

* Reintroduce macOS specific fixes to Forms.cpp

* cleanup
2023-11-19 00:31:40 +01:00
lealem47andGitHub 9247ce1bb9 wolfCrypt as crypto backend for VeraCrypt (#1227)
* wolfCrypt as crypto backend for VeraCrypt

* Refactor to use EncryptionModeWolfCryptXTS class
2023-11-13 00:51:31 +01:00
Mounir IDRASSI 458be85f84 Translations: update Russian translation file and documentation by Dmitry Yerokhin. 2023-11-13 00:26:02 +01:00
Mounir IDRASSI 48141ef697 Remove unneeded redundant OS name in Release Notes 2023-11-09 22:37:31 +01:00
Mounir IDRASSI e9492f1c06 Update MBR bootloader to 1.26.10 version 2023-11-09 00:13:30 +01:00
Mounir IDRASSI 7e7d776338 Increment version to 1.26.10. Update signed Windows drivers. 2023-11-09 00:09:00 +01:00
Mounir IDRASSI 1688779bc3 Windows: Fix failure to format some disks (e.g. VHDX) caused by partition offset not 4K aligned
Now we set offset to 1MB which is a typical values used for MBR disks.
We also use a more standard way to calculate legacy number of cylinders
2023-11-08 22:43:18 +01:00
JertzukkaandGitHub e70aa13c5b Linux: Fix generic installation script on Konsole in Wayland (#1244)
The x11 aliases such as --title are only available in the Qt application
if the XDG_SESSION_TYPE is x11. Instead of using an alias, we can use
--qwindowtitle directly.
2023-11-08 09:20:47 +01:00
Mounir IDRASSI 3f0e0b8cdd Documentation: Remove Flattr as donation platform since it is shutting down 2023-11-05 18:40:54 +01:00
Mounir IDRASSI 64bfd03414 Documentation: Mention that TRIM is not supported on macOS 2023-11-05 18:25:23 +01:00
Mounir IDRASSI 09833e0942 Documentation: Add more information about TRIM behavior in VeraCrypt 2023-11-05 18:06:20 +01:00
Mounir IDRASSI 3239e5d83e Documentation: Update bank account details for USD donations 2023-11-03 17:53:25 +01:00
MayanTiggerandGitHub a3682bf0a9 02Nov23-Update Language.es.xml (#1241)
I'm not sure of the changes will remain, two times of I have to re do the translations.
Please confirm of the translations are "as it should be".
2023-11-03 17:30:41 +01:00
Mounir IDRASSI 5a8fcd3037 Documentation: Mention default PIM values when no PIM is specified 2023-10-31 09:16:05 +01:00
JertzukkaandGitHub 91b47deb0e Linux: Focus PIM field when selected (#1239)
Sets focus to VolumePimTextCtrl initially when the checkbox is clicked.
2023-10-31 00:08:41 +01:00
TigerxWoodandGitHub fa6c77423d Update Language.ro.xml (#1237) 2023-10-29 10:01:13 +01:00
Mounir IDRASSI 1514d77d5e Documentation: Update supported macOSX versions to remove Big Sur and add Sonoma 2023-10-23 08:52:08 +02:00
风之暇想andGitHub 7ba24d10d1 Update Language.zh-cn.xml (#1233)
* Update Language.zh-cn.xml

修改字体为简体中文系统的默认字体:微软雅黑(Microsoft YaHei)

* Update Language.zh-cn.xml

修改字体大小
2023-10-17 09:16:49 +02:00
Mounir IDRASSI 5e0aec534f Windows: fallback to absolute positioning if relative positioning fails
This can serve as workaround if a disk rejects relative positioning for
some reason.
2023-10-13 23:55:19 +02:00
Mounir IDRASSI 4cfb4b03a7 Increment version to 1.26.9 2023-10-11 23:59:02 +02:00
Mounir IDRASSI bfd1abcabb Windows: Don't close Setup when exiting VeraCrypt process through system tray Exit menu 2023-10-11 22:09:09 +02:00
Mounir IDRASSI 06b3095e20 Increment version to 1.26.8 2023-10-10 23:15:18 +02:00
Mounir IDRASSI 92acca91f2 Translations: Fix missing "uk" lang key in some Ukrainian translations 2023-10-10 23:13:08 +02:00
Mounir IDRASSI a47f67bcc1 Windows: Fix writing wrong EFI configuration options to registry 2023-10-10 10:35:50 +02:00
udev2045andGitHub b6ca123ade Update Language.uk.xml (#1230)
Spelling corrections have been made and English translations have been added. Checked lines 1 through 400.
2023-10-10 00:08:16 +02:00
Mounir IDRASSI 95bc7d55fe HTML Documentation: Update Russian translation by Dmitry Yerokhin 2023-10-09 00:24:23 +02:00
Mounir IDRASSI 35135cd1fb Windows: Fix expansion of volumes on devices with sector size!=512 (by skl0n6) 2023-10-08 15:56:42 +02:00
847abb23f0 Fix warnings and throwing an exception instead of ignoring the error (#1229)
* EMVCard.cpp: ArrayToHexWideString: prohibit conversion of a string constant

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

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

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

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

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

* SecurityTokenKeyfilesDialog.cpp: removed initialization of an unused variable

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

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

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

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

---------

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

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

Closes #1212
2023-09-24 22:24:21 +02:00
Mounir IDRASSI bbced81c6e Documentation: mention that OS reboot is required after changing memory protection status 2023-09-24 21:53:29 +02:00
Mounir IDRASSI 718f11d9c3 Windows: make Setup correctly manage option to disable memory protection during upgrade 2023-09-24 12:48:34 +02:00
DLL125andGitHub 2363506e09 Libzip 1.10.1 (#1209)
Updated to the latest version for the VeraCrypt 1.26.6 release.
2023-09-24 10:18:54 +02:00
Mounir IDRASSI 937c5cd5cd Windows: always open online help in case of Setup because local help may be outdated 2023-09-24 01:41:35 +02:00
Mounir IDRASSI 76c64d49ea Windows: Add tooltip message and help button for new option to disable memory protection
Also a dedicated page in the documentation was added for it.
2023-09-24 01:26:02 +02:00
Mounir IDRASSI 07c827c849 Language XML files: update Russian XML file by Dmitry Yerokhin. 2023-09-23 10:08:57 +02:00
Mr-UpdateandGitHub 5a6a7a416f Update Language.de.xml (#1207) 2023-09-22 22:44:13 +02:00
Mounir IDRASSI 91b3f0af0c Linux/MacOSX: Increment packaging version to 1.26.6 2023-09-22 22:23:13 +02:00
Mounir IDRASSI 81c87a8f0b Windows: Load Riched20.dll to use RichEdit control. Use InitCommonControlsEx instead of InitCommonControls 2023-09-21 22:42:35 +02:00
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
Mounir IDRASSI 53902284b1 Update User Guide 2016-10-17 18:40:41 +02:00
Mounir IDRASSI 7f63d57f67 Windows: Support EFI system encryption for 32-bit Windows. 2016-10-17 18:40:40 +02:00
Mounir IDRASSI 2ddc374164 Windows: Remove VeraCrypt from EFI boot partition after decrypting the system 2016-10-17 18:40:39 +02:00
Mounir IDRASSI 78d9e5fc3b Update user guide. 2016-10-17 18:40:38 +02:00
Mounir IDRASSI ac8d212ce7 Windows: Update driver files of 1.19 release 2016-10-17 18:40:38 +02:00
Mounir IDRASSI 3685ceceae Windows: Update EFI bootloader file from latest VeraCrypt-DCS build. 2016-10-17 18:40:37 +02:00
Mounir IDRASSI 45d642d4e1 Increment version to 1.19 (1.19.4) 2016-10-17 18:40:35 +02:00
Mounir IDRASSI 2cfb896827 Linux/MacOSX: correctly display Kuznyechik help page when link clicked. Remove Gost89 online help references since it was removed. 2016-10-17 18:40:35 +02:00
Mounir IDRASSI ea2d8ded53 MacOSX: Add yasm binary 2016-10-17 18:40:34 +02:00
Mounir IDRASSI 620133002c Windows: Update signed drivers. 2016-10-17 18:40:33 +02:00
Mounir IDRASSI 15b6c7d3b7 Implement detection of new CPU features: AVX2 and BMI2 2016-10-17 18:40:33 +02:00
Mounir IDRASSI 2edd12fe22 Optimize performance of Twofish C implementation. 2016-10-17 18:40:32 +02:00
Mounir IDRASSI a2b008c747 MacOSX: remove unused variable 2016-10-17 18:40:32 +02:00
Mounir IDRASSI 0f7ef7dcd7 Linux/MacOSX: cleaner support for SSE compiler switches 2016-10-17 18:40:31 +02:00
Mounir IDRASSI f96eb0c5ec Language XML files: update to Dutch translation by Peter Tak. 2016-10-17 18:40:31 +02:00
Mounir IDRASSI ea5902514a Update documentation and increment version to 1.19 BETA3 (1.19.3) 2016-10-17 18:40:28 +02:00
Mounir IDRASSI d5e3488894 Windows: solve text truncation in keyfiles dialog for some languages. 2016-10-17 18:40:28 +02:00
Mounir IDRASSI 233d18d351 Windows: Add latest DCS bootloader binaries built against latest sources 2016-10-17 18:40:27 +02:00
Mounir IDRASSI 7f53fd41f8 Language XML files: update to Dutch translation by Peter Tak. 2016-10-17 18:40:27 +02:00
Mounir IDRASSI 5547a605bd Windows EFI: don't use optimized Serpent implementation for EFI bootloader because lack of C++ support in EDKII framework 2016-10-17 18:40:26 +02:00
Mounir IDRASSI 0ac4009720 Windows: Fix failure to access EFS data on VeraCrypt volumes under Windows 10 but supporting undocumented IOCTL. 2016-10-17 18:40:25 +02:00
Mounir IDRASSI 2a10640f42 Add missing fast Serpent implementation sources. 2016-10-17 18:40:25 +02:00
Mounir IDRASSI 6e94286b39 Windows Bootloader: fix issue in copy process of hidden OS caused by use of wrong PIM. 2016-10-17 18:40:25 +02:00
Mounir IDRASSI 041bc9dc0b Windows: Fix false-positive detection of Evil-Maid attack during creation process of hidden OS by excluding the configuration byte in the boot sector whose value changes depending on the content. 2016-10-17 18:40:24 +02:00
Mounir IDRASSI e5a9e9239b Crypto: Use SIMD optimized Serpent implementation from Botan. 2.5x speed gain factor. Update credits and copyrights notice. 2016-10-17 18:40:23 +02:00
Mounir IDRASSI 7ff3c5d108 Linux/MacOSX: fix error in Makefile caused by erroneous extra character 2016-10-17 18:40:23 +02:00
Mounir IDRASSI e8626ca74a Windows Setup: fix compilation error caused by change in declaration of function RestartComputer 2016-10-17 18:40:22 +02:00
Mounir IDRASSI 34f3c055ed Windows: in function CreateVolumeHeaderInMemory, properly unlock and erase sensitive stack memory. 2016-10-17 18:40:22 +02:00
Mounir IDRASSI 8e2c5ca45e Securely erase and protect buffer holding decrypted volume header. 2016-10-17 18:40:21 +02:00
Mounir IDRASSI 7d6347f468 MacOSX: remove MacFUSE dependency and link against OSXFuse library. Now, only standard OSXFuse install is needed without MacFUSE compatibility option. 2016-10-17 18:40:21 +02:00
Mounir IDRASSI e362d804b0 Windows: Perform Shutdown instead of Reboot during Pre-Test of UEFI system encryption in order to detect machines where changes to EFI boot don't persist after shutdown. 2016-10-17 18:40:20 +02:00
Mounir IDRASSI 3bad079d75 Linux/MacOSX: display error message when entered PIM is too big in the Volume Creation Wizard. 2016-10-17 18:40:20 +02:00
Mounir IDRASSI 57ce7aab7b Use properly aligned memory in code using Streebog hash implementation that uses SSE. 2016-10-17 18:40:19 +02:00
Mounir IDRASSI 3e029b0dde Update copyrights in legal notices and license file. 2016-10-17 18:40:19 +02:00
Mounir IDRASSI 5dfdc1b4a5 Windows: fix compilation warning 2016-10-17 18:40:18 +02:00
Mounir IDRASSI eb3e923091 Windows MBR Bootloader: compress Camellia Rescue Disk bootloader to reduce size ( < 13312 bytes), allowing a backup copy to be included in the Rescue Disk. 2016-10-17 18:40:18 +02:00
Mounir IDRASSI 4a435870f6 Windows: exclude unused libzip source files from build. 2016-10-17 18:40:17 +02:00
Mounir IDRASSI f40755fd7c Windows Setup: correct call to CryptAcquireContext to use memory only container for random generation and remove use of srand/rand (if CryptGenRandom fails which is very unlikely, we just use one color). 2016-10-17 18:40:17 +02:00
Mounir IDRASSI 3c09765208 Windows: check for malloc failures and report error in such cases. 2016-10-17 18:40:17 +02:00
Mounir IDRASSI b65eabe23d Add test vectors for Kuznyechik and GOST89 (the later is deprecated) 2016-10-17 18:40:16 +02:00
Mounir IDRASSI d18ecc1a37 Crypto: deprecate GOST89 so that it can't be used to create new volumes. Keep only for existing volumes. 2016-10-17 18:40:15 +02:00
Mounir IDRASSI 69c8c9d6c6 Linux/MacOSX: add missing check for PIM max value on volume creation wizard 2016-10-17 18:40:15 +02:00
Mounir IDRASSI 77d070fe73 Windows Bootloader: for MBR bootloader, reset position pointers to keystroke buffer after password or PIM is entered to avoid leaking length information 2016-10-17 18:40:14 +02:00
Mounir IDRASSI 183cbc087a Windows Driver: Erase sensitive boot memory before throwing fatal exception 2016-10-17 18:40:14 +02:00
Mounir IDRASSI 194b641ebd Crypto: remove specific PBKDF2 optimization for block index encoding (except in 16-bit bootloader) in order to make code clearer and avoid bad usage in the future if this implementation is used to generate more bytes than today. 2016-10-17 18:40:13 +02:00
Mounir IDRASSI 7c154a3f26 Crypto: clarify PRF code by removing unused parameters in functions hmac_XXX_internak and derive_u_XXX 2016-10-17 18:40:13 +02:00
Mounir IDRASSI b81ec7d7e0 Crypto: make HMAC-SHA512 code more clear by removing the memory usage optimization and make field k of hmac_sha512_ctx big enough to hold computation results instead of relying on the field u that follows it. 2016-10-17 18:40:12 +02:00
Mounir IDRASSI 479925f403 Readme: remove PKCS#11 headers as requirement since they are included in VeraCrypt source tree. 2016-10-17 18:40:12 +02:00
kavsrfandMounir IDRASSI 17eeaa43cf GOST89 parameters swap (6.3)
Cached boot password added
2016-10-17 18:40:11 +02:00
Mounir IDRASSI 9b1c447df1 Windows: use zlib compress/uncompress functions directly in the Setup instead of relying on external gzip program. 2016-10-17 18:40:11 +02:00
Mounir IDRASSI 4dacedd9cc Windows: Replace XZip/XUnzip library with zlib and libzip and include the sources of these library into VeraCrypt source tree. 2016-10-17 18:40:06 +02:00
Mounir IDRASSI 66891638d5 Language XML files: update Czech translation (contributed by Lagardere) 2016-09-11 13:12:47 +02:00
Mounir IDRASSI c4a68500cc Language XML files: fix invalid escape sequence in German XML file caused by missing 'n' after '\' 2016-09-11 13:12:46 +02:00
Mounir IDRASSI 335f17b72f Windows: in case of In-Place encryption, encrypt random data instead of existing data when filling unused space like the other cases. 2016-09-11 13:12:45 +02:00
Mounir IDRASSI 735657a254 Language XML files: update German translation (Ettore Atalan) 2016-09-03 17:13:23 +02:00
Mounir IDRASSI 83d3948bc8 Increment version to 1.19 BETA2 (1.19.2) 2016-08-21 13:44:03 +02:00
Mounir IDRASSI 7fac2e89b3 Windows: Update driver files of 1.19 BETA2 2016-08-21 13:44:02 +02:00
Mounir IDRASSI e5bb77e378 Windows: force the update of rescue disk from version 1.18 because of the fixes in EFI bootloader 2016-08-21 13:44:01 +02:00
Mounir IDRASSI 8209a30a6b Windows Boot: About EFI Bootloader files linked against latest sources 2016-08-21 13:44:01 +02:00
Mounir IDRASSI 22e4a8a252 Windows: fix crash caused by previous Streebog fix. 2016-08-21 13:44:00 +02:00
Mounir IDRASSI c70f370bac Language XML files: update Russian XML file by Dmitry Yerokhin. 2016-08-20 07:56:32 +02:00
Mounir IDRASSI 49a8ff59dc Windows: Fix crash on 32-bit machines when using Streebog on a CPU that supports SSE4.1. 2016-08-20 07:16:42 +02:00
Mounir IDRASSI d076bb5133 Windows: Add driver files of version 1.18 that have been signed by Microsoft (IDRIX signature is still present) 2016-08-19 09:59:19 +02:00
Mounir IDRASSI a63ae58596 Linux: don't use SSE/AES switched of gcc if the architecture is not x86 or x64 (for example ARM). 2016-08-19 01:11:51 +02:00
Mounir IDRASSI 7ad75a81ca Windows: Fix compilation error caused by latest MacOSX change. 2016-08-17 22:38:14 +02:00
Mounir IDRASSI f84dc7b78f Windows Boot: update EFI Boot Loader file after correction made to wrong password error message. 2016-08-17 22:18:03 +02:00
Mounir IDRASSI 882525b879 Add reference of new algorithms introduced in version 1.18 (Camellia, Streebog, Kuznyechik and GOST-89) 2016-08-17 22:18:02 +02:00
Mounir IDRASSI 24e233ea2e Update License.txt with additional copyrights. 2016-08-17 22:18:01 +02:00
Mounir IDRASSI c6d5b30704 MacOSX: fix compiler warning about ALIGN macro being already defined 2016-08-17 22:18:01 +02:00
Mounir IDRASSI 0dc3cb7cd1 Add reference to VeraCrypt-DCS EFI Boot loader in Readme. Update copyrights. 2016-08-17 17:06:21 +02:00
Mounir IDRASSI d4192bf863 Windows: Increase text size limit in RichEdit control to avoid truncating Legal Notices text when displayed. 2016-08-17 17:06:20 +02:00
Mounir IDRASSI 8c963356cb Windows Bootloader: Update EFI bootloader files built using the latest source modifications 2016-08-17 17:06:19 +02:00
Mounir IDRASSI 20c723e242 Windows: correct handle failure of TranslateVolumeID function (should not happen anyway). 2016-08-17 17:06:18 +02:00
Mounir IDRASSI 3ddb499280 Update 1.18 release date 2016-08-17 08:55:56 +02:00
Mounir IDRASSI b56e8c5c4b Linux/MacOSX: Add Streebog to the list of supported hash algorithms used for key derivation. 2016-08-17 08:36:33 +02:00
Mounir IDRASSI d8a7de8ffb Linux: Disable Kernel crypto if volume encrypted using Kuznyechik or Magma 2016-08-17 08:36:33 +02:00
Mounir IDRASSI 7695b8ada0 Linux: Add parameter to Makefile for enabling SSSE3 and SSE4.1 support in compiler 2016-08-17 08:36:32 +02:00
Mounir IDRASSI a72c7bcd6a Linux: fix compilation error on Streebog.c if SSE4.1 not enabled in compiler 2016-08-17 08:36:31 +02:00
Mounir IDRASSI 2780ac962e Linux: fix various compilation issues under Linux. 2016-08-17 00:08:18 +02:00
Mounir IDRASSI e47f94cb43 Windows: modification to make Coverity happy! 2016-08-16 19:58:48 +02:00
Mounir IDRASSI 625259d226 Fix compilation error in Streebog code caused by latest changes. 2016-08-16 12:42:44 +02:00
Mounir IDRASSI 2fef14ff76 Increment version to 1.18. Update user guide PDF file. 2016-08-16 10:19:39 +02:00
Mounir IDRASSI ce76957a10 Windows: Fix various issues detected by static analysis. 2016-08-16 10:04:07 +02:00
Mounir IDRASSI 1bf219b0dc Windows: fix SetupAPI issue on some machines where it fails to handle properly AddReg/DelReg operations during System encryption/decryption wizard. 2016-08-16 00:56:15 +02:00
Mounir IDRASSI a7056a6ac3 Windows: in system encryption setting dialog, put the checkbox for hiding at the bottom to keep the Note text coherent. 2016-08-15 19:06:26 +02:00
Mounir IDRASSI bba8a5be32 Language Files: update polish translation 2016-08-15 18:53:52 +02:00
Mounir IDRASSI 1e429d1fbf Language XML files: add new fields. 2016-08-15 18:53:50 +02:00
Mounir IDRASSI 5d5a645083 Windows: fix error caused by requesting large number of random bytes when writing randomly generated data to unused/reserved header areas. 2016-08-15 14:19:11 +02:00
Mounir IDRASSI 1506916487 Linux: avoid overflow when specifying TiB size in command line 2016-08-15 13:18:06 +02:00
Mounir IDRASSIandGitHub 2db742f465 Merge pull request #75 from oceanBT/revert-66-patch-1
Linux: added TiB support to text mode.
2016-08-15 13:10:01 +02:00
Mounir IDRASSI 8bc8f7c66e Documentation update. 2016-08-15 01:09:22 +02:00
Mounir IDRASSI 99d5145c24 Language XML files: update XML files with new fields and some changes. 2016-08-15 01:09:20 +02:00
Mounir IDRASSI 24560eae1d Windows: fill unused/reserved header areas with the result of encryption of random data instead of the encryption of zeros for better entropy of resulting random data. 2016-08-15 01:09:20 +02:00
Mounir IDRASSI 67031da928 Windows: Add DCS EFI Bootloader files that are signed. Add certificates and powershell script to update Secure Boot configuration. 2016-08-15 01:09:19 +02:00
Mounir IDRASSI 87ee61bcb1 Windows: in EFI encryption wizard, always select "Single Boot" by default since it is the only choice. 2016-08-15 01:09:19 +02:00
kavsrfandMounir IDRASSI 83885c1ebb Windows: Synchronize file with changes done in EFI Bootloader DCS. 2016-08-15 01:09:18 +02:00
Mounir IDRASSI 2d72e42c6c Windows: Implement Rescue Disk support for EFI system encryption 2016-08-15 01:09:17 +02:00
Mounir IDRASSI 71a38563ae Windows: various fixes for XZip library bugs 2016-08-15 01:09:17 +02:00
Mounir IDRASSI 4cf9db9f95 Windows: Add XZip library files (http://www.codeproject.com/Articles/4135/XZip-and-XUnzip-Add-zip-and-or-unzip-to-your-app-w) 2016-08-15 01:09:16 +02:00
Mounir IDRASSI c4d4ade9d0 Windows: Show only supported encryption algorithm in the system encryption wizard for MBR 2016-08-15 01:09:16 +02:00
Mounir IDRASSI d127393897 Windows: Add new crypto files to legacy VC++ 2008 project. 2016-08-15 01:09:15 +02:00
Mounir IDRASSI b51d8f5386 Windows: fix Windows 10 hibernate issue when EFI system encryption is active. 2016-08-15 01:09:15 +02:00
Mounir IDRASSI b146e235f8 Windows: align buffers used for keys to avoid issues when SSE used. 2016-08-15 01:09:14 +02:00
Mounir IDRASSI 07ee8c1069 Windows: Implement support for EFI system encryption in Windows GUI. 2016-08-15 01:09:13 +02:00
AlexandMounir IDRASSI 246233c402 Windows EFI Bootloader: modifications to prepare EFI system encryption support (common files with DcsBoot) 2016-08-15 01:09:12 +02:00
Mounir IDRASSI 58cff70724 Linux/MacOSX: Add help text for GOST89 and Kuznyechik 2016-08-15 01:09:12 +02:00
Mounir IDRASSI e90e24b30b Windows: Add support for Streebog (hash) and kuznyechik (encryption) 2016-08-15 01:09:11 +02:00
Mounir IDRASSI 0b2c8b09c6 Windows: Add Magma cipher (GOST-89) 2016-08-15 01:09:10 +02:00
Mounir IDRASSI 460f552a41 Windows Driver: Add extra traces and enable tracing in release build if DEBUG_TRACE defined. 2016-08-15 01:09:10 +02:00
Mounir IDRASSI 9bfe4780d4 Language XML files: add new fields related to UEFI and newly added ciphers. 2016-08-15 01:09:08 +02:00
Mounir IDRASSI f26ce59fb5 User Guide: further corrections and modifications to match online documentation. 2016-08-15 01:09:07 +02:00
Mounir IDRASSI f32f65d4f7 Linux/MacOSX: Similar fix to Windows one. Write fake hidden volume header that is created from same data format as legitimate one in order to metigate attack that are able to detect the presence of TrueCrypt/VeraCrypt hidden volumes (reported by Ivanov Alexey Mikhailovich from Moscow, Russia) 2016-08-15 01:09:06 +02:00
Mounir IDRASSI 5b381ce7d7 Windows: Fix vulnerability inherited from TrueCrypt that allows an attacker to detect with high probability if a hidden volume is present. Vulnerability reported by Ivanov Alexey Mikhailovich. 2016-08-15 01:09:05 +02:00
Mounir IDRASSI 3fb2eedab8 Linux: Enable gcc AES-NI built-in functions and adapt Hyper-V AES detection code to gcc. 2016-08-08 00:11:22 +02:00
Mounir IDRASSI fe31cf5b83 Crypto: Use Hyper-V AES-NI detection workaround when displaying AES hardware availability in GUI. 2016-07-29 22:40:44 +02:00
Mounir IDRASSI 2389561406 Windows: Use new Windows API to mitigate dll hijacking attacks. 2016-07-29 22:40:43 +02:00
Mounir IDRASSI a7f1ba05b4 Windows: Enhance protection against dll hijacking attacks following new report by Stefan Kanthak. 2016-07-26 00:53:18 +02:00
Mounir IDRASSI 3aaf5c7045 Windows: solve benchmark issue for Whirlpool which caused wrong numbers when a 1GB buffer is chosen. 2016-07-25 08:26:09 +02:00
Mounir IDRASSI 73703095b2 User Guide: Update User Guide odt file to match online documentation and FAQ. 2016-07-24 23:55:08 +02:00
Mounir IDRASSI 0fca588275 Crypto: Workaround for AES-NI issue under Hyper-V on Windows Server 2008 R2 which masks AES-NI from applications although it is available. 2016-07-24 23:48:07 +02:00
Mounir IDRASSI 2dbf366184 Language XML files: remove UTF-8 BOM from Dutch language file. 2016-06-27 00:21:53 +02:00
Mounir IDRASSI ed81267291 Language XML files: update to Dutch translation by Peter Tak. 2016-06-27 00:13:00 +02:00
oceanBTandGitHub 1a8ce8a611 added TiB size unit 2016-06-23 21:53:24 +02:00
Mounir IDRASSI c5b766969a Windows:solve compilation error under VC++ 2008 by using extern "C" only when needed. 2016-06-20 12:10:08 +02:00
Mounir IDRASSI 00eb49443a Crypto: Optimize 64-bit implementation of Whirlpool based on idea from compression function in Botan library. 2016-06-20 12:10:07 +02:00
Mounir IDRASSI 45617a3285 Linux/MacOSX: Solve compilation error linked to Camellia cipher addition. 2016-06-19 00:38:20 +02:00
Mounir IDRASSI 85cab3b85f Windows Driver: use more reliable way to correctly set path to VC++ 2010 in driver build batch file. 2016-06-18 19:17:19 +02:00
Mounir IDRASSI e4efd6820a Windows Driver: add declaration of missing intrinsic _mm_setr_epi32 (to be used by upcoming implementation) 2016-06-18 01:44:48 +02:00
Mounir IDRASSI 2faa1290c0 Windows Driver: save FPU state in 32-bit mode before run Whirlpool SSE implementation to avoid issues (https://msdn.microsoft.com/fr-fr/library/ff565388(v=vs.85).aspx) 2016-06-17 23:52:03 +02:00
Mounir IDRASSI bdc5782f16 Windows: Better heuristics for evaluating Pre-Boot PRF performance 2016-06-17 19:04:04 +02:00
Mounir IDRASSI 42373efcfd Windows: Use Visual C++ 2010 instead of Visual C++ 2008. 2016-06-17 15:50:47 +02:00
Mounir IDRASSI 6ae982cccf Update intrinsic support and cpu detection. 2016-06-17 15:50:46 +02:00
Mounir IDRASSI 842dce0e1b Language XML files: add new fields related to enhanced benchmark dialog 2016-06-17 15:50:44 +02:00
Mounir IDRASSI 27b53c6ff4 Windows: Add Hash and PRF benchmarks to the benchmark dialog. 2016-06-17 15:50:44 +02:00
Mounir IDRASSI aeb4e8a13a Windows: make Camellia help link open dedicated documentation page 2016-06-17 15:50:42 +02:00
Mounir IDRASSI c7756befee Language XML files: update German translation (Ettore Atalan) 2016-06-17 15:50:40 +02:00
Mounir IDRASSI 21d567f731 Crypto: make Serpent source code use the same rotl32/rotr32 primitives as the other files. 2016-06-17 15:50:40 +02:00
Mounir IDRASSI d4e95293d9 Windows: fix compiler warnings 2016-06-17 15:50:39 +02:00
Mounir IDRASSI 76d3bc631e Crypto: Add support for Japanese encryption standard Camellia, including for system encryption. 2016-06-02 00:12:00 +02:00
Mounir IDRASSI 99c4031d89 Windows: better implementation for support of smart card PIN in command line. Supported now also on Format. 2016-05-29 01:33:18 +02:00
Mounir IDRASSI a0d8b8a3b7 Linux/MacOSX: Implement passing smart card PIN as command line argument (--token-pin switch) 2016-05-29 01:33:17 +02:00
Mounir IDRASSI 3f806010d2 Windows: fix detection of Visual Studio version to activate assembly optimizations. 2016-05-24 07:34:13 +02:00
Mounir IDRASSI 94fdcdf18b Merge pull request #69 from anarchyonline/master
MacOSX: Added two line to enable support for retina ui on retina Macs.
2016-05-24 07:28:49 +02:00
AO 2bb419f92c Added two line to enable support for retina ui on retina Macs. 2016-05-20 16:22:42 +02:00
Mounir IDRASSI 635c3b7af7 Readme.txt:Fix wxWidget expected directory for OSX install 2016-05-19 19:39:01 +02:00
Mounir IDRASSI 6954b7c3ef Merge pull request #68 from strazzere/master
Fix wxWidget expected directory for OSX install in Readme
2016-05-19 19:33:59 +02:00
Tim Strazzere 2bb0cbe16e Fix wxWidget expected directory for OSX install 2016-05-18 14:03:40 -07:00
Mounir IDRASSI cdaeef20ce Language XML files: in German translation, replace PIM description "Personal Iterations Multiplier" by "Persönlicher IterationsMultiplikator".(Ettore Atalan) 2016-05-15 17:22:01 +02:00
Mounir IDRASSI ec4a0af41c Language XML files: update German translation (Ettore Atalan) 2016-05-14 22:51:32 +02:00
Mounir IDRASSI 37d7c75db8 Remove UTF8 BOM from language XML files 2016-05-14 13:47:38 +02:00
Mounir IDRASSI 1ad1c293a3 Language XML files: Update Arabic translation (contributed by Ali Khojah) 2016-05-14 13:25:32 +02:00
Mounir IDRASSI 085ab96abd Merge pull request #67 from veracrypt/revert-66-patch-1
Revert "Makefile: fix build under gcc6"
2016-05-13 22:36:05 +02:00
Mounir IDRASSI 438753522e Revert "Makefile: fix build under gcc6" 2016-05-13 22:34:33 +02:00
Mounir IDRASSI fc69e2541e Merge pull request #66 from FadeMind/patch-1
Makefile: fix build under gcc6
2016-05-13 22:28:35 +02:00
Mounir IDRASSI 942cf1635a Linux: Fix gcc-6 compilation errors. 2016-05-13 22:27:16 +02:00
Tomasz Przybył bf47711ee7 Makefile: fix build under gcc6
Veracrypt for build under GCC6 required using compatibility flag `-std=c++98` against change default C++ frontend in GCC6.

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

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

On Windows and OS X, `wxStandardPaths` provides correct defaults (equal
to the previous hard-coded paths) but on Linux and other Unices
`~/.config/appinfo` would be better than `~/.appinfo`. This means we
treat those platforms as a special case. It also means that we may need
to fall back to the legacy location if it exists but the new location
doesn't.
2016-03-31 12:36:21 +02:00
David Foerster 39eae0e4c3 Remove some trailing whitespace 2016-03-31 12:24:41 +02:00
Mounir IDRASSI dc1593d60f Windows: reduce CPU usage by caching WNetGetConnection calls result for 2 seconds. 2016-03-24 01:36:12 +01:00
Mounir IDRASSI 1e204da223 Windows: Don't use the foreground setting code if the window is already foreground 2016-03-24 01:36:08 +01:00
Mounir IDRASSI ece26c7481 Windows: Implement passing smart card PIN as command line argument (/tokenpin switch) when explicitly mounting a volume. 2016-03-24 01:36:03 +01:00
Mounir IDRASSI 6738cba617 Windows: Better alignment for Group Boxes in favorites management dialog 2016-03-20 01:26:32 +01:00
Axel KöllhoferandMounir IDRASSI 1290e7836f Linux/MacOSX: Fix build error when using strict wxWidgets library that doesn't allow implicit conversions. 2016-03-20 01:26:28 +01:00
Mounir IDRASSI 646679da4d Linux: Completely fix gcc-5 "Invalid characters encountered" issue on mount. It was caused by an issue of gcc-5 STL implementation that is causing char* pointers retrieved from std::string using c_str method to become invalid in the child of a child process (after two fork calls). The workaround is to first copy the std:string values in the child before calling the second fork. 2016-03-18 16:27:29 +01:00
Mounir IDRASSI fd26f49958 Linux: fix mount failure with "Invalid characters encountered" error when building using gcc-5 by disabling the new C++ ABI. For this to work, wxWidgets static library must be built and used by VeraCrypt by specifying WXSTATIC=1 in make command line. 2016-03-17 14:09:59 +01:00
Mounir IDRASSI 8bfc7f1caa Windows: Correctly disable/enable the "Display PIM" checkbox in the favorites configuration dialog 2016-03-17 14:09:55 +01:00
Mounir IDRASSI 8580464e51 Language XML files: correct some entries to match English version 2016-03-17 14:09:51 +01:00
Mounir IDRASSI fffb3bde7a Linux: fix compilation error 2016-02-22 07:57:03 +01:00
Mounir IDRASSI facfda73eb Linux: fix mount issue on Fedora 23 by forcing the creation of a default loop device. 2016-02-22 00:34:36 +01:00
Mounir IDRASSI 50f85b4512 Windows bootloader: try to fix boot issues on some machines by increasing required memory by 1 KiB 2016-02-22 00:34:33 +01:00
Mounir IDRASSI e175adcd46 Windows: correct static inline declaration to solve Windows compilation error 2016-02-22 00:34:30 +01:00
Mounir IDRASSI 0c0ea60b77 Linux & MacOSX: better implementation for TC_THROW_FATAL_EXCEPTION to use __builtin_trap when available. 2016-02-21 10:59:16 +01:00
Mounir IDRASSI 87df2fd2fc Crypto: update Whirlpool implementation using latest code from Crypto++. 2016-02-21 10:59:13 +01:00
Mounir IDRASSI faf00ca1e0 MacOSX: Correctly detect newer versions of OSXFuse 2016-02-21 10:59:11 +01:00
Mounir IDRASSI b331668c06 Windows:Correct explanatory text in VeraCrypt Expander to reader "Mount" instead of "Start". 2016-02-20 02:05:48 +01:00
Mounir IDRASSI 8e8e273e11 Windows: Correctly remove driver file veracrypt.sys during uninstall on Windows 64-bit. Implement deleting locked files after machine reboot. 2016-02-20 02:05:45 +01:00
Mounir IDRASSI 6452fb3693 Language files: update French XML file with exFAT references. 2016-02-20 02:05:43 +01:00
Mounir IDRASSI 348a45132b Language files: Update German translation for PIM shortcut and exFAT references. 2016-02-20 02:05:41 +01:00
Mounir IDRASSI 3c87c095c3 Windows: use buffer with known maximum length as input to FakeDosNameForDevice 2016-02-16 23:21:45 +01:00
Mounir IDRASSI 2724d7880d Language XML files: update Russian XML file by Dmitry Yerokhin. 2016-02-16 23:21:42 +01:00
Mounir IDRASSI 26e2d22d62 MacOSX: increment bundle version to 1.17.22 2016-02-14 10:29:58 +01:00
Mounir IDRASSI a144e2167d MacOSX: increment installer version to 1.17. 2016-02-14 09:15:13 +01:00
Mounir IDRASSI 2b4003cc81 Increment version to 1.17. Update user guide PDF file. 2016-02-14 09:03:13 +01:00
Mounir IDRASSI 1f87e64127 Windows: handle rare case where size of disk can't be retrieved using IOCTL_DISK_GET_PARTITION_INFO_EX. use IOCTL_DISK_GET_DRIVE_GEOMETRY in such case and add workaround to display correctly partitions in dialog even if disk size is not available. 2016-02-13 22:14:40 +01:00
Mounir IDRASSI d7d4c98775 Windows: Add colors (Red, Yellow, Green) to the collected randomness indicator depending on how much entropy was gathered. Code re-factoring. 2016-02-12 00:04:31 +01:00
Mounir IDRASSI 89d238bb32 Window: fix regression that caused only a single keyfile to be taken into account. 2016-02-12 00:04:28 +01:00
Mounir IDRASSI 7fee9a04c4 Windows: Avoid updating configuration after opening keyfile file dialog when /quit switch used without preferences parameter. 2016-02-12 00:04:25 +01:00
Mounir IDRASSI 39fb2edc25 Linux/MacOSX: add progress bar for mouse collected entropy in GUI of volume creation wizard. Add mutex protection in event handler for shared counter variable 2016-02-09 00:52:28 +01:00
Mounir IDRASSI 0863924483 Linux/MacOSX: add progress bar for mouse collected entropy in GUI for keyfile generator and for random poll enrichment 2016-02-08 01:39:50 +01:00
Mounir IDRASSI 8e2793085e Windows: Continuation of fix for wrong update of configuration XML file. 2016-02-08 01:39:47 +01:00
Mounir IDRASSI 8518d55834 Windows Driver: if saving volume header fails, don't mark operation as successful so that it will be retried later. 2016-02-07 02:39:45 +01:00
Mounir IDRASSI ae7ec4802a Windows:Fix various issues and warnings reported by static code analysis tool Coverity. 2016-02-07 02:39:43 +01:00
Mounir IDRASSI 229bd668f4 Merge pull request #44 from makomi/master
Language files: Update German translation
2016-02-03 00:53:44 +01:00
Matthias Kolja Miehl 13a0473cf9 Language files: Update German translation 2016-02-02 20:10:25 +00:00
Mounir IDRASSI 49d61632f9 Language Files: update polish translation 2016-02-02 01:02:16 +01:00
Mounir IDRASSI 4a7a9f4dd2 Windows: Don't try to mount using cached passwords if password and/or keyfile are specified in the command line. 2016-02-02 00:47:15 +01:00
Mounir IDRASSI ce8a9becdf Windows:Center the text of the random pool displayed in the keyfile generator dialog. 2016-02-01 00:13:55 +01:00
Mounir IDRASSI 5aec655b8b Windows: solve bootloader compilation error 2016-01-31 23:42:11 +01:00
Mounir IDRASSI 2c0776e987 Language XML files: update XML files with newly added field 2016-01-31 23:30:36 +01:00
Mounir IDRASSI 203c7aa015 Windows: Fix link issue in Debug configuration for Setup project. 2016-01-31 23:30:32 +01:00
Mounir IDRASSI fe234e08ee Windows: Fix buffer overrun issue introduce by the Unicode rewrite. 2016-01-31 23:30:29 +01:00
Mounir IDRASSI 77885de85e Windows: Implement GUI indicator for entropy collected from mouse movements. 2016-01-31 23:30:27 +01:00
Mounir IDRASSI b407512248 MacOSX: Support creation exFAT volumes on OSX using the built-in command newfs_exfat 2016-01-30 00:48:20 +01:00
Mounir IDRASSI dde3dcf14d Language XML files: update German translation (Ettore Atalan) 2016-01-29 00:50:29 +01:00
Mounir IDRASSI 926721d54e Windows Bootloader: Always hide password/PIM values with '*' after ENTER is hit, even if F5 was pressed to display password/PIM. 2016-01-29 00:50:27 +01:00
Mounir IDRASSI 24b2dfc0d5 Language XML files: update exFAT message translation in Korea, Russian and Chinese. 2016-01-28 13:11:27 +01:00
Mounir IDRASSI ef0906bc83 Language Files: update polish translation 2016-01-28 12:29:20 +01:00
Mounir IDRASSI 90def2ee5a Language XML files:update German translation 2016-01-28 00:51:48 +01:00
Mounir IDRASSI 1ca60754b2 Language XML file: correct errors in some English texts. 2016-01-28 00:30:40 +01:00
Mounir IDRASSI f63e34e0f9 Language XML files: update with new fields. Reoder node so that new additions are at the bottom. This makes it easier for Crowdin.com import. 2016-01-27 01:13:51 +01:00
Mounir IDRASSI dcb8390bb2 Windows/Linux: Implement exFAT support. 2016-01-27 01:13:46 +01:00
Mounir IDRASSI 9f5b5445d7 Linux/MacOSX: Update command line help text to reflect that we can now specify in filesystem when creating a new volume. 2016-01-26 01:47:29 +01:00
Mounir IDRASSI d53b48bdf0 Linux/MacOSX: fix issue creating volumes using command line with a filesystem other than FAT. 2016-01-26 01:29:45 +01:00
Mounir IDRASSI 84ee7076d9 Linux/MacOSX: remove unecessary XML resource string replacement of %hs, not needed since Unicode rewrite. 2016-01-25 01:46:37 +01:00
Mounir IDRASSI 5a555deb74 Linux/MacOSX: fix wrong AskYesNo method parameters use caused by mistake in parenthesis use. 2016-01-25 01:46:34 +01:00
Mounir IDRASSI b8a2e808c6 MacOSX: Add PIM value validity checks to workaround wxWidget bug that makes wxTextValidator useless when applied to a text control with password attribute (http://trac.wxwidgets.org/ticket/17185). 2016-01-25 01:46:32 +01:00
Mounir IDRASSI e9d3ba0b11 Linux/MacOSX: update --size entry in command line help text. 2016-01-24 02:58:50 +01:00
Mounir IDRASSI c86697f51b Linux/MacOSX: Support K/M/G/T suffixes for --size switch to indicate unit to use for size value (KiloByte, MegaByte, GigaByte and TeraByte respectively) 2016-01-24 02:41:49 +01:00
Mounir IDRASSI 5a09d17c45 Windows: hide PIM is VeraCrypt Expander the same way as in other places 2016-01-20 21:45:40 +01:00
Mounir IDRASSI c95940cfc6 Readme.txt: update libfuse URL to new Github location. 2016-01-20 21:42:39 +01:00
Mounir IDRASSI b12e8b6943 Merge pull request #41 from ReadmeCritic/master
Update README to point to new libfuse URL
2016-01-20 21:37:04 +01:00
ReadmeCritic cd65f78a62 Update README URLs based on HTTP redirects 2016-01-20 11:34:24 -08:00
Mounir IDRASSI bda7a1d0bd Copyright: update dates to include 2016. 2016-01-20 00:53:24 +01:00
Mounir IDRASSI 43f5fae2ee Windows:Fix issue with the display of legal notices text. Regression caused by the latest Unicode modifications. 2016-01-20 00:53:08 +01:00
Mounir IDRASSI f9fa0191ec Linux/MacOSX:solve issue of --stdin option not handling correctly passwords that contain a space character (reported and fixed by Codeplex user horsley1953) 2016-01-20 00:53:02 +01:00
Mounir IDRASSI 8a2d9c4120 Windows: solve Expander GUI issues caused by latest Unicode modifications. 2016-01-18 21:40:16 +01:00
Mounir IDRASSI 90957cd9d9 MacOSX: Ensure that time-stamping is always activated when performing code signing by using --timestamp switch. 2016-01-17 14:55:13 +01:00
Mounir IDRASSI 3cda204626 Windows: avoid leaking location of selected keyfiles by clearing global variable used to store multiple file selection path. 2016-01-17 10:52:31 +01:00
Mounir IDRASSI 59afc2c4d9 Cryptography: Divide mount and boot times by 2 using a pre-computation of values used in PRF HMac calculation (thanks to Xavier de Carné de Carnavalet for finding this optimization). 2016-01-17 10:52:29 +01:00
Mounir IDRASSI dd1e62ebcd Windows: Add SHA-256 EV Code Signing using the new GlobalSign certificate on top of the SHA-1 code signing. Create new SHA256 test code signing certificate and update test signing script. 2016-01-17 10:52:26 +01:00
Mounir IDRASSI a6c6c3dc4a Language files: Update German translation (contributed by Ettore Atalan) 2016-01-14 23:02:07 +01:00
Mounir IDRASSI 66a5671e3b Language Files: update polish translation 2016-01-14 23:02:05 +01:00
Mounir IDRASSI e858d93a8e MacOSX: use native OSX byte swapping routines used in hash functions to improve speed. 2016-01-11 01:04:54 +01:00
Mounir IDRASSI e40774f546 Linux/MacOSX: Show better error message when the PKCS#11 library can't be loaded 2016-01-10 23:59:17 +01:00
Mounir IDRASSI fe38d6f52c Language XML files: update XML files with newly added field 2016-01-10 20:45:22 +01:00
Mounir IDRASSI 8586c51016 Windows: Avoid wrong update of configuration XML file caused by not using the correct window handle to get some GUI fields content. Some code cleanup. 2016-01-10 20:45:18 +01:00
Mounir IDRASSI fb430c403b Windows: Don't show disconnected network drives in the list of available drives. Add option to make them available for mounting if needed. 2016-01-10 20:45:15 +01:00
Mounir IDRASSI 5597a1e390 Language files: fix mistake in previous German translation commit where a "\nDAS" was replaced by "\DAS" 2016-01-10 20:45:10 +01:00
Mounir IDRASSI 3b1eebbfad Language files: various enhancements to German translation (contributed by Ettore Atalan) 2016-01-09 21:44:03 +01:00
Mounir IDRASSI 80ba722497 Windows: increase the size of the field IDC_PREF_CACHE_PIM in the preferences dialog to avoid truncation when using a language other then English 2016-01-04 02:55:18 +01:00
Mounir IDRASSI 52d9838978 Language Files: update polish translation 2016-01-04 02:55:15 +01:00
Mounir IDRASSI 7a15ff2083 Windows: Enhance fix for dll hijacking vulnerability affecting installer (CVE-2016-1281) 2016-01-04 02:37:37 +01:00
Mounir IDRASSI 0600ae7d1c Language XML files: update XML files with newly added fields. 2016-01-04 02:37:33 +01:00
Mounir IDRASSI 29d46b749d Windows: Add keyboard shortcut alt+i for checking "Use PIM" in various dialogs like password dialog. 2016-01-04 02:37:29 +01:00
Mounir IDRASSI ea8e8e517e Linux: Restore Nautilus fix that was mistakenly removed by Whirlpool optimization commit 2016-01-03 09:30:21 +01:00
Mounir IDRASSI 723fcfa64d Windows Driver: Remove unwanted ':' character at the end of volume device name. This was causing a crash in Kaspersky Internet Security 2016 when a program is run from a VeraCrypt volume. 2016-01-03 00:15:11 +01:00
Mounir IDRASSI 6e1f5cfe4b Windows: use compiler intrinsic for some functions used in cryptographic primitives to ensure maximum performance. 2016-01-03 00:15:08 +01:00
Mounir IDRASSI 5872be28a2 Windows: Fix Dll hijacking vulnerability affecting installer that allows arbitrary code execution with elevation of privilege (CVE-2016-1281) 2016-01-03 00:15:05 +01:00
Mounir IDRASSI 6cb1eefc49 Windows: sign binaries using both SHA-1 and SHA-256 for maximum compatibility. Add requirement for Windows SDK 8.1 that contains signtool.exe version that enables this. 2016-01-03 00:15:02 +01:00
Mounir IDRASSI 4181283f29 Cryptography: Set 16-byte alignment for KEY_INFO structure that is used as input for Whirlpool hash. This helps improve performance. 2016-01-03 00:14:59 +01:00
Mounir IDRASSI bb66dac8e6 Cryptography: correct Whirlpool compilation error on Big Endian platforms. 2016-01-03 00:14:54 +01:00
Mounir IDRASSI 0c2c0a846d Cryptography: Optimize Whirlpool implementation by using public domain assembly code developed by Wei Dai 2015-12-31 01:56:19 +01:00
Mounir IDRASSI d462806ea9 Windows: Make benchmark batch file run a PRF measurement only when associated container file is present. 2015-12-31 01:56:16 +01:00
Mounir IDRASSI 859c111d01 Readme: Make Readme.txt identical to README.md. 2015-12-25 20:30:53 +01:00
Mounir IDRASSI 82f372ef4f README: Add reference to UPX as a dependency on Windows in README.md. 2015-12-25 20:29:12 +01:00
Mounir IDRASSI 5a2c8af7ec Merge pull request #38 from makomi/master
Readme: fix markdown syntax, typos, and format
2015-12-25 20:22:30 +01:00
Matthias Kolja Miehl 2e9c630ab1 Readme: fix markdown syntax, typos, and format 2015-12-22 05:49:41 +00:00
Mounir IDRASSI 2fd699cc66 Windows Driver: wipe cached PIM values when passwords are wiped. 2015-12-21 01:53:29 +01:00
Mounir IDRASSI fcfcd1a2c4 Language XML files: update XML files with newly added fields. 2015-12-21 01:19:08 +01:00
Mounir IDRASSI 8f6c08330a Windows: Implement PIM caching, both for system encryption and for normal volumes. Add options to activate it in the Preferences and System Settings. 2015-12-21 01:19:04 +01:00
Mounir IDRASSI 7832d712fd Windows: solve issue with system favorites not being able to mount at A: 2015-12-16 23:38:44 +01:00
Mounir IDRASSI 3610d2c2ec Language files: various fixes to German translation (contributed by Ettore Atalan) 2015-12-10 17:19:41 +01:00
Mounir IDRASSI 9a39164ed5 Language files: update German XML file (contributed by Ettore Atalan) 2015-12-09 23:24:53 +01:00
Mounir IDRASSI 4f17e0cfe9 MacOSX: Customize dmg file using VeraCrypt new logo 2015-12-06 11:51:23 +01:00
Mounir IDRASSI c1f1c643ff MacOSX: Add possibility in build script to reuse existing wxWidgets compiled library 2015-12-06 11:51:11 +01:00
Mounir IDRASSI 8e56e138cc Windows Rescue Disk: when decryption paused/finished, display message to indicate that header is being updated 2015-12-05 19:35:45 +01:00
Mounir IDRASSI 1cf826dbad Windows: Correct issue with some of new bitmaps that didn't render correctly. 2015-12-05 19:35:42 +01:00
Mounir IDRASSI 13c6f2948e Windows: use new icons an graphics contributed by Andreas Becker (https://github.com/veracrypt/VeraCrypt/issues/9#issuecomment-118353850) 2015-12-05 00:07:13 +01:00
Mounir IDRASSI 533b7e1eb8 Linux/MacOSX: use new icons contributed by Andreas Becker (https://github.com/veracrypt/VeraCrypt/issues/9#issuecomment-118353850) 2015-12-04 22:20:45 +01:00
Mounir IDRASSI 3a9db8d98c Linux: fix Nautilus not detected as file manager on some Gnome based destributions. 2015-12-04 22:20:42 +01:00
Mounir IDRASSI 613ea66c95 Merge pull request #35 from netdcy/patch-1
Update Language.zh-cn.xml
2015-11-30 14:03:07 +01:00
Mounir IDRASSI efa436974d Linux/MacOSX: Implement Unicode passwords suppport. Make validation of parameters in GUI more robust. 2015-11-30 13:58:19 +01:00
Mounir IDRASSI cfadb231d2 Linux/MacOSX: Solve compilation issue following Windows Unicode rewrite 2015-11-30 13:58:15 +01:00
netdcy 2d4781be24 Update Language.zh-cn.xml
Add translations.
2015-11-30 13:22:40 +08:00
Mounir IDRASSI e0408eee74 Language files: update German XML file (Dulla) 2015-11-28 10:36:19 +01:00
Mounir IDRASSI 96d8c65ab4 Language Files: update polish translation 2015-11-26 19:23:14 +01:00
Mounir IDRASSI 9666dda282 Windows: solve GUI issues caused by using ANSI string instead of UNICODE ones. Remove Unused functions. 2015-11-26 19:23:11 +01:00
Mounir IDRASSI 2408edb239 Windows Language files: update language XML files with added new fields. 2015-11-26 01:45:01 +01:00
Mounir IDRASSI 10d77be0d2 Windows: Support creating Traveler Disk when running in Portable Mode 2015-11-26 01:44:56 +01:00
Mounir IDRASSI 59611b8b37 Windows: solve crash caused by system function FormatMessage failure on rare cases. 2015-11-26 01:44:54 +01:00
Mounir IDRASSI 90bd57fe40 Windows: Full UNICODE rewrite and implement support for UNICODE passwords. 2015-11-26 01:44:52 +01:00
Mounir IDRASSI ec7d96fcb7 Windows Bootloader: Avoid displaying empty new line between password and PIM after filling password field with dummy '*'. 2015-11-26 01:44:46 +01:00
Mounir IDRASSI c53fd7ef0c Windows Driver: solve compilation error in Debug build caused by a missing variable. 2015-11-26 01:44:43 +01:00
Mounir IDRASSI d40eedeaaf Language XML files: More fixes for language files following import into Crowdin. 2015-11-26 01:44:40 +01:00
Mounir IDRASSI 1c55894e1d Language XML files: harmonize XML language files ad solve few issues. 2015-11-08 09:49:04 +01:00
Mounir IDRASSI 7322ebbc83 Merge pull request #31 from initbar/master
Update Language.ko.xml (by Herbert Shin)
2015-11-03 00:21:27 +01:00
Brehret Nish c69bd27f78 Update Language.ko.xml #30 2015-11-01 22:51:39 -05:00
Brehret Nish 6691cc0c06 Fix Language.ko.xml 2015-11-01 05:05:03 -05:00
Brehret Nish 3eb383d4a5 Update Language.ko.xml 2015-11-01 04:27:54 -05:00
Brehret Nish 14eaa9006c Update Language.ko.xml 2015-11-01 03:47:08 -05:00
Mounir IDRASSI 4a09511372 Language XML files: update Russian XML file by Dmitry Yerokhin. 2015-10-27 20:47:58 +01:00
Mounir IDRASSI ebbbde8964 Windows: workaround to solve false positive detection by some anti-virus software. 2015-10-27 20:47:56 +01:00
Mounir IDRASSI 62de77e2c8 Windows: fix wrong translation for "Reset" button in hotkeys dialog 2015-10-27 20:47:53 +01:00
Mounir IDRASSI c863f3769e Language XML file: correct some fields and shorten some of them to avoid being truncated in GUI 2015-10-27 20:47:50 +01:00
Mounir IDRASSI 1d844c4557 Language Files: update polish translation 2015-10-20 16:13:10 +02:00
Mounir IDRASSI 908fa17e0f Merge pull request #29 from netdcy/master
Update Language.zh-cn.xml
2015-10-19 13:03:59 +02:00
netdcy 01fda292e6 Update Language.zh-cn.xml
Change some punctuation from English to Chinese.
Minor fixes.
2015-10-19 16:30:53 +08:00
Mounir IDRASSI 4ff727d702 Language XML files: add some missing fields 2015-10-18 17:21:53 +02:00
Mounir IDRASSI 97701eb2e9 Windows: Ensure focus is always set to the drive list upon startup 2015-10-18 16:17:09 +02:00
Mounir IDRASSI 0a69062c6b Language XML files: remove unused ID. 2015-10-18 16:17:07 +02:00
Mounir IDRASSI d5e7426181 Merge pull request #27 from Zhangjintao/master
Update Language.zh-cn.xml (By zhangjintao)
2015-10-18 16:05:52 +02:00
Mounir IDRASSI 41819270bb Windows: Solve lost focus for application after displaying the waiting dialog 2015-10-15 01:36:15 +02:00
Mounir IDRASSI 8342d0d616 Windows Rescue Disk: compress bootloader for rescue disk in several more cases because of its growing size. 2015-10-15 01:36:12 +02:00
Mounir IDRASSI 19483d2097 Windows Bootloader: Protect password/PIM length by filling the fields to their maximum length with '*' after ENTER is hit 2015-10-15 01:36:10 +02:00
Mounir IDRASSI 225acf4a22 Windows: resize some GUI fields to avoid text truncation with non US languages (e.g. German) 2015-10-15 01:36:07 +02:00
Mounir IDRASSI fb67b54787 Language files: update German XML file with anonymous contribution (Dulla) 2015-10-15 01:36:04 +02:00
Mounir IDRASSI 23b69537a5 Windows: Set bPrebootPasswordDlgMode to FALSE at the correct code location. 2015-10-15 01:36:02 +02:00
Mounir IDRASSI ee3fa19ed9 Windows: correct wrong ID for keyfiles button in password dialog 2015-10-15 01:35:59 +02:00
Mounir IDRASSI f274f5bdc5 Windows: solve issue on VeraCryptExpander where if TB radio button was checked, it will remain checked even if GB, MB or KB is are checked. 2015-10-15 01:35:57 +02:00
Mounir IDRASSI 5a8eee91c3 Language Files: update polish translation 2015-10-15 01:35:54 +02:00
Zhangjintao 647a7e047a Update Language.zh-cn.xml 2015-10-12 08:34:16 +08:00
Zhangjintao dadfebc6c3 Update Language.zh-cn.xml
Update Simplified Chinese translation.
2015-10-11 15:32:53 +08:00
Mounir IDRASSI 8748013f7d Increment version to 1.16. Update user guide PDF file. 2015-10-07 12:56:09 +02:00
Mounir IDRASSI 63091cd29c Windows Language files: update language XML files with added new fields. 2015-10-07 12:56:05 +02:00
Mounir IDRASSI 9a6fc789eb Windows: Add option to disable detection of "Evil Maid" attacks. This is helpful for users who have software running the modifies the bootloader, like FLEXnet. 2015-10-07 12:56:01 +02:00
Mounir IDRASSI f3c91cb05c Windows: Don’t try to mount using empty password when default keyfile configured or keyfile specified in command line. Add option in default keyfiles dialog to restore the old behavior. 2015-10-07 12:55:58 +02:00
Mounir IDRASSI 13058fd638 Windows: fix failure to restore volume header from an external file if custom PIM used or PRF different from default one. Also default PRF is correct set in password dialog for restore operation. 2015-10-05 04:31:19 +02:00
Mounir IDRASSI c94f8c9b63 Windows Driver: Modify fix for CVE-2015-7358 to solve side effects on Windows mount manager while still making it hard to abuse drive letter handling. 2015-10-05 04:31:17 +02:00
Mounir IDRASSI ea451c7241 Windows Driver: remove allocation of unused variables 2015-10-05 04:31:15 +02:00
Mounir IDRASSI 4682f9b235 Windows: remove wrong check for return value of MultiByteToWideChar 2015-10-05 04:31:13 +02:00
Mounir IDRASSI 185e421114 Increment version to 1.15. Update user guide PDF file. 2015-09-26 17:44:31 +02:00
Mounir IDRASSI a3437067ac Windows Language files: update language XML files with added new fields. 2015-09-26 17:44:23 +02:00
Mounir IDRASSI f07121f830 Windows: rename "Performance..." menu to "Performance/Driver Configuration" since we added IOCTL option 2015-09-26 17:44:12 +02:00
Mounir IDRASSI f41be7399b Windows: Support specifying volumes size using TB in GUI as it is the case in command line. 2015-09-26 17:44:09 +02:00
Mounir IDRASSI 307568f631 Windows Driver: remove unnecessary variables declaration and use in MountManagerMount. 2015-09-26 17:44:06 +02:00
Mounir IDRASSI 9b24da3398 Windows Driver: Fix inherited TrueCrypt local elevation of privilege vulnerability caused by abusing the drive letter symbolic link creation facilities to remap the main system drive. Thanks to James Forshaw (Google) for reporting this issue and for helping implementing the fix. 2015-09-26 17:44:03 +02:00
Mounir IDRASSI b7f9df6e4f Windows Driver: Fix inherited TrueCrypt local elevation of privilege vulnerability caused by incorrect impersonation token handling. Reported and fixed by James Forshaw (Google) 2015-09-26 17:44:00 +02:00
Mounir IDRASSI fda4d3f820 Windows: Allow Application key to open context menu on drive letters list. 2015-09-26 17:43:57 +02:00
Mounir IDRASSI 0eec3bc349 Windows Installer: check newly added files if they are used before resuming installation. Avoid using driver handle to check if we are using system encryption. 2015-09-26 17:43:54 +02:00
Mounir IDRASSI d98367f53b Window: Solve Unicode issues in GUI (e.g. Chinese text not always displayed correctly) by using Unicode API for dialogs and window message handling. 2015-09-26 17:43:51 +02:00
Mounir IDRASSI 03de885b13 Windows: Set keyboard focus to PIM field when "Use PIM" is checked. 2015-09-26 17:43:47 +02:00
Mounir IDRASSI 6b3a26bc40 Windows: Add extra check in GetDiskDeviceDriveLetter for code clarity 2015-09-26 17:43:43 +02:00
Mounir IDRASSI e8ea23e719 Windows: fix regression that made Favorite fail to load a logon. 2015-09-26 17:43:35 +02:00
Mounir IDRASSI c447b45d45 Increment version to 1.14. Update user guide PDF file. 2015-09-16 18:35:57 +02:00
Mounir IDRASSI d904c2758f Windows Language files: update language XML files with added new fields. 2015-09-16 18:35:51 +02:00
Mounir IDRASSI 9e1e128b14 Windows: Add functionality to verify Rescue Disk ISO image file. 2015-09-16 01:33:19 +02:00
Mounir IDRASSI 52c7445a79 Windows: Correctly detect presence of CD/DVD recorder during the creation of Rescue Disk. Check only CD/DVD drives and removable media when looking for rescue disk during its verification. 2015-09-16 01:33:16 +02:00
Mounir IDRASSI db80c02342 Windows: Add option to explicitly support extended disk IOCTLs and disable this support by default. This will avoid having issue with software that doesn't handle correctly partial IOCTL_STORAGE_QUERY_PROPERTY support. 2015-09-16 01:33:14 +02:00
Mounir IDRASSI 4d7dc3ba25 Windows: first implementation of CLI support for creating volumes. 2015-09-16 01:33:11 +02:00
Mounir IDRASSI 85c1bc34e3 Linux/MacOSX: workaround bug in old versions of g++ that are confused by methods having the same name and one of them used as wxWidgets event handler callback. 2015-09-14 00:48:37 +02:00
Mounir IDRASSI 24f3b5230c Linux/MacOSX: Mask/unmask PIM value in GUI the same way as the password 2015-09-13 23:51:06 +02:00
Mounir IDRASSI 7e73208e62 Windows Bootloader: Fix Rescue Disk issue when Cascades and SHA256 used. It was caused by the bootloader becoming too big in this case with PIM implementation (larger than the limit of 31232 bytes). We also increase memory requirement for this case 2015-09-13 01:15:13 +02:00
Mounir IDRASSI 22152878f8 Windows Bootloader: pass correct compressed data size to decompressor and use shorter string to keep a valid memory layout for boot sector. 2015-09-13 01:14:17 +02:00
Mounir IDRASSI 89a7fad16d Windows: avoid freezing the wait dialog by setting its parent to desktop when having lengthy driver calls (like mounting) 2015-09-11 00:38:52 +02:00
Mounir IDRASSI fe6ea62363 Windows: Don't offer creating a restore point if it is disabled in Windows. 2015-09-10 01:44:17 +02:00
Mounir IDRASSI 957ff20f37 Windows: Implement waiting dialog for Mount All Favorites Volumes operation. 2015-09-10 01:44:14 +02:00
Mounir IDRASSI ec7b5cd7e6 Windows: Implement waiting dialog for Dismount operations to avoid freezing GUI when dismounting takes long time. 2015-09-10 01:44:12 +02:00
Mounir IDRASSI c55e08b31e Windows: When no language selected by user, explicitly use English as default one unless VeraCrypt is in portable mode. 2015-09-10 01:44:09 +02:00
Mounir IDRASSI 09db742c3e Windows: Add missing IDC_COPY_EXPANDER control definition 2015-09-10 01:44:06 +02:00
Mounir IDRASSI a36cf1f01e Windows Traveler Disk Setup: Include Volume Expander. Force selection of target directory through Browse button. Use Unicode functions for handling the creation files. 2015-09-08 01:08:24 +02:00
Mounir IDRASSI a9882a6689 Windows: Don't use RegDeleteKeyEx since it's not supported on Windows XP. 2015-09-08 01:08:22 +02:00
Mounir IDRASSI 0bd265cbde Windows: Launch Format/Expander wizards from VeraCrypt.exe using executable binaries with the same architecture. 2015-09-07 01:40:51 +02:00
Mounir IDRASSI 9fc98b5ea3 Windows: take into account default PRF and TrueCrypt Mode in "Volume Tools" operations. 2015-09-06 20:31:10 +02:00
Mounir IDRASSI 13bfb2db59 Windows: Installer and Traveler Disk Setup both always copy 32-bit and 64-bit executable binaries. 2015-09-06 20:31:07 +02:00
Mounir IDRASSI e445863ae4 Windows: Save/Restore last selected drive in drivers list only when saving history is enabled. 2015-09-06 20:31:04 +02:00
Mounir IDRASSI 42a7a17cb9 Windows Installer: better handling for updating system favorite service from 1.0f-2 (solve Windows 10 issue) . Remove extra VeraCrypt files that may remain after uninstalling it. 2015-09-06 20:31:01 +02:00
Mounir IDRASSI adc3274395 Language files: adaptations of XML files to be recognized correctly by Transifex 2015-09-01 01:37:02 +02:00
Mounir IDRASSI 249d747a53 Windows: Increase width of plain text size static control to accommodate larger text 2015-09-01 01:37:00 +02:00
Mounir IDRASSI f2b40ba5b5 Language files: update XML files with new fields. 2015-09-01 01:36:57 +02:00
Mounir IDRASSI 4470d11c39 Merge pull request #18 from LouisTakePILLz/master
Linux/MacOSX: Support supplying password to VeraCrypt via pipe (stdin)
2015-08-31 01:56:56 +02:00
LouisTakePILLz 9582d8fbcb Add stdin-supplied password support 2015-08-30 19:45:01 -04:00
Mounir IDRASSI 90f9194558 Windows: Support setting volume label in Explorer through mount option. Support using favorite label as label in Explorer. 2015-08-31 00:30:58 +02:00
Mounir IDRASSI dc6c279339 Windows Driver: Protect captured subject context during processing of user access token. 2015-08-31 00:30:56 +02:00
Mounir IDRASSI 2f2cb6b7ae Windows: compact columns size of view reports used in Benchmark and Devices dialogs 2015-08-31 00:30:53 +02:00
Mounir IDRASSI 8dc1dd2fb4 Windows bootloader: Mask/unmask PIM value in bootloader the same way as the password 2015-08-28 19:32:29 +02:00
Mounir IDRASSI 86dc27dcb8 Windows: Treat the PIM like a password and make it visible when "Display password" is checked. 2015-08-28 01:54:53 +02:00
Mounir IDRASSI cfb591a9e9 Windows: Correctly display the password edit "black dot" instead of a '*' when showing it then hiding it. 2015-08-27 02:18:47 +02:00
Mounir IDRASSI 8c0fadc068 Language XML translations: use correct abbreviation for VeraCrypt Rescue Disk (VRD instead of TRD) 2015-08-27 02:18:44 +02:00
Mounir IDRASSI ad3b8eca69 Windows: Protect against using a container file as its own keyfile. Normalizing path names to never use '/' but always '\'. 2015-08-27 02:18:40 +02:00
Mounir IDRASSI 20cb199e55 Windows: Solve various issues in HotKeys assignment dialog by ensuring that keys are detected only when the assignment edit has the focus and also by taking a key into account only once even if it remains pressed contently (this solves issue http://sourceforge.net/p/veracrypt/discussion/technical/thread/6597c91a) 2015-08-27 02:18:36 +02:00
Mounir IDRASSI ef94506c34 Windows: Solve wrong PKCS-5 PRF label disabled in dialog for Add/Remove Keyfiles and Remove All Keyfiles 2015-08-16 21:29:00 +02:00
Mounir IDRASSI 55a267a171 Windows: Solve UI language change not taken into account for new install unless a preference is changed. Code refactoring. 2015-08-16 17:58:06 +02:00
Mounir IDRASSI ba9af46662 Language XML: use correct abbreviation for VeraCrypt Rescue Disk (VRD instead of TRD) 2015-08-14 01:58:45 +02:00
Mounir IDRASSI fa66a059d9 Windows Driver: support returning StorageDeviceProperty through IOCTL_STORAGE_QUERY_PROPERTY. 2015-08-14 01:58:42 +02:00
Mounir IDRASSI 1d36a1cd05 Windows: solve issue of option "Cache password in driver memory" not read on startup, making it always disabled unless a mount is attempted. 2015-08-14 01:58:39 +02:00
Mounir IDRASSI 5db8cdb98f Increment version to 1.13 2015-08-09 13:56:51 +02:00
Mounir IDRASSI 0cf2885e84 Windows: better error code when IOCTL_STORAGE_QUERY_PROPERTY type is not supported 2015-08-09 01:38:34 +02:00
Mounir IDRASSI f9c3bcd384 Windows: Solve crash of TOR when run from VeraCrypt volume by explicitly returning error code when unsupported IOCTL_STORAGE_QUERY_PROPERTY parameter encountered. 2015-08-09 00:17:46 +02:00
Mounir IDRASSI 96520e22bd Linux: modify official build script to use different build directories for wxWidgets console and GUI builds. 2015-08-06 12:31:32 +02:00
Mounir IDRASSI ff0ab2da93 Linux: Correct formating of license displayed in the installer 2015-08-06 12:31:28 +02:00
Mounir IDRASSI 174f7f498a Increment version to 1.12. Update user guide PDF file. 2015-08-06 00:04:29 +02:00
Mounir IDRASSI 041024fbb9 Update license information to reflect the use of a dual license Apache 2.0 and TrueCrypt 3.0. 2015-08-06 00:04:25 +02:00
Mounir IDRASSI a23943694b Language files: Remove duplicated entry in XML files. 2015-08-06 00:04:10 +02:00
Mounir IDRASSI e760d69bfd Language files: update French XML file. remove duplicated field. 2015-08-06 00:04:00 +02:00
Mounir IDRASSI c2d0d5e344 Windows: Add extra checks for bootloader tampering. 2015-08-06 00:03:56 +02:00
Mounir IDRASSI a06c41c5c9 Language files: update German XML file with anonymous contribution (Maria) 2015-07-31 17:39:37 +02:00
YanandMounir IDRASSI ee511e95b2 typo fix 2015-07-31 17:39:34 +02:00
YanandMounir IDRASSI 8454c23fcc Updated Russian translation 2015-07-31 17:39:30 +02:00
Mounir IDRASSI 2aa558d6f4 Language files: update German XML file to replace Volumen by Volume 2015-07-30 22:47:01 +02:00
Mounir IDRASSI 0eeff69332 Language Files: update polish translation 2015-07-30 01:37:51 +02:00
Mounir IDRASSI 1a897f8714 Language files: Update German translation received from anonymous contributor. 2015-07-30 00:51:02 +02:00
Mounir IDRASSI d94304f419 Language files: add new field related to bootloader fingerprint checking 2015-07-29 00:33:17 +02:00
Mounir IDRASSI 4535aee30f Language files: Update Polish translation received from anonymous contributor. 2015-07-29 00:33:13 +02:00
Mounir IDRASSI 6ca598f841 Windows: Implement Evil-Maid-Attack detection mechanism. Write the correct bootloader when changing the system encryption password: this enables to recover if an attack is detected. 2015-07-29 00:33:10 +02:00
Mounir IDRASSI 69a8ad5bba Linux/MacOSX: remove unused variable. 2015-07-25 23:59:01 +02:00
Mounir IDRASSI 78aa7de9bc Language files: update XML language files with new fields 2015-07-25 19:46:10 +02:00
Mounir IDRASSI 94ccaf1ab4 Linux: solve compilation error on OpenSUSE when linking against system wxWidgets. OpenSUSE enables STL in wxWidgets which causes the error because implicit casts are not available. 2015-07-25 13:39:50 +02:00
Mounir IDRASSI 4fcf5c921c Linux: Add "new-hash" switch for changing PRF and remove "current-hash" switch which didin't fit the change password/keyfile logic. 2015-07-19 11:29:47 +02:00
Mounir IDRASSI 5158953428 User Interface enhancements for PIM 2015-07-19 11:29:45 +02:00
Mounir IDRASSI 63818bcaa4 Windows: Don't offer "None" as wipe mode when real wipe is explicitly needed (like in Decoy system partition wipe case) 2015-07-14 16:58:30 +02:00
Mounir IDRASSI 88ef238593 Windows: in encryption wizard, clicking "Previous" in the "Large File Support" page should take to password page if PIM not enabled. 2015-07-14 15:47:38 +02:00
Mounir IDRASSI 046513b7c9 Windows: solve issue introduced by the new "Use PIM" checkbox that caused error when trying to encrypt system (the wizard was executing a wrong page) 2015-07-14 14:03:20 +02:00
Mounir IDRASSI 7d6cd0c92d Windows: on 64-bit Windows, more System favorite service from SysWoW64 to System32 since now all binaries are native 64-bit on 64-bit machines. 2015-07-13 23:35:23 +02:00
Mounir IDRASSI 103018b367 Windows: Fix memory access issues when processing language XML files. Avoid writing to locked memory resource which can trigger crash. 2015-07-13 23:35:20 +02:00
Mounir IDRASSI 52146825de Windows: workaround to solve system favorites failing to mount because underlying drive takes long time to be recognized by Windows. 2015-07-13 23:35:17 +02:00
Mounir IDRASSI a43a5ebb21 Windows: Modify PIM parts in GUI to make it easier to use. Users must explicitly check "User PIM" to enable its use. 2015-07-13 23:35:15 +02:00
Mounir IDRASSI 8fc08b1e46 Windows: Solve failure to create hidden volume when PIM used for outer volume. Correctly wipe password variable from memory. 2015-07-13 23:35:11 +02:00
Mounir IDRASSI b23cbf384f Windows: Set longer wait hint time for System Favorites Service to avoid being killed by Windows. Add extra system event logs to help trace any issues (there is no leak issue because this is done in case of System Favorite service which is only enabled when system is encrypted). 2015-07-13 23:35:08 +02:00
Mounir IDRASSI 2d0d4b06b1 Linux: Solve compilation warning (unused variables, pointer cast) 2015-07-11 01:58:39 +02:00
Mounir IDRASSI 944b6aa53f Linux: Solve error when building against dynamic wxWidgets library, especially under Ubuntu. 2015-07-11 01:58:36 +02:00
Mounir IDRASSI 6ef41abdd2 Use Pim name for internal variables instead of the old name Pin 2015-07-11 01:58:34 +02:00
Mounir IDRASSI 7a01453f00 Windows: Fix old issue inherited from TrueCrypt by initializing COM library before instantiating UAC COM object used for changing password. This issue made it impossible to change the password of a volume requiring administrative privileges. 2015-07-08 22:16:04 +02:00
Mounir IDRASSI b809cf62ae Windows: Disable Set Key Header Algorithm item in "Volumes" menu when the system partition is selected by the user using "Select Device" 2015-07-08 22:16:01 +02:00
Mounir IDRASSI 0ddd19d4ab Windows: Disable menu item for changing system header key derivation algorithm until it's actually implemented 2015-07-07 08:13:34 +02:00
Mounir IDRASSI 6a78f7eae2 Windows: better logic for FormatEx function call. To be replaced in the future by Microsoft COM interfaces. 2015-07-06 01:19:23 +02:00
Mounir IDRASSI 724043be0b Windows: Display source location of errors in order to help diagnose issues reported by users 2015-07-06 01:19:21 +02:00
Mounir IDRASSI c3b77fba25 Linux: Support checking/reparing mounted filesystem on KDE when xterm not available 2015-07-04 17:48:20 +02:00
Mounir IDRASSI 218f63b4b6 Windows: re-size some controls to avoid text truncation. 2015-07-03 23:27:40 +02:00
Mounir IDRASSI b4b51bd909 Windows: Solve privacy issue inherited from TrueCrypt and linked to the update of configuration and history XML files everytime VeraCrypt main window is opened, even if there was no modifications. This could give information about the usage of VeraCrypt. Now, configuration and history XML files are updated only when there are modifications. 2015-07-03 02:12:28 +02:00
Mounir IDRASSI bef713de1a Language XML: Add newlines to PIM Help Text to make clearer for reading 2015-07-03 02:12:25 +02:00
Mounir IDRASSI 8f4b970dc1 Windows: Explicitly use internal PKCS#11 headers for building 2015-07-03 02:12:22 +02:00
Mounir IDRASSI 439e0a9588 Linux/MacOSX: Add dedicated PIM page in the volume creation wizard. Correct PIM value check logic. 2015-06-28 20:25:22 +02:00
Mounir IDRASSI da8aec4292 Linux: don't ask for PIM if TrueCryptMode enabled, both in command line and GUI 2015-06-26 22:07:17 +02:00
Mounir IDRASSI d73df9bbd4 Linux: if a keyfile is specified in the command line without a password, don't try to mount using an empty password unless its TrueCryptMode or an empty password has been explicitly specified. 2015-06-24 23:58:52 +02:00
Mounir IDRASSI d734ce4635 Linux/MacOSX: solve GUI layout issues although the volume creation wizard still has issues 2015-06-24 23:35:30 +02:00
Mounir IDRASSI 2cd39b37c2 Linux/MacOSX: restore normal file mode to some source files 2015-06-24 15:33:23 +02:00
Mounir IDRASSI ea27cace41 Linux: solve bug when "-tc" command line switch is not followed by another switch. In this case, the value coming after the "-tc" switch was ignored from processing. 2015-06-24 15:33:20 +02:00
Mounir IDRASSI 9913af3a8e Linux/MacOSX: first dynamic mode implementation 2015-06-24 15:33:16 +02:00
Mounir IDRASSI f927ce9b58 Windows: Add a dedicate page for volume PIM in the volume creation wizard 2015-06-21 20:47:01 +02:00
Mounir IDRASSI 5d9d49e989 Windows: in "VeraCrypt Format.exe", erase the volume PIM value after the process is finished to avoid displaying it again if the user starts a new creation process right after 2015-06-19 18:32:03 +02:00
Mounir IDRASSI d31466ae7a Windows: If PIM of a volume is changed and if it is a favorite or system favorite, automatically update favorite or system favorite XML file with the new value. 2015-06-19 18:31:59 +02:00
Mounir IDRASSI 7d55b028f2 Windows: Use "PIM" instead of "PIN" in favorites XML file 2015-06-19 18:31:53 +02:00
Mounir IDRASSI 44234a0ccc Windows installer: solve Windows XP 32-bit incompatibility issue introduced previously. 2015-06-12 00:01:12 +02:00
Mounir IDRASSI 6be12f4889 Windows: Implement waiting dialog for Auto-Mount Devices operations to avoid freezing GUI. 2015-06-10 01:13:56 +02:00
Mounir IDRASSI b7eadfd310 Windows: solve installer issue on Windows 10 caused by failure to overwrite VeraCrypt driver file. 2015-06-10 01:13:53 +02:00
Mounir IDRASSI a7a8d57bca Windows: rename PIN to PIM to avoid confusion. Better error messages. 2015-06-08 01:16:34 +02:00
Mounir IDRASSI 00cd134720 Windows: Add command line switch parameter for temporary caching of password during favorites mounting (/cache favorites). Correct implementation of "/cache y". 2015-06-08 01:16:29 +02:00
Mounir IDRASSI c3c1bdd29d Windows: Add support for PIN in favorites. Several enhancements to GUI handling of Dynamic Mode. 2015-06-07 01:38:34 +02:00
Mounir IDRASSI 550e2bcf3b Windows: fix buffer overrun issue when parsing language XML file 2015-05-31 08:09:46 +02:00
Mounir IDRASSI 57343ce04c Windows: reorder command line switched with alphabetical order for better help display 2015-05-29 02:22:12 +02:00
Mounir IDRASSI fdc2143bfa Windows: workaround FormatEx keeping references on formatted volume by adding extra delays. 2015-05-29 02:22:08 +02:00
Mounir IDRASSI 5867250820 Windows: Display VeraCrypt version information when the command line switch /help is used. 2015-05-29 02:22:05 +02:00
Mounir IDRASSI 70215e3682 Windows: GUI modifications around PIN field 2015-05-27 01:01:53 +02:00
Mounir IDRASSI 8ebf5ac605 Windows: first implementation of dynamic mode 2015-05-26 01:38:15 +02:00
Mounir IDRASSI 85e5e383f9 Windows: solve 64-bit compilation warnings after checking that they are harmless. 2015-05-26 01:38:11 +02:00
Mounir IDRASSI a8651ac014 Language files: update XML language files with new fields 2015-05-22 22:59:00 +02:00
Mounir IDRASSI 1c08ea01f1 Windows Setup: Integrate 64-bit builds of exe files into the installer. Only install 64-bit exe files on Windows 64-bit. This gives a boot in performance for encryption/decryption of partitions/drives on Windows 64-bit. 2015-05-22 22:58:55 +02:00
Mounir IDRASSI 0d23312886 Windows: Modifications to build 64-bit versions of VeraCrypt.exe & "VeraCrypt Format.exe". 2015-05-22 22:58:51 +02:00
Mounir IDRASSI c44c1ac9ce Windows: make random generator function compatible with 64-bit execution environment 2015-05-22 12:00:23 +02:00
Mounir IDRASSI 32ba1ebcff Windows: Correctly detect switch user and RDP disconnect as session locking so that autodismount could be performed when it's enabled in the preferences 2015-05-22 12:00:20 +02:00
Mounir IDRASSI 138d22a254 Windows: remove crash dump analysis functionality. It didn't always work and it required external debugging tools. 2015-05-22 12:00:17 +02:00
Mounir IDRASSI 330bed0c42 Windows: correct typo in help text 2015-05-22 12:00:13 +02:00
Mounir IDRASSI f72125ea71 Windows: First implementation of non-system volumes decryption. 2015-05-17 12:16:16 +02:00
Mounir IDRASSI 4695920b41 Language XML: Use correct links in displayed message. 2015-05-15 00:02:41 +02:00
Mounir IDRASSI e95c075f0c Windows driver: avoid race condition by using IoAttachDeviceToDeviceStackSafe instead IoAttachDeviceToDeviceStack. Set BootArgs.CryptoInfoLength to 0 after clearing boot memory. 2015-05-15 00:02:38 +02:00
Mounir IDRASSI 4a5154e750 Windows Driver: fix wrongly reported bad sectors by chkdsk caused by a bug in IOCTL_DISK_VERIFY. There was no real issue in sectors. 2015-05-10 01:26:18 +02:00
Mounir IDRASSI b3646b3237 Windows: Solve detection issue when resuming encryption. Add separate logic for manual selection of device and display error message in case of failure. 2015-05-06 23:31:37 +02:00
Mounir IDRASSI 061292130d Windows: When resuming in-place encryption, add manual selection of partition possible. Display wait dialog when performing detection. 2015-05-04 00:06:26 +02:00
Mounir IDRASSI d1c1aa369c Windows: Make the Format wizard work again when launched from VeraCrypt menu. 2015-05-03 15:47:31 +02:00
Mounir IDRASSI 7d52dda67c Windows Driver: Implement querying physical sector size of veraCrypt volume through IOCTL_STORAGE_QUERY_PROPERTY 2015-05-03 15:47:29 +02:00
Mounir IDRASSI 0f2d32f011 Windows: enable showing/hiding password for system encryption in Windows UI and in the bootloader (F5 key). This will be helpful to diagnose issues with non-US versions of Windows. 2015-05-03 15:47:25 +02:00
Mounir IDRASSI a1f1e34789 Windows: Modify custom window class names to less generic value in order to avoid collision with existing class names. 2015-05-03 15:47:22 +02:00
Mounir IDRASSI eac440ae9e Windows: Support A: and B: as driver letters for mounting volumes. 2015-04-27 23:59:53 +02:00
Mounir IDRASSI dc3bc64b86 Windows: Better command line handling to make it more strict and robust. This avoids issues when using wrong syntax. 2015-04-27 23:59:49 +02:00
Mounir IDRASSI 9ccb8a97af Linux: in command line, support hash algorithm names without '-' as on Windows ("sha256", "sha512", "ripemd160") 2015-04-26 00:05:22 +02:00
Mounir IDRASSI bf8e07966b Language XML: update German translation 2015-04-26 00:05:18 +02:00
Mounir IDRASSI 093fada00b Language XML: add new IDC_PREF_TEMP_CACHE_ON_MULTIPLE_MOUNT field to translations 2015-04-19 22:00:16 +02:00
Mounir IDRASSI 4890a65106 Windows: solve translation issue with IDM_DEFAULT_MOUNT_PARAMETERS menu item 2015-04-19 22:00:11 +02:00
Mounir IDRASSI 2ec75c5f8e Linux: Correct wxWidgets assert warnings when displaying about/LegalNotice dialogs. This didn't happen with official binaries because the library used disables asserts. 2015-04-19 16:31:28 +02:00
Mounir IDRASSI 29501638d1 Windows: lower position of "Never save history" checkbox to avoid wrong clicks 2015-04-19 16:12:57 +02:00
Mounir IDRASSI 856395962b Linux installer: Add support for kdesudo and correct usage of konsole external call. 2015-04-19 16:12:53 +02:00
Mounir IDRASSI bb2149aac8 Windows: add a test code-signing certificate and a batch file to sign binaries and the installer with it. 2015-04-11 00:32:20 +02:00
Mounir IDRASSI 8e4a68af3b MacOSX: Set properly the version in the bundle and the installation package. Allow downgrading using older installers. 2015-04-06 19:50:30 +02:00
Mounir IDRASSI 4a8040735b MacOSX: Correctly handle OSX dock "reopen-application" event and Cocoa openFiles message instead of the deprecated Carbon "open-document" event 2015-04-06 19:50:27 +02:00
Mounir IDRASSI ae28d51016 Linux/MaxOSX: correctly detect type of internal exceptions 2015-04-06 19:50:24 +02:00
Mounir IDRASSI 32f11001c0 MacOSX: solve issue volumes not auto-dismounting when quitting VeraCrypt. restore main VeraCrypt window if is in background when we need to display various dialogs 2015-04-06 19:50:21 +02:00
Mounir IDRASSI a0ebc22d1f Windows: update projects build dependencies in Visual Studio solution files 2015-04-06 06:16:43 +02:00
Mounir IDRASSI 9159a0777d Language: Update language XML files 2015-04-06 06:16:40 +02:00
Mounir IDRASSI 0718a4ec20 Increment VeraCrypt version to 1.0f-2 2015-04-06 00:22:48 +02:00
Mounir IDRASSI f2cda804dc Update user guide PDF 2015-04-06 00:22:45 +02:00
Mounir IDRASSI b68fec97ea Windows: Require upgrading rescue disk since we changed bootloader in 1.0f-2 2015-04-06 00:22:42 +02:00
Mounir IDRASSI eefaefccc0 Windows: use secure string functions 2015-04-06 00:22:39 +02:00
Mounir IDRASSI 2784652ab8 Windows vulnerability fix: CryptAcquireContext vulnerability fix. Add checks to random generator to abort in case of error and display a diagnose message to the user. 2015-04-06 00:22:36 +02:00
Mounir IDRASSI a284922ce4 Linux/MacOSX: Always add the source location when system exception occur in order to help diagnose users issues. 2015-04-05 14:25:15 +02:00
Mounir IDRASSI c4d30b34ba Linux/MacOSX: correctly handle some internal exception classes that were missed by the WaitDialog class. 2015-04-05 14:25:12 +02:00
Mounir IDRASSI a5203dd006 Windows Setup: Avoid potential issues by correctly initializing variables and checking memory allocation. 2015-04-05 14:25:09 +02:00
Mounir IDRASSI 474505d704 Linux: solve mount point permission issues for some users where the non-FAT volumes were only mounted in read-only mode 2015-03-23 09:07:58 +01:00
Mounir IDRASSI d3db2548b5 Windows: correctly handle WIN32 LastError when mounting. Harmonize file access checks between GUI and console. Skip ERROR_SHARING_VIOLATION in primary check in order to let the driver handle it more thoroughly. 2015-03-19 00:16:38 +01:00
Mounir IDRASSI f397f70fbe Windows Setup: When clicking uninstall link, launch Windows Add/Remove program instead of uninstall directly in order to avoid being flagged as legacy application by the Windows Program Compatibility Assistant (see number 5 in Microsoft UI Design Standard https://msdn.microsoft.com/en-us/library/ms954377.aspx) 2015-03-17 22:13:52 +01:00
Mounir IDRASSI ae5867f8b1 Windows Setup: remove other VeraCrypt references for registry. 2015-03-16 08:45:19 +01:00
Mounir IDRASSI ec4be21492 Windows Setup: implement removal of special LEGACY_VERACRYPT registry keys. 2015-03-15 23:46:12 +01:00
Mounir IDRASSI ed604cf0f3 Windows: VeraCrypt reference from various registry locations. Uninstall old VeraCrypt COM interfaces that were left after upgrading. 2015-03-13 18:09:21 +01:00
Mounir IDRASSI ef196b5ca5 Add Coverity define to avoid false positives during Static Code Analysis when TC_THROW_FATAL_EXCEPTION is used in the code 2015-03-08 20:14:33 +01:00
Mounir IDRASSI 279c99fdf8 Linux/MacOSX: Load preferences if only volume path is given in command line and GUI mode enabled. 2015-03-08 20:14:30 +01:00
Mounir IDRASSI f80f7d47d5 Windows: Avoid temporary caching password when mounting multiple favorites. Add option to activate this if needed. 2015-03-04 00:27:04 +01:00
Mounir IDRASSI 8e6707cc22 Windows: if TrueCrypt volume created with a version prior to 6.0, display this version in the error message to help users understand why it is not working. 2015-03-02 00:23:58 +01:00
Mounir IDRASSI f09f8e3a31 Windows Bootloader: Display message after entering password to inform user that the password is being processed. Without this, users coming from TrueCrypt think that the system is freezed since they expect it to boot quickly. 2015-03-02 00:23:55 +01:00
Mounir IDRASSI 21be04cb6e Update test containers and benchmark script to support hidden containers and measure wrong password time 2015-02-28 22:47:41 +01:00
Mounir IDRASSI ba1e9c8f4d Linux/MacOSX: A configuration option for default hash and default TrueCrypt mode used for mounting volumes (Menu Settings -> Default Mount Parameters). Implement priority of command line arguments over default values. 2015-02-28 17:03:38 +01:00
Mounir IDRASSI 6e73a8a393 Linux/MacOSX: Modify wxFormBuilder generated files directly to solve the 'X' icon not closing some dialog because we can't workaround wxFormBuilder bug without introducing other issues (the correct SetExtraStyle call must be present at the beginning of the constructor, so it must be present in the generated files). Each time we generated new sources, Forms.cpp must be manually modify it to keep this correction. 2015-02-27 18:07:36 +01:00
Mounir IDRASSI 176bec1bb2 Revert "Linux/MacOSX: solve the 'X' icon not closing some dialog. This was caused by a bug of wxFormBuilder that calls SetExtraStyle without taking care of the previous value."
This reverts commit 400fd599f812b057b0674f2ae0e0141e7c35a332.
2015-02-27 18:07:33 +01:00
Mounir IDRASSI 31b238872e Readme.md: indicate that on MacOSX building a console-only binary is not supported. 2015-02-25 22:57:15 +01:00
Mounir IDRASSI b730e965c5 Readme.txt: indicate that on MacOSX building a console-only binary is not supported. 2015-02-25 22:54:39 +01:00
Mounir IDRASSI a916135f3c Windows: Use default hash in the options of hidden volume protection 2015-02-25 09:09:03 +01:00
Mounir IDRASSI b2020c9fb7 Language XML: change the wording of password error messages to reflect the possibility of a wrong PRF. Replace "VeraCrypt volume" by "valid volume" since TrueCrypt is also supported. 2015-02-24 12:11:55 +01:00
Mounir IDRASSI 188b459d28 Windows: remove topmost and system modal properties from the wait dialog so that it doesn't disturb other applications. 2015-02-24 00:41:59 +01:00
Mounir IDRASSI 39bf211ebe Add test containers and Windows benchmark script for mount performance 2015-02-24 00:41:56 +01:00
Mounir IDRASSI 06af5ce7fd Windows: check password length for outer volume during hidden volume creation to avoid potential plausible deniability issues. 2015-02-22 21:29:42 +01:00
Mounir IDRASSI 7fb5af6ada Windows: Add menu option to set default hash and default TrueCrypt mode used for mounting volumes (Menu Settings -> Default Mount Parameters) 2015-02-22 01:03:22 +01:00
Mounir IDRASSI cb9859fa0e Speed and memory usage optimization for key derivation based on patches by Nils Maier. 20% improvement on 64-bit CPU for SHA512 and SHA256, 11% for Whirlpool and 13% for RIPEMD-160. 2015-02-22 01:03:19 +01:00
Mounir IDRASSI 717ffadf93 Windows Installer: don't add link to VeraCryptExpander in the desktop. 2015-02-16 00:19:39 +01:00
Mounir IDRASSI 419586d4a2 Language: update German XML with translation contributed by H. Sauer 2015-02-16 00:19:37 +01:00
Mounir IDRASSI 450cde5fac Language: update French translation (contributed by Thierry T.) 2015-02-16 00:19:34 +01:00
Mounir IDRASSI b2d119f781 Language: Update language XML files with new added fields 2015-02-16 00:19:32 +01:00
Mounir IDRASSI 7818c0e0e3 Window: add menu entry for launching VeraCryptExpander 2015-02-16 00:19:28 +01:00
Mounir IDRASSI 86529dadde Linux/MacOSX: solve the 'X' icon not closing some dialog. This was caused by a bug of wxFormBuilder that calls SetExtraStyle without taking care of the previous value. 2015-02-16 00:19:24 +01:00
Mounir IDRASSI 544c55debc Linux: Perform a quick NTFS formatting by adding the "-f" switch to mkfs.ntfs. Without this, the creation of big NTFS volumes takes ages. The code already takes care of the empty sectors by encrypting them with different key to randomize plaintext. 2015-02-13 16:18:00 +01:00
Mounir IDRASSI 2b826843de Windows: Add VeraCryptExpander.exe to the Windows installer. 2015-02-13 12:31:16 +01:00
Mounir IDRASSI b920bb2a6a Linux: modify installer script to make it run when the "less" command doesn't support the -X argument (Busybox case) 2015-02-11 09:02:41 +01:00
Mounir IDRASSI 5012e0941a Linux: Add graphical installer support when xterm is not available (Linux Mint case) 2015-02-10 12:45:36 +01:00
Mounir IDRASSI 1eb8aec9fa Language: update German translation (contributed by H.S.) 2015-02-10 12:45:33 +01:00
Mounir IDRASSI 2b8aa2df16 Windows: Solve PIN blocked issue when trying to mount a volume right after configuring the PKCS#11 module. Always ensure that we are using a valid window handle as a parent. 2015-02-09 11:01:26 +01:00
Mounir IDRASSI 5f252f2c50 Static Code Analysis: check return of remove function and display message when it fails. 2015-02-09 11:01:23 +01:00
Mounir IDRASSI d5f34ad49d Static Code Analysis: Avoid over-flaw in arithmetic operations by adding more checks. Add extra checks. Solve various issues. 2015-02-09 11:01:21 +01:00
Mounir IDRASSI 608e86c7bc Static Code Analysis: solve issues in Expander. Use real random values for wipe buffers. 2015-02-09 11:01:18 +01:00
Mounir IDRASSI 516da2229d Static Code Analysis: in Windows Driver, avoid using uninitialized stack memory as random and use proper random value for wipe operation. Solve potential double-free issue. 2015-02-09 11:01:16 +01:00
Mounir IDRASSI 28a9eaf0e3 Static Code Analysis: code potential memory leaks in inflate.c used by the setup. 2015-02-09 11:01:13 +01:00
Mounir IDRASSI de0c30dded Static Code Analysis: handle unused variables more properly. Catch STL exception. Add more checks. Add proper cast to arithmetic operations. 2015-02-09 11:01:11 +01:00
Mounir IDRASSI 1ab00f3e3c Static Code Analysis: Correct memory leaks. Add more checks. 2015-02-09 11:01:08 +01:00
Mounir IDRASSI 651bea29b4 Static Code Analysis: clarify macros definition and use. 2015-02-09 11:01:06 +01:00
Mounir IDRASSI 4e03adc2e7 Static Code Analysis: Add more checks. Avoid unhandled ATL exceptions by checking memory allocation. Avoid throwing exception in File constructor and simplify code. 2015-02-09 11:01:03 +01:00
Mounir IDRASSI d1a3316e44 Linux: solve rare issue where VeraCrypt wrongly reports that another instance is already running. That happens when VeraCrypt doesn't close cleanly upon shutdown/reboot and on the next startup another process is running with the same PID as VeraCrypt before shutdow/reboot. 2015-02-08 17:57:00 +01:00
Mounir IDRASSI 2c96d17748 Linux/MacOSX: mark RIPEMD-160 as deprecated like it's the case on Windows. It will no more be available for the creation of volumes. 2015-02-08 16:20:40 +01:00
Mounir IDRASSI ad4af09d88 Linux: When not under Gnome/KDE, use xdg-open to open the mounted volume if it is available. 2015-02-08 16:20:37 +01:00
Mounir IDRASSI 96b39a5973 Windows: retry UAC prompt operation in case of failure. This avoids cancel the whole operation if the user is not in front of the machine during UAC prompt (this happens ofter during in-place encryption of big NTFS partitions). 2015-02-08 10:07:44 +01:00
Mounir IDRASSI b16cfa959d Windows: rename VeraCryptExpander project in the global solution 2015-02-08 10:07:41 +01:00
Mounir IDRASSI f98a691933 Windows Setup: implement removal of non-empty directories to avoid errors during uninstall. 2015-02-08 10:07:38 +01:00
Mounir IDRASSI 35497f87a7 Activate support of mounting TrueCrypt system partitions. 2015-02-08 10:07:36 +01:00
Mounir IDRASSI d01fa11983 Linux/MacOSX: use command line values of TrueCryptMode and PRF as defaults for the password dialog 2015-02-08 10:07:33 +01:00
Mounir IDRASSI 3d8d088b06 Windows: use command line values of TrueCryptMode and PRF as defaults for the password dialog 2015-02-08 10:07:30 +01:00
Mounir IDRASSI 89a9763b11 Windows: Correct displaying wrong TrueCrypt mode in volume properties when SHA-256 is used. Issue reported and fixed by user Ache on CodePlex (https://veracrypt.codeplex.com/workitem/65) 2015-01-23 01:41:31 +01:00
Mounir IDRASSI 1efb782666 Windows: Add first version of VeraCryptExpander who is based on extcv. Minor modification to Mount.c to avoid link errors when building VeraCryptExpander. 2015-01-20 12:42:04 +01:00
Mounir IDRASSI 38f3fc816a Windows: use the same waiting message in dialog resource as it is in the language XML file. 2015-01-20 12:41:55 +01:00
Mounir IDRASSI 3794df4f31 Update the FAQ section of the user guide to include TrueCrypt support information. 2015-01-06 00:19:03 +01:00
Mounir IDRASSI 3502681f77 Clarify the waiting dialog message. 2015-01-05 23:08:38 +01:00
Mounir IDRASSI 8252cc3ec7 Linux/MacOSX: Add support for TrueCrypt 6.x as it was done on Windows. 2015-01-04 23:59:22 +01:00
Mounir IDRASSI 6a254778e2 Linux/MacOSX: Add wait dialog to the benchmark computation. Correct handling of wait dialog call when changing password and creating volumes. 2015-01-04 23:53:35 +01:00
Mounir IDRASSI 41607d126a Linux/MacOSX: make the cancel button work on the preferences dialog. 2015-01-04 19:28:42 +01:00
Mounir IDRASSI f53554a46a Increment version to 1.0f-1 and update language files and PDF with information about TrueCrypt 6.0 support. 2015-01-04 16:29:40 +01:00
Mounir IDRASSI 03e64e842a Language XML: correct error message to show that we support TrueCrypt 6.0 and above. 2015-01-04 16:29:36 +01:00
Mounir IDRASSI 2894bade88 Windows: better display of volume information and benchmark results. 2015-01-04 16:29:34 +01:00
Mounir IDRASSI cc02c78a8c Windows Driver: add TrueCrypt mode of mounted volumes to the output of TC_IOCTL_GET_MOUNTED_VOLUMES 2015-01-04 16:29:31 +01:00
Mounir IDRASSI 4f56a0a53d Windows: Add support for TrueCrypt 6.x since its format (v4) is identical to 7.x apart from the sector size field which we already handle correctly. 2015-01-04 16:29:29 +01:00
Mounir IDRASSI cbc28bd4fe Linux/MacOSX: change cascade encryption naming format in the UI as it was done on Windows. 2015-01-04 00:55:36 +01:00
Mounir IDRASSI 9a31c23881 Linux/MacOSX: workaround for wxWidgets bug in the method wxTextEntry::IsEmpty that made it impossible to enter a one digit size for the volume. 2015-01-03 23:54:12 +01:00
Mounir IDRASSI 55b3400afa Windows: change cascade encryption naming format to reflex mathematical composition of the encryption algorithm, thus being more clear. For example AES(Twofish(Serpent)) instead of AES-Twofish-Serpent. 2015-01-03 23:54:09 +01:00
Mounir IDRASSI 8f5fd67ff3 Windows: solve XP issue where the installer has missing/blacked out text boxes. 2015-01-03 00:29:02 +01:00
Mounir IDRASSI ad9b40d599 Linux: solve link error on recent Ubuntu when using shared wxWidgets. 2015-01-02 17:12:36 +01:00
Mounir IDRASSI 271d39d942 User Guide: add documentation for /hash command line switch on Windows that is used to specify the PRF of a volume. 2015-01-02 17:12:34 +01:00
Mounir IDRASSI 696166c9d4 Readme: add makeself to the build requirements for Linux. 2015-01-02 14:55:04 +01:00
Mounir IDRASSI aba8840625 Update the user guide with new screenshots and an entry for TrueCrypt compatibility 2014-12-31 01:01:14 +01:00
Mounir IDRASSI ac981c62c5 Increment version to 1.0f and update language XML files with new fields. 2014-12-31 01:01:11 +01:00
Mounir IDRASSI 41c12afefd Windows driver: don't fail if the PRF recovered from boot memory is not recognized in case we are dealing with a restored bootloader coming from a version prior to 1.0f. 2014-12-30 22:31:37 +01:00
Mounir IDRASSI 7c050d681d Linux/MacOSX: code refactoring and cleanup. 2014-12-30 19:57:08 +01:00
Mounir IDRASSI c178e325b8 Linux/MacOSX: Implement TrueCrypt conversion and loading support. Correct many GTK issues linked to multi-threaded origine of events by implementing an automatic mechanism for handling such requests in the main thread. 2014-12-30 17:06:20 +01:00
Mounir IDRASSI 8d787dcd71 Windows: propose only hash algorithm that support system encryption when the user select the option to a partition as an encrypted system partition. 2014-12-28 23:27:59 +01:00
Mounir IDRASSI 25c3d15ed7 Windows: support loading TrueCrypt volumes. Implement converting TrueCrypt volumes to VeraCrypt using the change password functionality. 2014-12-28 23:27:56 +01:00
Mounir IDRASSI ec9ff0fc1d Windows: make the wait dialog wider to accommodate long messages 2014-12-28 23:27:53 +01:00
Mounir IDRASSI 9a228ff045 Windows: use the selected hash algorithm when resuming interrupted process. This reduces volume opening time. 2014-12-28 23:27:51 +01:00
Mounir IDRASSI a8cc93f995 Windows: implement wait dialog for benchmark operation. 2014-12-28 23:27:48 +01:00
Mounir IDRASSI 2b1a166d23 Linux/MacOSX: Add possibility to choose 1-pass wipe mode without changing the default wipe mode (3-pass). 2014-12-28 23:27:46 +01:00
Mounir IDRASSI a27792cfcf Windows: Add possibility to choose 1-pass wipe mode in all cases without changing the default wipe mode. 2014-12-28 23:27:43 +01:00
Mounir IDRASSI e18f3cf381 Windows: use the correct parent window when changing the password of the encrypted system partition. 2014-12-27 13:39:26 +01:00
Mounir IDRASSI f4c864e88e Windows: implement wait dialog for the backup/restore header operations. 2014-12-27 13:39:24 +01:00
Mounir IDRASSI a8112b8373 Windows: use the correct window handle for creating message boxes. This became important after the introduction of the wait dialog in order to avoid having message boxes behind the wait dialog. 2014-12-27 13:39:22 +01:00
Mounir IDRASSI 2dbbd6b9d2 Windows: implement wait dialog for the change password operation. 2014-12-27 13:39:18 +01:00
Mounir IDRASSI c92d51e040 Windows: make the wait dialog mechanism more generic in order to reuse it more widely across VeraCrypt. 2014-12-27 13:39:16 +01:00
Mounir IDRASSI 258ba629a2 Windows: workaround freezing of waiting dialog but setting its parent to the desktop and making all mount calls in a separate thread. DeviceIoControl is making our like hard because it doesn't behave as a normal system call and it blocks our window message loop even when called from a separate thread. 2014-12-26 16:55:21 +01:00
Mounir IDRASSI d90d9f0c40 Linux/MacOSX: Implement waiting dialog for lengthy operations in order to have a better user experience. 2014-12-26 00:51:52 +01:00
Mounir IDRASSI bbcc944855 Windows: resize hot keys dialog to avoid displaying scroll-bars. 2014-12-22 01:02:55 +01:00
Mounir IDRASSI e1157ea935 Windows: Solve issue of some dialogs not showing up and that was caused by wrong handling of WM_NOTIFY messages. This behavior appeared after switching to Windows visual styles. 2014-12-22 01:02:53 +01:00
Mounir IDRASSI 9267450346 MacOSX: Increment installer version to 1.0f-BETA3 2014-12-21 00:30:23 +01:00
Mounir IDRASSI bb5e96a679 Linux: update the embedded data index inside the installer because the license content became bigger. 2014-12-20 22:36:10 +01:00
Mounir IDRASSI b8373ae933 Linux: Update license file displayed in the installer. 2014-12-20 21:38:07 +01:00
Mounir IDRASSI 5ef923f26c Increment version to 1.0f-BETA3 and update language XML files with new fields. 2014-12-20 19:33:55 +01:00
Mounir IDRASSI 7a89f0f0e1 Linux/MacOSX: Add a donation menu entry 2014-12-20 17:37:36 +01:00
Mounir IDRASSI 496701851f Linux/MacOSX: remove calls to non existent class VolumeLayoutV1Hidden 2014-12-20 15:48:00 +01:00
Mounir IDRASSI 4b9f8b232b Reduce time for reporting wrong password by removing support for legacy hidden format because it was never functional and it was superseded by current hidden format. 2014-12-20 15:31:24 +01:00
Mounir IDRASSI 02cbecff64 Windows: Add a donation menu entry 2014-12-20 15:31:22 +01:00
Mounir IDRASSI fbe1bbaffd Windows: Add missing PRF selection combobox in password page of Format program wizard. 2014-12-20 10:12:37 +01:00
Mounir IDRASSI 94737b2a7a Windows: change command line switch for PRF selection to /hash in order to match its value on Linux/MacOSX. Support hash names with and without the '-' character. 2014-12-19 18:41:43 +01:00
Mounir IDRASSI 07156b6c09 Linux/MacOSX: Enhance performance by implementing the possibility to choose the correct hash algorithm of volumes during various operations (mount, change password...), both using the GUI and the command line. 2014-12-19 18:41:41 +01:00
Mounir IDRASSI 18dc75ee62 Correct small typo in language XML file. 2014-12-19 15:25:53 +01:00
Mounir IDRASSI a3f7bcf45b Windows: replace stricmp by _stricmp to remove compilation warning 2014-12-17 12:15:01 +01:00
Mounir IDRASSI c98400a2b7 Windows: in silent mode, don't show the wait dialog during mount operation 2014-12-17 12:14:59 +01:00
Mounir IDRASSI 5b151492bd Windows: Remove Truecrypt name is error message. 2014-12-17 12:14:58 +01:00
Mounir IDRASSI c27461572c Windows: Enhance performance by implementing the possibility to choose the correct hash algorithm of volumes during various operations (mount, change password...). In case of system encryption, slightly speedup Windows startup time by making the driver pickup the correct hash algorithm used for the encryption. 2014-12-16 00:17:59 +01:00
Mounir IDRASSI 6349162303 Windows: display a wait dialog during the lengthy opening of a volume. There is still a freeze in the GUI even though the call to DeviceIoControl is done in a separate thread which can't be explained. Maybe if we had an asynchronous Device Driver call, things would better. 2014-12-16 00:17:57 +01:00
Mounir IDRASSI e935ec55dd Windows: Enable Visual Styles for a modern look-and-feel 2014-12-16 00:17:55 +01:00
Mounir IDRASSI d328269492 Linux/macOSX: always display random gathering dialog/interface before performing sensitive operations that needs good quality random. 2014-12-11 18:31:41 +01:00
Mounir IDRASSI 134ef04140 Windows: always display random gathering dialog when UserEnrichRandomPool is called instead of once per application run. This is implemented through the call SetRandomPoolEnrichedByUserStatus(FALSE) at the begining of sensitive operations instead of changing UserEnrichRandomPool because in the same call there can be many calls to UserEnrichRandomPool which can result in displaying the dialog many times. 2014-12-11 18:31:39 +01:00
Mounir IDRASSI c8c8cc517d Linux/MacOSX: Implement generating more than one keyfile, specifying the size of the generated keyfiles and letting VeraCrypt choose random size values. 2014-12-11 18:31:38 +01:00
Mounir IDRASSI e673006969 Update license text to show VeraCrypt name while maintaining the TrueCrypt license. 2014-12-11 18:31:35 +01:00
Mounir IDRASSI 520d885840 Correct XML syntax for symbols '<' and '>' 2014-12-11 18:31:34 +01:00
Mounir IDRASSI eb9cb16aeb Windows: Implement specifying the size of the generated keyfiles and also letting VeraCrypt choose random size values. 2014-12-11 18:31:32 +01:00
Mounir IDRASSI 32e72d1117 Implement function RandgetBytesFull that enables generating random bytes of any length. 2014-12-11 18:31:30 +01:00
Mounir IDRASSI fd0e434087 Windows: correct lock issue in RandgetBytes by releasing critical section in case of error. 2014-12-11 18:31:29 +01:00
Mounir IDRASSI 84a279a83f Windows Driver: change inherited TrueCrypt constants in kernel objects tags by VeraCrypt specific values. These are used in crash dumps analysis and during debugging. 2014-12-11 18:31:27 +01:00
1697 changed files with 422255 additions and 182287 deletions
+51
View File
@@ -0,0 +1,51 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
# Explicitly declare text files that could be normalized and converted
# to native line endings on checkout. However, as per the policy they're
# supposed to have LF endings on all platforms.
*.[ch] text diff=cpp eol=lf
*.[ch]pp text diff=cpp eol=lf
*.asm text eol=lf
Makefile text eol=lf
*.make text eol=lf
*.mk text eol=lf
*.inc text eol=lf
*.md text eol=lf
*.xml text eol=lf
*.xpm text -diff -merge eol=lf
*.pem text -diff -merge eol=lf
*.cer text -diff -merge eol=lf
*.manifest text eol=lf
*.sh text eol=lf
*.txt text eol=lf
*.html text diff=html eol=lf
*.idl 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.
*.desktop text eol=lf
# Declare files that will always have CRLF line endings on checkout.
*.sln text eol=crlf
*.vcproj text eol=crlf
*.rc text eol=crlf
*.bat text eol=crlf
*.cmd text eol=crlf
# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.pdf binary
*.bmp binary
*.ico binary
*.od[fgpst] binary
*.hc binary
*.icns binary
*.rtf binary
*.bz2 binary
*.pfx binary
+1
View File
@@ -0,0 +1 @@
custom: "https://veracrypt.jp/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://veracrypt.jp/en/Downloads.html).
You can also contribute directly by providing a pull request.
Thank you!
+213
View File
@@ -0,0 +1,213 @@
name: Build and test Linux
on:
push:
branches: [ "master" ]
paths:
- 'src/Build/Include/Makefile.inc'
- 'src/Build/CMakeLists.txt'
- 'src/Build/build_cmake_deb.sh'
- 'src/Common/*.h'
- 'src/Common/*.cpp'
- 'src/Common/*.c'
- 'src/Core/**'
- 'src/Crypto/**'
- 'src/Driver/Fuse/**'
- 'src/Main/**'
- 'src/PKCS11/**'
- 'src/Platform/**'
- 'src/Resources/**'
- 'src/Setup/Linux/**'
- 'src/Volume/**'
- 'src/Makefile'
- '.github/workflows/build-linux.yml'
pull_request:
branches: [ "master" ]
paths:
- 'src/Build/Include/Makefile.inc'
- 'src/Build/CMakeLists.txt'
- 'src/Build/build_cmake_deb.sh'
- 'src/Common/*.h'
- 'src/Common/*.cpp'
- 'src/Common/*.c'
- 'src/Core/**'
- 'src/Crypto/**'
- 'src/Driver/Fuse/**'
- 'src/Main/**'
- 'src/PKCS11/**'
- 'src/Platform/**'
- 'src/Resources/**'
- 'src/Setup/Linux/**'
- 'src/Volume/**'
- 'src/Makefile'
- '.github/workflows/build-linux.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
WXWIDGETS_VERSION: 3.2.5
jobs:
ubuntu-build:
runs-on: ubuntu-22.04
timeout-minutes: 30
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Generate cache key
id: cache-key
run: |
echo "cache_key=$(echo ${{ env.WXWIDGETS_VERSION }}-$(sha256sum src/Makefile .github/workflows/build-linux.yml | awk '{print $1}'))" >> $GITHUB_OUTPUT
- name: Cache wxBuildConsole
uses: actions/cache@v3
id: cache-wxbuildconsole
with:
path: /tmp/wxBuildConsole
key: wxBuildConsole-${{ steps.cache-key.outputs.cache_key }}
- name: Cache wxBuildGUI
uses: actions/cache@v3
id: cache-wxbuildgui
with:
path: /tmp/wxBuildGUI
key: wxBuildGUI-${{ steps.cache-key.outputs.cache_key }}
- name: Cache wxWidgets
uses: actions/cache@v3
id: cache-wxwidgets
with:
path: /tmp/wxWidgets-${{ env.WXWIDGETS_VERSION }}
key: wxWidgets-${{ steps.cache-key.outputs.cache_key }}
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y wget tar libpcsclite-dev libfuse-dev yasm libgtk-3-dev libayatana-appindicator3-dev cmake debhelper
- name: Download and extract wxWidgets to /tmp if build folders are missing
if: steps.cache-wxbuildconsole.outputs.cache-hit != 'true' || steps.cache-wxbuildgui.outputs.cache-hit != 'true' || steps.cache-wxwidgets.outputs.cache-hit != 'true'
run: |
wget https://github.com/wxWidgets/wxWidgets/releases/download/v${{ env.WXWIDGETS_VERSION }}/wxWidgets-${{ env.WXWIDGETS_VERSION }}.tar.bz2 -O /tmp/wxWidgets-${{ env.WXWIDGETS_VERSION }}.tar.bz2
mkdir -p /tmp/wxWidgets-${{ env.WXWIDGETS_VERSION }}
tar -xjf /tmp/wxWidgets-${{ env.WXWIDGETS_VERSION }}.tar.bz2 -C /tmp/wxWidgets-${{ env.WXWIDGETS_VERSION }} --strip-components=1
- name: Build VeraCrypt .deb packages
run: |
chmod +x src/Build/build_cmake_deb.sh
src/Build/build_cmake_deb.sh WXSTATIC INDICATOR
- name: Upload GUI .deb packages
uses: actions/upload-artifact@v4
with:
name: veracrypt-gui-debs
path: /tmp/VeraCrypt_Packaging/GUI/Packaging/veracrypt-*.*
- name: Upload Console .deb packages
uses: actions/upload-artifact@v4
with:
name: veracrypt-console-debs
path: /tmp/VeraCrypt_Packaging/Console/Packaging/veracrypt-console-*.*
- name: Install and test VeraCrypt GUI .deb packages
run: |
sudo apt install -y /tmp/VeraCrypt_Packaging/GUI/Packaging/veracrypt-*.deb
veracrypt --text --test && veracrypt --text --version
sudo veracrypt --text --non-interactive Tests/test.sha256.hc --hash sha256 --slot 1 --password test --mount-options=ro
sudo veracrypt --text --non-interactive Tests/test.sha512.hc --hash sha512 --slot 2 --password test --mount-options=ro
sudo veracrypt --text --non-interactive Tests/test.streebog.hc --hash streebog --slot 3 --password test --mount-options=ro
sudo veracrypt --text --non-interactive Tests/test.whirlpool.hc --hash whirlpool --slot 4 --password test --mount-options=ro
sudo veracrypt --text --list
echo -n "Dummy" > /tmp/expected_content.txt
if cmp -s /media/veracrypt1/Dummy.txt /tmp/expected_content.txt; then
echo "Content of test.sha256.hc is valid."
else
echo "Content of test.sha256.hc is invalid!"
exit 1
fi
if cmp -s /media/veracrypt2/Dummy.txt /tmp/expected_content.txt; then
echo "Content of test.sha512.hc is valid."
else
echo "Content of test.sha512.hc is invalid!"
exit 1
fi
if cmp -s /media/veracrypt3/Dummy.txt /tmp/expected_content.txt; then
echo "Content of test.streebog.hc is valid."
else
echo "Content of test.streebog.hc is invalid!"
exit 1
fi
if cmp -s /media/veracrypt4/Dummy.txt /tmp/expected_content.txt; then
echo "Content of test.whirlpool.hc is valid."
else
echo "Content of test.whirlpool.hc is invalid!"
exit 1
fi
sudo veracrypt -d
sudo apt remove -y veracrypt
- name: Install and test VeraCrypt Console .deb packages
run: |
sudo apt install -y /tmp/VeraCrypt_Packaging/Console/Packaging/veracrypt-console-*.deb
veracrypt --test && veracrypt --version
sudo veracrypt --non-interactive Tests/test.sha256.hc --hash sha256 --slot 1 --password test --mount-options=ro
sudo veracrypt --non-interactive Tests/test.sha512.hc --hash sha512 --slot 2 --password test --mount-options=ro
sudo veracrypt --non-interactive Tests/test.streebog.hc --hash streebog --slot 3 --password test --mount-options=ro
sudo veracrypt --non-interactive Tests/test.whirlpool.hc --hash whirlpool --slot 4 --password test --mount-options=ro
sudo veracrypt --list
echo -n "Dummy" > /tmp/expected_content.txt
if cmp -s /media/veracrypt1/dummy.txt /tmp/expected_content.txt; then
echo "Content of test.sha256.hc is valid."
else
echo "Content of test.sha256.hc is invalid!"
exit 1
fi
if cmp -s /media/veracrypt2/dummy.txt /tmp/expected_content.txt; then
echo "Content of test.sha512.hc is valid."
else
echo "Content of test.sha512.hc is invalid!"
exit 1
fi
if cmp -s /media/veracrypt3/dummy.txt /tmp/expected_content.txt; then
echo "Content of test.streebog.hc is valid."
else
echo "Content of test.streebog.hc is invalid!"
exit 1
fi
if cmp -s /media/veracrypt4/dummy.txt /tmp/expected_content.txt; then
echo "Content of test.whirlpool.hc is valid."
else
echo "Content of test.whirlpool.hc is invalid!"
exit 1
fi
sudo veracrypt -d
sudo apt remove -y veracrypt-console
- name: Cleanup old caches
uses: actions/github-script@v6
if: always()
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const caches = await github.rest.actions.getActionsCacheList({
owner: context.repo.owner,
repo: context.repo.repo,
})
for (const cache of caches.data.actions_caches) {
if (cache.key.startsWith('wxBuildConsole-') || cache.key.startsWith('wxBuildGUI-') || cache.key.startsWith('wxWidgets-')) {
if (cache.key !== `wxBuildConsole-${{ steps.cache-key.outputs.cache_key }}` &&
cache.key !== `wxBuildGUI-${{ steps.cache-key.outputs.cache_key }}` &&
cache.key !== `wxWidgets-${{ steps.cache-key.outputs.cache_key }}`) {
console.log(`Deleting cache with key: ${cache.key}`)
await github.rest.actions.deleteActionsCacheById({
owner: context.repo.owner,
repo: context.repo.repo,
cache_id: cache.id,
})
}
}
}
+196
View File
@@ -0,0 +1,196 @@
#!/bin/bash
set -euo pipefail # Exit on error, undefined variable, or pipe failure
# --- Configuration ---
SCRIPT_NAME=$(basename "$0")
FAIL_FLAG=false
# --- Colors ---
COLOR_RED='\033[0;31m'
COLOR_GREEN='\033[0;32m'
COLOR_YELLOW='\033[0;33m'
COLOR_CYAN='\033[0;36m'
COLOR_MAGENTA='\033[0;35m'
COLOR_RESET='\033[0m' # No Color
# --- Helper Functions for Output ---
log_info() { echo -e "${COLOR_CYAN}$1${COLOR_RESET}"; }
log_success() { echo -e "${COLOR_GREEN}$1${COLOR_RESET}"; }
log_warning() { echo -e "${COLOR_YELLOW}Warning: $1${COLOR_RESET}"; }
log_error() { echo -e "${COLOR_RED}Error: $1${COLOR_RESET}" >&2; }
log_detail() { echo -e " $1"; }
log_detail_success() { echo -e " ${COLOR_GREEN}$1${COLOR_RESET}"; }
log_detail_error() { echo -e " ${COLOR_RED}$1${COLOR_RESET}"; }
log_detail_warning() { echo -e " ${COLOR_YELLOW}$1${COLOR_RESET}"; }
log_detail_magenta() { echo -e " ${COLOR_MAGENTA}$1${COLOR_RESET}"; }
# --- Parameter Validation ---
if [ "$#" -ne 1 ]; then
log_error "Usage: $SCRIPT_NAME <Path_To_VeraCrypt_Root>"
log_error "Example: $SCRIPT_NAME /path/to/VeraCrypt"
exit 1
fi
ROOT_PATH="$1"
if [ ! -d "$ROOT_PATH" ]; then
log_error "Root path '$ROOT_PATH' not found or is not a directory."
exit 1
fi
# Define the path to the common Language.xml
COMMON_FILE="$ROOT_PATH/src/Common/Language.xml"
# Check if the common Language.xml exists
if [ ! -f "$COMMON_FILE" ]; then
log_error "Common Language.xml not found or is not a file at path: $COMMON_FILE"
exit 1
fi
log_info "Extracting keys from $COMMON_FILE"
# Define regex pattern to extract 'key' attributes from <entry> elements
KEY_EXTRACTION_PATTERN='<entry\s+lang="[^"]+"\s+key="([^"]+)"'
# Extract all keys using grep with PCRE (-P) and only outputting the captured group (-o)
# Use process substitution and readarray to populate the KEYS array
# Ensure grep returns 0 even if no match, or handle non-zero for no match
KEYS_STRING=$(grep -oP "$KEY_EXTRACTION_PATTERN" "$COMMON_FILE" | sed -E 's/.*key="([^"]+)".*/\1/' || true)
if [ -z "$KEYS_STRING" ]; then
KEYS=()
else
readarray -t KEYS < <(echo "$KEYS_STRING")
fi
if [ ${#KEYS[@]} -eq 0 ]; then
log_warning "No keys found in $COMMON_FILE using pattern: $KEY_EXTRACTION_PATTERN"
# If this should be an error, uncomment next lines:
# log_error "No keys found in $COMMON_FILE."
# exit 1
else
log_info "Found ${#KEYS[@]} keys."
fi
# Define the regex for finding invalid escape sequences.
# Valid sequences: \n, \r, \t, \\, \"
INVALID_ESCAPE_REGEX='(?<!\\)(?:\\\\)*\\([^nrt\\"])' # This is better
ALLOWED_ESCAPES_MESSAGE="Allowed sequences are: \\n, \\r, \\t, \\\\ (for literal backslash), \\\" (for literal quote)"
# Retrieve all translation XML files in the Translations folder
TRANSLATION_FOLDER="$ROOT_PATH/Translations"
FILES_TO_PROCESS=()
# Add common file first
FILES_TO_PROCESS+=("$COMMON_FILE")
if [ ! -d "$TRANSLATION_FOLDER" ]; then
log_warning "Translations folder not found at path: $TRANSLATION_FOLDER. Skipping translation files."
else
# Use find to get translation files. nullglob helps avoid errors if no files match.
shopt -s nullglob
for lang_file in "$TRANSLATION_FOLDER"/Language.*.xml; do
FILES_TO_PROCESS+=("$lang_file")
done
shopt -u nullglob # Reset nullglob
if [ ${#FILES_TO_PROCESS[@]} -eq 1 ]; then # Only common file was added
log_warning "No Language.*.xml files found in $TRANSLATION_FOLDER."
fi
fi
if [ ${#FILES_TO_PROCESS[@]} -eq 0 ]; then
log_warning "No files found to process."
exit 0 # Or 1 if this is an error condition
fi
# Iterate through each file and perform validations
for file in "${FILES_TO_PROCESS[@]}"; do
if [ ! -f "$file" ]; then
log_warning "File not found or is not a file, skipping: $file"
continue
fi
echo # Newline for readability
log_info "Processing file: $file"
CURRENT_FILE_PASSES=true
# 1. Validate XML using fxparser
log_detail "Validating XML structure..."
# Capture stdout and stderr, get exit code
FXPARSER_OUTPUT=$(fxparser -V "$file" 2>&1)
FXPARSER_EXIT_CODE=$?
if [ "$FXPARSER_EXIT_CODE" -ne 0 ]; then
CURRENT_FILE_PASSES=false
FAIL_FLAG=true
log_detail_error "XML Validation Failed for $file (fxparser exit code: $FXPARSER_EXIT_CODE):"
while IFS= read -r line; do
log_detail_error " $line"
done <<< "$FXPARSER_OUTPUT"
else
log_detail_success "XML structure is valid."
fi
# 2. Check for invalid backslash escape sequences
log_detail "Checking for invalid escape sequences..."
# Use grep -P for PCRE, -n for line numbers. --color=never to avoid grep's own coloring here.
# We check grep's exit code: 0 if found, 1 if not found, >1 for error.
INVALID_ESCAPE_MATCHES=$(grep -P -n --color=never "$INVALID_ESCAPE_REGEX" "$file" || true)
if [ -n "$INVALID_ESCAPE_MATCHES" ]; then
log_detail_error "File '$file' contains potentially invalid backslash escape sequences."
log_detail_error "$ALLOWED_ESCAPES_MESSAGE"
log_detail_error "Instances found:"
while IFS= read -r line_match; do
# Extract line number and the line content from grep's output (e.g., "123:content")
LINE_NUMBER=$(echo "$line_match" | cut -d: -f1)
LINE_CONTENT=$(echo "$line_match" | cut -d: -f2-)
# Trim whitespace (optional, but PowerShell did it)
TRIMMED_LINE_CONTENT=$(echo "$LINE_CONTENT" | sed 's/^[[:space:]]*//;s/[[:space:]]*$//')
log_detail_magenta "Line $LINE_NUMBER: $TRIMMED_LINE_CONTENT"
done <<< "$INVALID_ESCAPE_MATCHES"
CURRENT_FILE_PASSES=false
FAIL_FLAG=true
else
log_detail_success "No invalid escape sequences found."
fi
# 3. Check for the presence of each key in the current file (if keys were found)
if [ ${#KEYS[@]} -gt 0 ]; then
log_detail "Checking for key completeness..."
KEYS_MISSING_IN_CURRENT_FILE=0
for key_entry in "${KEYS[@]}"; do
# Search for key="KEY_NAME"
SEARCH_PATTERN_FOR_KEY="key=\"$key_entry\""
if ! grep -q "$SEARCH_PATTERN_FOR_KEY" "$file"; then
log_detail_error "Key '$key_entry' (from $COMMON_FILE) not found in $file"
CURRENT_FILE_PASSES=false
FAIL_FLAG=true
((KEYS_MISSING_IN_CURRENT_FILE++))
fi
done
if [ "$KEYS_MISSING_IN_CURRENT_FILE" -eq 0 ]; then
log_detail_success "All keys from $COMMON_FILE are present."
else
log_detail_error "$KEYS_MISSING_IN_CURRENT_FILE key(s) missing."
fi
else
log_detail_warning "Skipping key completeness check as no keys were extracted from $COMMON_FILE."
fi
# Output the result for the current file
if [ "$CURRENT_FILE_PASSES" = true ]; then
log_success "$file PASSED all checks."
else
log_error "$file FAILED one or more checks."
fi
done
# Exit with appropriate status code
echo # Newline for readability
if [ "$FAIL_FLAG" = true ]; then
log_error "Overall Result: One or more files failed validation."
exit 1
else
log_success "Overall Result: All processed files passed all checks successfully."
exit 0
fi
+36
View File
@@ -0,0 +1,36 @@
name: Validate XML
on:
push:
branches: [ "master" ]
paths:
- 'Translations/*'
- 'src/Common/Language.xml'
- '.github/workflows/xmlvalidate.*'
pull_request:
branches: [ "master" ]
paths:
- 'Translations/*'
- 'src/Common/Language.xml'
- '.github/workflows/xmlvalidate.*'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
validate:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'latest'
- name: Install fast-xml-parser
run: npm install fast-xml-parser@4.5.2 -g
- name: Run XML validator script
run: ${{ github.workspace }}/.github/workflows/xmlvalidate.sh "${{ github.workspace }}"
+113
View File
@@ -0,0 +1,113 @@
# 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
*.oshani
*.oaesni
*.oarmv8crypto
# 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
+821 -503
View File
File diff suppressed because it is too large Load Diff
+147 -166
View File
@@ -1,9 +1,7 @@
This archive contains the source code of VeraCrypt.
It is based on original TrueCrypt 7.1a with security enhancements and modifications.
It is based on the original TrueCrypt 7.1a with security enhancements and modifications.
Important
=========
# Important
You may use the source code contained in this archive only if you accept and
agree to the license terms contained in the file 'License.txt', which is
@@ -12,246 +10,229 @@ included in this archive.
Note that the license specifies, for example, that a derived work must not be
called 'TrueCrypt' or 'VeraCrypt'
# Contents
[I. Windows](#i-windows)
Contents
========
[II. Linux and Mac OS X](#ii-linux-and-mac-os-x)
I. Windows
Requirements for Building VeraCrypt for Windows
Instructions for Building VeraCrypt for Windows
Instructions for Signing and Packaging VeraCrypt for Windows
[III. FreeBSD](#iii-freebsd)
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
III. FreeBSD and OpenSolaris
[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
# I. Windows
## Requirements for Building VeraCrypt for Windows:
I. Windows
==========
Requirements for Building VeraCrypt for Windows:
------------------------------------------------
- Microsoft Visual C++ 2008 SP1 (Professional Edition or compatible)
- Microsoft Visual C++ 1.52 (available from MSDN Subscriber Downloads)
- Microsoft Windows SDK for Windows 7 (configured for Visual C++)
- Microsoft Windows Driver Kit 7.1.0 (build 7600.16385.1)
- RSA Security Inc. PKCS #11 Cryptographic Token Interface (Cryptoki) 2.20
header files (available at ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20)
- NASM assembler 2.08 or compatible
- gzip compressor
A detailed guide on how to build VeraCrypt on Windows can be found in
the [documentation](./doc/html/en/CompilingGuidelineWin.html) in the repository and
it is also available [online](https://veracrypt.jp/en/CompilingGuidelineWin.html) or on the [mirror](https://veracrypt.io/en/CompilingGuidelineWin.html).
IMPORTANT:
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
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 Thawt 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).
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 KiB greater than the 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:
------------------------------------------------
## Instructions for Signing and Packaging 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.
First, create an environment variable 'WSDK81' pointing to the Windows SDK
for Windows 8.1 installation directory.
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.
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 build the final installation setup and MSI package.
The batch file assumes 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.
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.
To generate MSI packages, WiX Toolset v3.11 must be installed.
3) Copy the PKCS #11 header files to a standard include path or create an
environment variable 'PKCS11_INC' pointing to the directory where
the PKCS #11 header files are installed.
## VeraCrypt EFI Boot Loader:
4) Open the solution file 'VeraCrypt.sln' in Microsoft Visual Studio 2008.
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
it is available at https://github.com/veracrypt/VeraCrypt-DCS.
For build instructions, please refer to the file src\Boot\EFI\Readme.txt.
5) Select 'All' as the active solution configuration.
# II. Linux and Mac OS X
6) Build the solution.
A detailed guide on how to build VeraCrypt on Linux can be found in
the [documentation](./doc/html/en/CompilingGuidelineLinux.html) in the repository and
it is also available [online](https://veracrypt.jp/en/CompilingGuidelineLinux.html) or on the [mirror](https://veracrypt.io/en/CompilingGuidelineLinux.html).
7) If successful, there should be newly built VeraCrypt binaries in the
'Release' folder.
Instructions for Signing VeraCrypt for Windows:
------------------------------------------------
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.
II. Linux and Mac OS X
======================
Requirements for Building VeraCrypt for Linux and Mac OS X:
-----------------------------------------------------------
## 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)
- Apple Xcode or Xcode command line tools (Mac OS X only)
- YASM 1.3.0 or newer (Linux only, x86/x64 architecture only)
- pkg-config
- wxWidgets 3.0 shared library and header files installed or
wxWidgets 3.0 library source code (available at http://www.wxwidgets.org)
- FUSE library and header files (available at http://fuse.sourceforge.net
and https://osxfuse.github.io/)
- RSA Security Inc. PKCS #11 Cryptographic Token Interface (Cryptoki) 2.20
header files (available at ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20).
They are already included in the source tree under the directory PKCS11 but
it is possible to override it using the environment variable 'PKCS11_INC'.
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://macfuse.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:
Instructions for Building VeraCrypt for Linux and Mac OS X:
-----------------------------------------------------------
1. Change the current directory to the root of the VeraCrypt source code.
1) Change the current directory to the root of the VeraCrypt source code.
2) If you have no wxWidgets shared library installed, run the following
2. If you have no wxWidgets shared library installed, run the following
command to configure the wxWidgets static library for VeraCrypt and to
build it:
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
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/'
directory.
3) To build VeraCrypt, run the following command:
3. To build VeraCrypt, run the following command:
$ make
`$ make`
or if you have no wxWidgets shared library installed:
$ make WXSTATIC=1
4) If successful, the VeraCrypt executable should be located in the directory
`$ make WXSTATIC=1`
4. If successful, the VeraCrypt executable should be located in the directory
'Main'.
By default, a universal executable supporting both graphical and text user
interface is built. To build a console-only executable, which requires no GUI
library, use the 'NOGUI' parameter:
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`
Mac OS X specifics:
-----------------------------------------------------------
Under MacOSX, the SDK for OSX 10.7 is used by default. To use another version
of the SDK (e.i. 10.6), you can export the environment variable VC_OSX_TARGET :
$ export VC_OSX_TARGET=10.6
`$ make NOGUI=1 WXSTATIC=1`
On MacOSX, building a console-only executable is not supported.
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
compile using the following commands :
## Mac OS X specifics:
$ ./configure --with-internal-glib
$ make
$ sudo make install
Under MacOSX, the latest installed SDK is used by default. To use a different version
of the SDK when building using make, you can export the environment variable VC_OSX_SDK:
After making sure pkg-config is available, download and install OSXFuse from
https://osxfuse.github.io/ (MacFUSE compatibility layer must selected)
`$ export VC_OSX_SDK=13.0`
The script build_veracrypt_macosx.sh available under "src/Build" performs the
For development dependencies management, you can use [homebrew](https://brew.sh).
`$ brew install pkg-config yasm wxwidgets`
You also need system dependencies
`$ brew install --cask macfuse packages`
After installing dependencies via brew, you can build a local development build
`$ ./src/Build/build_veracrypt_macosx.sh -b`
If you want to build the package, you must pass `-p` to the build script above. The built
executable will be in `.src/Main`
If you prefer to build from sources, or without homebrew, pkg-config and packages must be installed.
Get pkg-config from https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz and
compile using the following commands:
`$ CFLAGS="-Wno-int-conversion" CXXFLAGS="-Wno-int-conversion" ./configure --with-internal-glib`
`$ make`
`$ sudo make install`
After making sure pkg-config is available, download and install macFUSE from
https://macfuse.github.io/
The [build_veracrypt_macosx.sh](./src/Build/build_veracrypt_macosx.sh) script 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
VeraCrypt sources (e.i. if "src" path is "/Users/joe/Projects/VeraCrypt/src"
then wxWidgets should be at "/Users/joe/Projects/wxWidgets-wxWidgets-3.0.2")
to find the wxWidgets 3.2.5 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.2.5")
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.
The make build process uses Code Signing certificates whose ID is specified in
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 out 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.
Because of incompatibility issues with macFUSE, the SDK 10.9 generates a
VeraCrypt binary that has issues communicating with the macFUSE kernel extension.
Thus, we recommend using a different macOS SDK version for building VeraCrypt.
The Packages installer that is used for the VeraCrypt official build has been notarized by IDRIX and it is available at
https://github.com/idrassi/packages/releases
# III. FreeBSD
III. FreeBSD and OpenSolaris
============================
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.
FreeBSD and OpenSolaris are not yet supported.
IV. Third-Party Developers (Contributors)
=========================================
# IV. Third-Party Developers (Contributors)
If you intend to implement a feature, please contact us first to make sure:
1) That the feature has not been implemented (we may have already implemented
1. That the feature has not been implemented (we may have already implemented
it, but haven't released the code yet).
2) That the feature is acceptable.
3) Whether we need help of third-party developers with implementing the feature.
2. That the feature is acceptable.
3. Whether we need the help of third-party developers with implementing the feature.
Information on how to contact us can be found at:
https://veracrypt.codeplex.com/
https://veracrypt.jp/
https://veracrypt.io/ (mirror)
# V. Legal Information
## Copyright Information
V. Legal Information
====================
This software as a whole:
Copyright (c) 2025 AM Crypto. All rights reserved.
Copyright Information
---------------------
Portions of this software:
Copyright (c) 2025 AM Crypto. All rights reserved.
Copyright (c) 2013-2025 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-2023 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-2023 Igor Pavlov
This software as a whole:
Copyright (c) 2013-2014 IDRIX. All rights reserved.
Portions of this software:
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) 2002-2004 Mark Adler. All rights reserved.
For more information, please see the legal notices attached to parts of the
source code.
Trademark Information
---------------------
## Trademark Information
Any trademarks contained in the source code, binaries, and/or in the
Any trademarks contained in the source code, binaries, and/or in the
documentation, are the sole property of their respective owners.
# VI. Further Information
VI. Further Information
=======================
http://www.veracrypt.fr
https://veracrypt.jp
https://veracrypt.io (mirror)
+140
View File
@@ -0,0 +1,140 @@
@echo off
setlocal EnableDelayedExpansion
:: Define constants
set "VERACRYPT_PATH=c:\Program Files\VeraCrypt\veracrypt.exe"
set "PASSWORD=test"
set "HIDDEN_PASSWORD=testhidden"
:: Find a free drive letter
call :freedrive mydriveletter || (
echo ERROR: No free drive letter found.
goto :exit
)
echo Using drive letter !mydriveletter!: for our tests
echo.
:: Define an array of hash algorithms and their corresponding container files
set "algorithms[0]=sha512,test.sha512.hc"
set "algorithms[1]=whirlpool,test.whirlpool.hc"
set "algorithms[2]=sha256,test.sha256.hc"
set "algorithms[3]=blake2s,test.blake2s.hc"
set "algorithms[4]=streebog,test.streebog.hc"
:: Loop through each algorithm
for /L %%i in (0,1,4) do (
for /F "tokens=1,2 delims=," %%a in ("!algorithms[%%i]!") do (
set "hash=%%a"
set "container=%%b"
if exist "!container!" (
call :mount_and_measure "!hash!" "!container!" "Normal" "!PASSWORD!"
call :mount_and_measure "!hash!" "!container!" "Hidden" "!HIDDEN_PASSWORD!"
echo.
)
)
)
:: Autodetect test
call :availablevolume testvolume || goto :exit
call :measure_time "Wrong Password (PRF Auto-detection)" ^
"/volume !testvolume! /l !mydriveletter! /password wrongpassword /q /silent /m ro"
echo.
goto :exit
:: Subroutine to mount a volume and measure the time taken
:mount_and_measure
setlocal
set "hash=%~1"
set "container=%~2"
set "type=%~3"
set "volumepassword=%~4"
call :measure_time "%hash% (%type%)" ^
"/volume !container! /hash !hash! /l !mydriveletter! /password !volumepassword! /q /silent /m ro"
if not exist !mydriveletter!:\ (
echo ERROR: Drive letter !mydriveletter!: does not exist after mount operation.
goto :exit
)
"!VERACRYPT_PATH!" /unmount !mydriveletter! /silent /q
exit /b
:: Subroutine to measure the time taken for a command to execute
:measure_time
setlocal
set "oper=%~1"
set "command=%~2"
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"
"!VERACRYPT_PATH!" %command%
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"
set /A elapsed=end-start
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 %oper% = %hh%:%mm%:%ss%,%cc%
exit /b
rem Finds a free drive letter.
rem
rem Parameters:
rem %1 = Output variable name.
rem
rem Example:
rem call :freedrive mydriveletter && goto :cont
rem echo ERROR: No free drive letter found.
rem goto :EOF
rem :cont
rem echo Found drive letter: %mydriveletter%
:freedrive
setlocal EnableDelayedExpansion
set exitcode=0
set "output_var=%~1"
for %%i in (C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z) do (
set "drive=%%i:"
rem If 'subst' fails, the drive letter is already in use.
rem This way we can even detect optical drives that have a drive
rem letter but no media in them, a case that goes undetected when
rem using 'if exist'.
subst !drive! %SystemDrive%\ >nul
if !errorlevel! == 0 (
subst !drive! /d >nul
set "drive=%%i"
goto :freedrive0
)
)
set exitcode=1
set drive=
:freedrive0
endlocal & set "%output_var%=%drive%" & exit /b %exitcode%
:: Subroutine to find an available volume
:availablevolume
setlocal EnableDelayedExpansion
set exitcode=0
set "output_var=%~1"
for %%i in (test.sha512.hc,test.sha256.hc,test.whirlpool.hc,test.blake2s.hc) do (
if exist %%i (
set "volume=%%i"
goto :availablevolume0
)
)
set exitcode=1
set volume=
:availablevolume0
endlocal & set "%output_var%=%volume%" & exit /b %exitcode%
:exit
pause
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1733 -1342
View File
File diff suppressed because it is too large Load Diff
+1733 -1342
View File
File diff suppressed because it is too large Load Diff
+1733 -1342
View File
File diff suppressed because it is too large Load Diff
+1733 -1342
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+1733 -1341
View File
File diff suppressed because it is too large Load Diff
+1733 -1342
View File
File diff suppressed because it is too large Load Diff
+1737 -1342
View File
File diff suppressed because it is too large Load Diff
+1733 -1341
View File
File diff suppressed because it is too large Load Diff
+1733 -1342
View File
File diff suppressed because it is too large Load Diff
+1733 -1342
View File
File diff suppressed because it is too large Load Diff
+1733 -1344
View File
File diff suppressed because it is too large Load Diff
+1733 -1342
View File
File diff suppressed because it is too large Load Diff
+1733 -1342
View File
File diff suppressed because it is too large Load Diff
+1733 -1342
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+1733 -1342
View File
File diff suppressed because it is too large Load Diff
+1733 -1342
View File
File diff suppressed because it is too large Load Diff
+1733 -1342
View File
File diff suppressed because it is too large Load Diff
+1733 -1342
View File
File diff suppressed because it is too large Load Diff
+1733 -1342
View File
File diff suppressed because it is too large Load Diff
+1733 -1342
View File
File diff suppressed because it is too large Load Diff
+1733 -1342
View File
File diff suppressed because it is too large Load Diff
+1717 -1344
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+1733 -1342
View File
File diff suppressed because it is too large Load Diff
+1733 -1342
View File
File diff suppressed because it is too large Load Diff
+1733 -1342
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
+1733 -1342
View File
File diff suppressed because it is too large Load Diff
+1733 -1342
View File
File diff suppressed because it is too large Load Diff
+1733 -1342
View File
File diff suppressed because it is too large Load Diff
+1733 -1342
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+1733 -1342
View File
File diff suppressed because it is too large Load Diff
+1733 -1342
View File
File diff suppressed because it is too large Load Diff
+1733 -1342
View File
File diff suppressed because it is too large Load Diff
+1733 -1342
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
+444
View File
@@ -0,0 +1,444 @@
<#
.SYNOPSIS
Create a VeraCrypt container just large enough for the supplied file or
directory and copy the data into it.
.DESCRIPTION
• Chooses an exFAT cluster size (auto or explicit).
• Calculates the minimum container size using an iterative approach for FAT/Bitmap sizing, plus safety margin.
• Creates, mounts, copies, verifies, and unmounts all guarded by -WhatIf/-Confirm (SupportsShouldProcess).
• Finds VeraCrypt automatically or takes a -VeraCryptDir override.
• Encryption and hash algorithms are parameters.
• Password can be passed via SecureString prompt or pipeline.
• Enhanced parameterization for safety margins and VeraCrypt overhead.
.PARAMETER InputPath File or directory to store in the container.
.PARAMETER ContainerPath Dest *.hc* file. Default: InputPath + '.hc'.
.PARAMETER ClusterSizeKB 4512 KiB or 'Auto' (default 32).
.PARAMETER VeraCryptDir Optional folder containing VeraCrypt *.exe* files.
.PARAMETER EncryptionAlg Any algorithm VeraCrypt accepts (default AES).
.PARAMETER HashAlg VeraCrypt hash (default SHA512).
.PARAMETER SafetyPercent Safety margin as percentage of calculated size (default 1.0 for small, 0.1 for large).
.PARAMETER VCOverheadMiB VeraCrypt overhead in MiB (default varies by size).
.PARAMETER Force If specified, allows overwriting the output container if it already exists.
.PARAMETER Password Optional SecureString password for automation (prompts if not provided).
.EXAMPLE
.\EncryptData.ps1 -InputPath C:\Data -ContainerPath C:\EncryptedData.hc -ClusterSizeKB Auto
.NOTES
Author: Mounir IDRASSI
Email: mounir.idrassi@amcrypto.jp
Date: 30 April 2025
License: This script is licensed under the Apache License 2.0
#>
[CmdletBinding(SupportsShouldProcess)]
param(
[Parameter(Mandatory)][string]$InputPath,
[string]$ContainerPath,
[ValidateSet('Auto','4','8','16','32','64','128','256','512')]
[string]$ClusterSizeKB = '32',
[string]$VeraCryptDir,
[string]$EncryptionAlg = 'AES',
[string]$HashAlg = 'SHA512',
# 0 ⇒ use built-in logic; otherwise 0100 %
[ValidateRange(0.0,100.0)]
[double]$SafetyPercent = 0,
# 0 ⇒ auto. 1-8192 MiB accepted.
[ValidateRange(0,8192)]
[int]$VCOverheadMiB = 0,
[Parameter(ValueFromPipeline = $true)][System.Security.SecureString]$Password,
[switch]$Force
)
Set-StrictMode -Version Latest
$ErrorActionPreference = 'Stop'
function Get-AbsolutePath([string]$Path) {
if ([System.IO.Path]::IsPathRooted($Path)) {
return [System.IO.Path]::GetFullPath($Path)
} else {
$combined = Join-Path -Path (Get-Location) -ChildPath $Path
return [System.IO.Path]::GetFullPath($combined)
}
}
# Helper creates a temp file, registers it for secure deletion in finally
function New-VcErrFile {
$tmp = [System.IO.Path]::GetTempFileName()
# Pre-allocate 0-byte file; caller overwrites
return $tmp
}
# Constants for exFAT sizing
$EXFAT_MIN_CLUSTERS = 2
$EXFAT_PRACTICAL_MIN_CLUSTERS = 65533
$INITIAL_VBR_SIZE = 32KB
$BACKUP_VBR_SIZE = 32KB
$RAW_UPCASE_BYTES = 128KB
#----------------------- Locate VeraCrypt executables --------------------------
if (-not $VeraCryptDir) {
$candidates = @(Join-Path $env:ProgramFiles 'VeraCrypt')
$VeraCryptDir = $candidates |
Where-Object { Test-Path (Join-Path $_ 'VeraCrypt.exe') } |
Select-Object -First 1
if (-not $VeraCryptDir) {
$cmd = Get-Command 'VeraCrypt.exe' -ErrorAction SilentlyContinue
if ($cmd) { $VeraCryptDir = Split-Path $cmd.Path }
}
if (-not $VeraCryptDir) { throw 'VeraCrypt executables not found specify -VeraCryptDir.' }
}
$VeraCryptExe = Join-Path $VeraCryptDir 'VeraCrypt.exe'
$VeraCryptFormatExe = Join-Path $VeraCryptDir 'VeraCrypt Format.exe'
if (-not (Test-Path $VeraCryptExe) -or -not (Test-Path $VeraCryptFormatExe)) {
throw 'VeraCrypt executables missing.'
}
#--------------------------- Input / Output Paths ------------------------------
$InputPath = Get-AbsolutePath $InputPath
if (-not (Test-Path $InputPath)) { throw "InputPath '$InputPath' does not exist." }
if (-not $ContainerPath) {
$ContainerPath = ($InputPath.TrimEnd('\') + '.hc')
} else {
$ContainerPath = Get-AbsolutePath $ContainerPath
}
if (Test-Path $ContainerPath) {
if ($Force) {
Write-Verbose "Container '$ContainerPath' already exists and will be overwritten."
if ($PSCmdlet.ShouldProcess("File '$ContainerPath'", "Remove existing container")) {
Remove-Item $ContainerPath -Force
} else {
throw "Operation cancelled by user. Cannot overwrite '$ContainerPath'."
}
} else {
throw "Container '$ContainerPath' already exists. Use -Force to overwrite."
}
}
#----------------------------- Cluster Size -------------------------------------
[UInt32]$ClusterSize = if ($ClusterSizeKB -eq 'Auto') { $null } else { [int]$ClusterSizeKB * 1KB }
#--------------------------- exFAT Size Helpers --------------------------------
function Get-DirectoryStats {
param([string]$Path)
$fileLengths = [System.Collections.Generic.List[UInt64]]::new()
$dirLengths = [System.Collections.Generic.List[UInt64]]::new()
[UInt64]$metaSum = 0
function WalkDir {
param([System.IO.DirectoryInfo]$Dir)
[UInt64]$thisDirBytes = 0
# Use -ErrorAction SilentlyContinue for potentially inaccessible items (like system junctions)
Get-ChildItem -LiteralPath $Dir.FullName -Force -ErrorAction SilentlyContinue | ForEach-Object {
$nameLen = $_.Name.Length
$nameSlots = [math]::Ceiling($nameLen / 15) # name entries
$dirSlots = 2 + $nameSlots # File + Stream + Names
$entryBytes = $dirSlots * 32
$metaSum += $entryBytes
$thisDirBytes += $entryBytes
if ($_.PSIsContainer) {
WalkDir $_
} else {
# Handle potential errors reading length (e.g., locked files)
try {
$fileLengths.Add([UInt64]$_.Length)
} catch {
Write-Warning "Could not get length for file: $($_.FullName). Error: $($_.Exception.Message)"
}
}
}
# At least one 32-byte entry so the directory is not “empty”
if ($thisDirBytes -lt 32) { $thisDirBytes = 32 }
$dirLengths.Add($thisDirBytes)
}
$startItem = Get-Item -LiteralPath $Path -Force
if ($startItem -isnot [System.IO.DirectoryInfo]) {
# Handle case where InputPath is a single file
$nameLen = $startItem.Name.Length
$nameSlots = [math]::Ceiling($nameLen / 15)
$dirSlots = 2 + $nameSlots
$entryBytes = $dirSlots * 32
$metaSum = $entryBytes
$fileLengths.Add([UInt64]$startItem.Length)
$dirLengths.Add(32) # Minimal directory entry size for the root
} else {
WalkDir $startItem
}
[PSCustomObject]@{
MetadataSum = $metaSum # pure 32-byte entry bytes (used for info, not size calc)
FileLengths = $fileLengths # payload of regular files
DirLengths = $dirLengths # payload of *directory files* (containing entries)
}
}
function Compute-ExFatSize {
param(
[Parameter(Mandatory)][UInt64[]] $FileLengths,
[Parameter(Mandatory)][UInt64[]] $DirLengths,
[Parameter(Mandatory)][UInt32] $Cluster
)
# --- Calculate base size (VBR, UpCase Table, File Payloads, Directory Payloads) ---
# These parts don't depend on the total cluster count directly.
[UInt64]$baseSize = $INITIAL_VBR_SIZE + $BACKUP_VBR_SIZE
$baseSize += [math]::Ceiling($RAW_UPCASE_BYTES / $Cluster) * $Cluster # up-case tbl aligned
foreach ($len in $FileLengths) { $baseSize += [math]::Ceiling($len / $Cluster) * $Cluster }
foreach ($len in $DirLengths ) { $baseSize += [math]::Ceiling($len / $Cluster) * $Cluster }
# --- Iterative FAT/Bitmap Calculation ---
# The size of FAT and Bitmap depends on the total cluster count, which depends on the total size (including FAT/Bitmap).
# We iterate until the calculated total size stabilizes.
[UInt64]$currentTotalSize = $baseSize # Initial guess: size without FAT/Bitmap
[UInt64]$previousTotalSize = 0
$maxIterations = 10 # Safety break to prevent infinite loops
$iteration = 0
while ($currentTotalSize -ne $previousTotalSize -and $iteration -lt $maxIterations) {
$previousTotalSize = $currentTotalSize
$iteration++
Write-Verbose "Compute-ExFatSize Iteration '$iteration': Starting size = '$previousTotalSize' bytes"
# Calculate cluster count based on the size from the *start* of this iteration
$clusterCount = [math]::Ceiling($previousTotalSize / $Cluster)
# Ensure minimum cluster count if needed (exFAT has minimums, though usually covered by VBR etc.)
if ($clusterCount -lt $EXFAT_PRACTICAL_MIN_CLUSTERS) { $clusterCount = $EXFAT_PRACTICAL_MIN_CLUSTERS } # Practical minimum for FAT entries > sector size
# Allocation bitmap (1 bit per cluster, aligned to cluster size)
$bitmapBytes = [math]::Ceiling($clusterCount / 8)
$bitmapBytesAligned = [math]::Ceiling($bitmapBytes / $Cluster) * $Cluster
Write-Verbose " Clusters: '$clusterCount', Bitmap Bytes: '$bitmapBytes', Aligned Bitmap: '$bitmapBytesAligned'"
# FAT (4 bytes per cluster, +2 reserved entries, aligned to cluster size)
$fatBytes = ([UInt64]$clusterCount + 2) * 4 # Use UInt64 to avoid overflow on large volumes
$fatBytesAligned = [math]::Ceiling($fatBytes / $Cluster) * $Cluster
Write-Verbose " FAT Bytes: '$fatBytes', Aligned FAT: '$fatBytesAligned'"
# Calculate the new total size estimate including FAT and Bitmap
$currentTotalSize = $baseSize + $bitmapBytesAligned + $fatBytesAligned
Write-Verbose " New Estimated Total Size: '$currentTotalSize' bytes"
}
if ($iteration -ge $maxIterations) {
Write-Warning "FAT/Bitmap size calculation did not converge after '$maxIterations' iterations. Using last calculated size ('$currentTotalSize' bytes). This might indicate an issue or extremely large dataset."
}
Write-Verbose "Compute-ExFatSize Converged Size: '$currentTotalSize' bytes after '$iteration' iterations."
return [PSCustomObject]@{
TotalSize = $currentTotalSize
ClusterCount = $clusterCount
IterationHistory = @()
}
}
function Get-RecommendedCluster {
param([UInt64]$VolumeBytes)
switch ($VolumeBytes) {
{ $_ -le 256MB } { return 4KB }
{ $_ -le 32GB } { return 32KB }
{ $_ -le 256TB } { return 128KB }
default { return 512KB }
}
}
#----------------------------------------------- Drive the two-pass logic
Write-Host "Calculating required size for '$InputPath'..."
$stats = Get-DirectoryStats -Path $InputPath
Write-Verbose "Stats: $($stats.FileLengths.Count) files, $($stats.DirLengths.Count) directories, Metadata: $($stats.MetadataSum) bytes."
if (-not $ClusterSize) {
Write-Verbose "Cluster size set to 'Auto'. Performing first pass calculation with 4KB cluster..."
$firstPassResult = Compute-ExFatSize -FileLengths $stats.FileLengths -DirLengths $stats.DirLengths -Cluster 4KB
$firstPassSize = $firstPassResult.TotalSize
Write-Verbose "First pass estimated size: '$firstPassSize' bytes"
$ClusterSize = Get-RecommendedCluster -VolumeBytes $firstPassSize
Write-Host "Auto-selected Cluster size: $($ClusterSize / 1KB) KiB based on estimated size."
Write-Verbose "Performing second pass calculation with selected cluster size ($($ClusterSize / 1KB) KiB)..."
$sizeResult = Compute-ExFatSize -FileLengths $stats.FileLengths -DirLengths $stats.DirLengths -Cluster $ClusterSize
$rawSize = $sizeResult.TotalSize
} else {
Write-Host "Using specified Cluster size: $($ClusterSize / 1KB) KiB."
Write-Verbose "Performing calculation with specified cluster size..."
$sizeResult = Compute-ExFatSize -FileLengths $stats.FileLengths -DirLengths $stats.DirLengths -Cluster $ClusterSize
$rawSize = $sizeResult.TotalSize
}
#---------------------------- Container Sizing ---------------------------------
$safetyPercentUsed = if ($SafetyPercent -gt 0.0) { $SafetyPercent } else { if ($rawSize -lt 100MB) { 1.0 } else { 0.1 } }
$safety = if ($rawSize -lt 100MB) { [math]::Max(64KB, [math]::Ceiling($rawSize * $safetyPercentUsed / 100)) }
else { [math]::Max(1MB, [math]::Ceiling($rawSize * $safetyPercentUsed / 100)) }
$contBytes = $rawSize + [UInt64]$safety
$contMiB = [int][math]::Ceiling($contBytes / 1MB)
if ($contMiB -lt 2) { $contMiB = 2 }
$vcOverheadMiBUsed = if ($VCOverheadMiB -gt 0) { $VCOverheadMiB } else {
if ($contMiB -lt 10) { 1 } elseif ($contMiB -lt 100) { 2 } else { [math]::Ceiling($contMiB * 0.01) }
}
$finalContMiB = $contMiB + $vcOverheadMiBUsed
Write-Host ("Cluster Size : {0} KiB`nCalculated FS: {1:N0} bytes`nSafety Margin: {2:N0} bytes ({3}%)`nVC Overhead : {4} MiB`nFinal Size : {5} MiB" -f
($ClusterSize/1KB), $rawSize, $safety, $safetyPercentUsed, $vcOverheadMiBUsed, $finalContMiB)
#---- Secure Password Prompt ----
if (-not $Password) {
$Password = Read-Host -AsSecureString -Prompt "Enter container password"
}
$cred = New-Object System.Management.Automation.PSCredential ("VeraCryptUser", $Password)
$plainPassword = $cred.GetNetworkCredential().Password
if ([string]::IsNullOrWhiteSpace($plainPassword)) {
Write-Host "Error: Password cannot be empty. Please provide a non-empty password." -ForegroundColor Red
exit 1
}
#---- Main Action ----
$mounted = $false
$driveLetter = $null
$errFile = New-VcErrFile
$mountFile = New-VcErrFile
try {
#--- Create Container ----
if ($PSCmdlet.ShouldProcess("File '$ContainerPath'", "Create VeraCrypt container ($finalContMiB MiB)")) {
$formatArgs = @(
'/create', $ContainerPath,
'/size', "$($finalContMiB)M",
'/password', $plainPassword,
'/encryption', $EncryptionAlg,
'/hash', $HashAlg,
'/filesystem', 'exFAT',
'/quick', '/silent',
'/force'
)
$maskedArgs = $formatArgs.Clone()
$pwIndex = [array]::IndexOf($maskedArgs, '/password')
if ($pwIndex -ge 0 -and $pwIndex + 1 -lt $maskedArgs.Length) { $maskedArgs[$pwIndex+1] = '********' }
Write-Verbose "Executing: `"$VeraCryptFormatExe`" $($maskedArgs -join ' ')"
$proc = Start-Process -FilePath $VeraCryptFormatExe -ArgumentList $formatArgs -NoNewWindow -Wait -PassThru -RedirectStandardError $errFile
if ($proc.ExitCode -ne 0) {
$errMsg = if (Test-Path $errFile) { Get-Content $errFile -Raw } else { "No error output captured." }
throw "VeraCrypt Format failed (code $($proc.ExitCode)). Error: $errMsg"
}
Write-Verbose "VeraCrypt Format completed successfully."
} else {
Write-Host "Container creation skipped due to -WhatIf."
exit
}
#--- Choose Drive Letter ----
$used = (Get-PSDrive -PSProvider FileSystem).Name
$driveLetter = (67..90 | ForEach-Object {[char]$_}) |
Where-Object { $_ -notin $used } |
Select-Object -First 1
if (-not $driveLetter) { throw 'No free drive letters found (C-Z).' }
Write-Verbose "Selected drive letter: $driveLetter"
#--- Mount ----
if ($PSCmdlet.ShouldProcess("Drive $driveLetter", "Mount VeraCrypt volume '$ContainerPath'")) {
$mountArgs = @(
'/volume', $ContainerPath,
'/letter', $driveLetter,
'/m', 'rm',
'/password', $plainPassword,
'/quit', '/silent'
)
$maskedArgs = $mountArgs.Clone()
$pwIndex = [array]::IndexOf($maskedArgs, '/password')
if ($pwIndex -ge 0 -and $pwIndex + 1 -lt $maskedArgs.Length) { $maskedArgs[$pwIndex+1] = '********' }
Write-Verbose "Executing: `"$VeraCryptExe`" $($maskedArgs -join ' ')"
$mountProc = Start-Process -FilePath $VeraCryptExe -ArgumentList $mountArgs -NoNewWindow -Wait -PassThru -RedirectStandardError $mountFile
if ($mountProc.ExitCode -ne 0) {
$errMsg = if (Test-Path $mountFile) { Get-Content $mountFile -Raw } else { "No error output captured." }
throw "VeraCrypt mount failed (code $($mountProc.ExitCode)). Error: $errMsg"
}
$root = "$($driveLetter):\"
Write-Verbose "Waiting for drive $root to become available..."
$mountTimeoutSeconds = 30
$mountCheckInterval = 0.5
$elapsed = 0
while (-not (Test-Path $root) -and $elapsed -lt $mountTimeoutSeconds) {
Start-Sleep -Seconds $mountCheckInterval
$elapsed += $mountCheckInterval
}
if (-not (Test-Path $root)) { throw "Drive $driveLetter did not appear within $mountTimeoutSeconds seconds." }
$mounted = $true
Write-Verbose "Drive $root mounted successfully."
} else {
Write-Host "Mounting skipped due to -WhatIf."
exit
}
#--- Copy Data ----
$destinationPath = "$($driveLetter):\"
if ($PSCmdlet.ShouldProcess("'$InputPath' -> '$destinationPath'", "Copy input data into container")) {
Write-Verbose "Starting data copy..."
if (Test-Path $InputPath -PathType Container) {
Copy-Item -Path "$InputPath\*" -Destination $destinationPath -Recurse -Force -ErrorAction Stop
Write-Verbose "Copied directory contents recursively."
} else {
Copy-Item -Path $InputPath -Destination $destinationPath -Force -ErrorAction Stop
Write-Verbose "Copied single file."
}
try {
$driveInfo = Get-PSDrive $driveLetter -ErrorAction Stop
$freeSpace = $driveInfo.Free
Write-Verbose "Free space after copy: $freeSpace bytes."
if ($freeSpace -lt 0) {
Write-Warning 'Reported free space is negative. This might indicate an issue, but the copy might still be okay.'
} elseif ($freeSpace -lt 1MB) {
Write-Warning "Very low free space remaining ($freeSpace bytes). The container might be too small if data changes slightly."
}
} catch {
Write-Warning "Could not verify free space on drive $driveLetter after copy. Error: $($_.Exception.Message)"
}
Write-Host "Data copy completed."
} else {
Write-Host "Data copy skipped due to -WhatIf."
}
} catch {
Write-Error "An error occurred: $($_.Exception.Message)"
} finally {
if (Test-Path variable:plainPassword) { Clear-Variable plainPassword -ErrorAction SilentlyContinue }
if ($mounted) {
if ($PSCmdlet.ShouldProcess("Drive $driveLetter", "Unmount VeraCrypt volume")) {
Write-Verbose "Unmounting drive $driveLetter..."
$unmountArgs = @('/unmount', $driveLetter, '/force', '/quit', '/silent')
Start-Process -FilePath $VeraCryptExe -ArgumentList $unmountArgs -NoNewWindow -Wait -ErrorAction SilentlyContinue
Write-Verbose "Unmount command issued."
} else {
Write-Host "Unmount skipped due to -WhatIf."
}
}
foreach($f in @($errFile,$mountFile) | Where-Object { $_ }) {
if(Test-Path $f){
try { Set-Content -Path $f -Value ($null) -Encoding Byte -Force } catch{}
Remove-Item $f -Force -ErrorAction SilentlyContinue
}
}
}
if ($PSCmdlet.ShouldProcess("File '$ContainerPath'", "Create VeraCrypt container ($finalContMiB MiB)")) {
Write-Host ("Script finished. VeraCrypt container created at '{0}' ({1} MiB)." -f $ContainerPath, $finalContMiB)
} else {
Write-Host ("Script finished (simulation mode).")
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+41
View File
@@ -0,0 +1,41 @@
PATH=%PATH%;C:\Program Files (x86)\HTML Help Workshop
set CHMBUILDPATH=%~dp0
cd %CHMBUILDPATH%\en
xcopy /E ..\..\html\en\* .
hhc VeraCrypt.hhp
del /F /Q *.html *.css *.jpg *.gif *.png *.svg *.js
rmdir /s /Q CompilingGuidelineWin
move /Y "VeraCrypt User Guide.chm" "..\VeraCrypt User Guide.chm"
cd %CHMBUILDPATH%\zh-cn
xcopy /E ..\..\html\zh-cn\* .
hhc VeraCrypt.zh-cn.hhp
del /F /Q *.html *.css *.jpg *.gif *.png *.svg *.js
rmdir /s /Q CompilingGuidelineWin
move /Y "VeraCrypt User Guide.zh-cn.chm" "..\VeraCrypt User Guide.zh-cn.chm"
cd %CHMBUILDPATH%\ru
xcopy /E ..\..\html\ru\* .
hhc VeraCrypt.ru.hhp
del /F /Q *.html *.css *.jpg *.gif *.png *.svg *.js
rmdir /s /Q CompilingGuidelineWin
move /Y "VeraCrypt User Guide.ru.chm" "..\VeraCrypt User Guide.ru.chm"
cd %CHMBUILDPATH%
+473
View File
@@ -0,0 +1,473 @@
<!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 Unmount vs Force Unmount ">
<param name="Local" value="Normal Unmount vs Force Unmount.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="Conversion Guide for Versions 1.26 and Later">
<param name="Local" value="Conversion_Guide_VeraCrypt_1.26_and_Later.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="Key Derivation Algorithms">
<param name="Local" value="Key Derivation Algorithms.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Argon2id">
<param name="Local" value="Argon2id.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="PBKDF2">
<param name="Local" value="pbkdf2.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>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Windows">
<param name="Local" value="Command Line Usage for Windows.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Linux and macOS">
<param name="Local" value="Command Line Usage for Unix.html">
</OBJECT>
</UL>
<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="VeraCrypt RAM Encryption">
<param name="Local" value="VeraCrypt RAM Encryption.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="VeraCrypt Memory Protection">
<param name="Local" value="VeraCrypt Memory Protection.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>
+184
View File
@@ -0,0 +1,184 @@
[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
Argon2id.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_30x30.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
Command Line Usage for Windows.html
Command Line Usage for Unix.html
CompilingGuidelineLinux.html
CompilingGuidelines.html
CompilingGuidelineWin.html
Contact.html
Contributed Resources.html
Conversion_Guide_VeraCrypt_1.26_and_Later.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
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
Key Derivation Algorithms.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
mastodon_veracrypt.PNG
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
pbkdf2.html
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 Memory Protection.html
VeraCrypt RAM Encryption.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]
+449
View File
@@ -0,0 +1,449 @@
<!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="Äîêóìåíòàöèÿ">
<param name="Local" value="Documentation.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ïðåäèñëîâèå">
<param name="Local" value="Preface.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ââåäåíèå">
<param name="Local" value="Introduction.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ðóêîâîäñòâî äëÿ íà÷èíàþùèõ">
<param name="Local" value="Beginner's Tutorial.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Òîì VeraCrypt">
<param name="Local" value="VeraCrypt Volume.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ñîçäàíèå íîâîãî òîìà VeraCrypt">
<param name="Local" value="Creating New Volumes.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Èçáðàííûå òîìà">
<param name="Local" value="Favorite Volumes.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ñèñòåìíûå èçáðàííûå òîìà">
<param name="Local" value="System Favorite Volumes.html">
</OBJECT>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Øèôðîâàíèå ñèñòåìû">
<param name="Local" value="System Encryption.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ñêðûòàÿ îïåðàöèîííàÿ ñèñòåìà">
<param name="Local" value="Hidden Operating System.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Îïåðàöèîííûå ñèñòåìû, ïîääåðæèâàþùèå ñèñòåìíîå øèôðîâàíèå">
<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="Ïðàâäîïîäîáíîå îòðèöàíèå íàëè÷èÿ øèôðîâàíèÿ">
<param name="Local" value="Plausible Deniability.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ñêðûòûé òîì">
<param name="Local" value="Hidden Volume.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Çàùèòà ñêðûòûõ òîìîâ îò ïîâðåæäåíèé">
<param name="Local" value="Protection of Hidden Volumes.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Òðåáîâàíèÿ áåçîïàñíîñòè è ìåðû ïðåäîñòîðîæíîñòè, êàñàþùèåñÿ ñêðûòûõ òîìîâ">
<param name="Local" value="Security Requirements for Hidden Volumes.html">
</OBJECT>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ñêðûòàÿ îïåðàöèîííàÿ ñèñòåìà">
<param name="Local" value="VeraCrypt Hidden Operating System.html">
</OBJECT>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ãëàâíîå îêíî ïðîãðàììû">
<param name="Local" value="Main Program Window.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ìåíþ ïðîãðàììû">
<param name="Local" value="Program Menu.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ìîíòèðîâàíèå òîìîâ">
<param name="Local" value="Mounting VeraCrypt Volumes.html">
</OBJECT>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Îáû÷íîå ðàçìîíòèðîâàíèå ïðîòèâ ïðèíóäèòåëüíîãî">
<param name="Local" value="Normal Unmount vs Force Unmount.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Î ðèñêàõ, ñâÿçàííûõ ñî ñòîðîííèìè ðàñøèðåíèÿìè ôàéëîâ">
<param name="Local" value="Avoid Third-Party File Extensions.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ðàñïàðàëëåëèâàíèå">
<param name="Local" value="Parallelization.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Êîíâåéåðèçàöèÿ">
<param name="Local" value="Pipelining.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Àïïàðàòíîå óñêîðåíèå">
<param name="Local" value="Hardware Acceleration.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ãîðÿ÷èå êëàâèøè">
<param name="Local" value="Hot Keys.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Êëþ÷åâûå ôàéëû">
<param name="Local" value="Keyfiles in VeraCrypt.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Òîêåíû áåçîïàñíîñòè è ñìàðò-êàðòû">
<param name="Local" value="Security Tokens & Smart Cards.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ïîðòàòèâíûé (ïåðåíîñíîé) ðåæèì">
<param name="Local" value="Portable Mode.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ïîääåðæêà TrueCrypt">
<param name="Local" value="TrueCrypt Support.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ïðåîáðàçîâàíèå òîìîâ è ðàçäåëîâ TrueCrypt â ôîðìàò VeraCrypt">
<param name="Local" value="Converting TrueCrypt volumes and partitions.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ðóêîâîäñòâî ïî ïðåîáðàçîâàíèþ òîìîâ äëÿ âåðñèé 1.26 è íîâåå">
<param name="Local" value="Conversion_Guide_VeraCrypt_1.26_and_Later.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ïàðàìåòðû ìîíòèðîâàíèÿ ïî óìîë÷àíèþ">
<param name="Local" value="Default Mount Parameters.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="ßçûêîâûå ïàêåòû">
<param name="Local" value="Language Packs.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Àëãîðèòìû øèôðîâàíèÿ">
<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="Êàñêàäû øèôðîâ">
<param name="Local" value="Cascades.html">
</OBJECT>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Àëãîðèòìû õåøèðîâàíèÿ">
<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="Ïîääåðæèâàåìûå îïåðàöèîííûå ñèñòåìû">
<param name="Local" value="Supported Operating Systems.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Èñïîëüçîâàíèå â êîìàíäíîé ñòðîêå">
<param name="Local" value="Command Line Usage.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ìîäåëü áåçîïàñíîñòè">
<param name="Local" value="Security Model.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Òðåáîâàíèÿ áåçîïàñíîñòè è ìåðû ïðåäîñòîðîæíîñòè">
<param name="Local" value="Security Requirements and Precautions.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Óòå÷êè äàííûõ">
<param name="Local" value="Data Leaks.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ôàéë ïîäêà÷êè">
<param name="Local" value="Paging File.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ôàéëû äàìïà ïàìÿòè">
<param name="Local" value="Memory Dump Files.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ôàéë ãèáåðíàöèè">
<param name="Local" value="Hibernation File.html">
</OBJECT>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Íåçàøèôðîâàííûå äàííûå â ÎÇÓ">
<param name="Local" value="Unencrypted Data in RAM.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Øèôðîâàíèå îïåðàòèâíîé ïàìÿòè â VeraCrypt">
<param name="Local" value="VeraCrypt RAM Encryption.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Çàùèòà ïàìÿòè â VeraCrypt">
<param name="Local" value="VeraCrypt Memory Protection.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ôèçè÷åñêàÿ áåçîïàñíîñòü">
<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="Ìíîãîïîëüçîâàòåëüñêàÿ ñðåäà">
<param name="Local" value="Multi-User Environment.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ïîäëèííîñòü è öåëîñòíîñòü äàííûõ">
<param name="Local" value="Authenticity and Integrity.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Âûáîð ïàðîëåé è êëþ÷åâûõ ôàéëîâ">
<param name="Local" value="Choosing Passwords and Keyfiles.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Èçìåíåíèå ïàðîëåé è êëþ÷åâûõ ôàéëîâ">
<param name="Local" value="Changing Passwords and Keyfiles.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Îïåðàöèÿ Trim">
<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="Ïåðåðàñïðåäåë¸ííûå ñåêòîðà">
<param name="Local" value="Reallocated Sectors.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Äåôðàãìåíòàöèÿ">
<param name="Local" value="Defragmenting.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Æóðíàëèðóåìûå ôàéëîâûå ñèñòåìû">
<param name="Local" value="Journaling File Systems.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Êëîíèðîâàíèå òîìîâ">
<param name="Local" value="Volume Clones.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Äîïîëíèòåëüíûå òðåáîâàíèÿ áåçîïàñíîñòè è ìåðû ïðåäîñòîðîæíîñòè">
<param name="Local" value="Additional Security Requirements and Precautions.html">
</OBJECT>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Î áåçîïàñíîì ðåçåðâíîì êîïèðîâàíèè">
<param name="Local" value="How to Back Up Securely.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ðàçíîå">
<param name="Local" value="Miscellaneous.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Èñïîëüçîâàíèå VeraCrypt áåç ïðàâ àäìèíèñòðàòîðà">
<param name="Local" value="Using VeraCrypt Without Administrator Privileges.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Îáùèé äîñòóï ïî ñåòè">
<param name="Local" value="Sharing over Network.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ðàáîòà VeraCrypt â ôîíîâîì ðåæèìå">
<param name="Local" value="VeraCrypt Background Task.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Òîì, ñìîíòèðîâàííûé êàê ñìåííûé íîñèòåëü">
<param name="Local" value="Removable Medium Volume.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ñèñòåìíûå ôàéëû VeraCrypt è ïðîãðàììíûå äàííûå">
<param name="Local" value="VeraCrypt System Files.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Êàê óäàëèòü øèôðîâàíèå">
<param name="Local" value="Removing Encryption.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Óäàëåíèå VeraCrypt">
<param name="Local" value="Uninstalling VeraCrypt.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Öèôðîâûå ïîäïèñè">
<param name="Local" value="Digital Signatures.html">
</OBJECT>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Óñòðàíåíèå çàòðóäíåíèé">
<param name="Local" value="Troubleshooting.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Íåñîâìåñòèìîñòè">
<param name="Local" value="Incompatibilities.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Çàìå÷åííûå ïðîáëåìû è îãðàíè÷åíèÿ">
<param name="Local" value="Issues and Limitations.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Âîïðîñû è îòâåòû">
<param name="Local" value="FAQ.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Òåõíè÷åñêèå ïîäðîáíîñòè">
<param name="Local" value="Technical Details.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ñèñòåìà îáîçíà÷åíèé">
<param name="Local" value="Notation.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ñõåìà øèôðîâàíèÿ">
<param name="Local" value="Encryption Scheme.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ðåæèìû ðàáîòû">
<param name="Local" value="Modes of Operation.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ôîðìèðîâàíèå êëþ÷à çàãîëîâêà, ñîëü è êîëè÷åñòâî èòåðàöèé">
<param name="Local" value="Header Key Derivation.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ãåíåðàòîð ñëó÷àéíûõ ÷èñåë">
<param name="Local" value="Random Number Generator.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Êëþ÷åâûå ôàéëû">
<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">
<param name="Local" value="VeraCrypt Volume Format Specification.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ñîîòâåòñòâèå ñòàíäàðòàì è ñïåöèôèêàöèÿì">
<param name="Local" value="Standard Compliance.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Èñõîäíûé êîä ïðîãðàììû">
<param name="Local" value="Source Code.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ñáîðêà VeraCrypt èç èñõîäíîãî êîäà">
<param name="Local" value="CompilingGuidelines.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ðóêîâîäñòâî ïî ñáîðêå â Windows">
<param name="Local" value="CompilingGuidelineWin.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ðóêîâîäñòâî ïî ñáîðêå â Linux">
<param name="Local" value="CompilingGuidelineLinux.html">
</OBJECT>
</UL>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ñâÿçü ñ àâòîðàìè">
<param name="Local" value="Contact.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ïðàâîâàÿ èíôîðìàöèÿ">
<param name="Local" value="Legal Information.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Èñòîðèÿ âåðñèé">
<param name="Local" value="Release Notes.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Áëàãîäàðíîñòè">
<param name="Local" value="Acknowledgements.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Ññûëêè">
<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="Äîêóìåíòàöèÿ">
<param name="Local" value="Documentation.html">
</OBJECT>
</UL>
</BODY></HTML>
+181
View File
@@ -0,0 +1,181 @@
[OPTIONS]
Compatibility=1.1 or later
Compiled file=VeraCrypt User Guide.ru.chm
Contents file=VeraCrypt.ru.hhc
Default topic=Documentation.html
Default Font=Tahoma,9,0
Display compile progress=No
Full-text search=Yes
Index file=VeraCrypt.ru.hhk
Language=0x419 Ðóññêèé(Ðîññèÿ)
Title=Ðóêîâîäñòâî ïîëüçîâàòåëÿ VeraCrypt
[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_30x30.png
Beginner's Tutorial.html
Beginner's Tutorial_Image_001.png
Beginner's Tutorial_Image_002.png
Beginner's Tutorial_Image_003.png
Beginner's Tutorial_Image_004.png
Beginner's Tutorial_Image_005.png
Beginner's Tutorial_Image_007.png
Beginner's Tutorial_Image_008.png
Beginner's Tutorial_Image_009.png
Beginner's Tutorial_Image_010.png
Beginner's Tutorial_Image_011.png
Beginner's Tutorial_Image_012.png
Beginner's Tutorial_Image_013.png
Beginner's Tutorial_Image_014.png
Beginner's Tutorial_Image_015.png
Beginner's Tutorial_Image_016.png
Beginner's Tutorial_Image_017.png
Beginner's Tutorial_Image_018.png
Beginner's Tutorial_Image_019.png
Beginner's Tutorial_Image_020.png
Beginner's Tutorial_Image_021.png
Beginner's Tutorial_Image_022.png
Beginner's Tutorial_Image_023.png
Beginner's Tutorial_Image_024.png
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
Conversion_Guide_VeraCrypt_1.26_and_Later.html
Converting TrueCrypt volumes and partitions.html
Converting TrueCrypt volumes and partitions_truecrypt_convertion.png
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
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.png
Keyfiles.html
Kuznyechik.html
Language Packs.html
Legal Information.html
liberapay_donate.svg
LTC_Logo_30x30.png
Main Program Window.html
Malware.html
mastodon_veracrypt.PNG
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.png
Protection of Hidden Volumes_Image_028.png
Protection of Hidden Volumes_Image_029.png
Protection of Hidden Volumes_Image_030.png
Protection of Hidden Volumes_Image_031.png
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.png
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 Memory Protection.html
VeraCrypt RAM Encryption.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]
+449
View File
@@ -0,0 +1,449 @@
<!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="目录">
<param name="Local" value="Documentation.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="前言">
<param name="Local" value="Preface.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="简介">
<param name="Local" value="Introduction.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="初学者教程">
<param name="Local" value="Beginner's Tutorial.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="VeraCrypt卷">
<param name="Local" value="VeraCrypt Volume.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="创建新的VeraCrypt卷">
<param name="Local" value="Creating New Volumes.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="收藏卷">
<param name="Local" value="Favorite Volumes.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="系统收藏卷">
<param name="Local" value="System Favorite Volumes.html">
</OBJECT>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="系统加密">
<param name="Local" value="System Encryption.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="隐藏操作系统">
<param name="Local" value="Hidden Operating System.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="支持系统加密的操作系统">
<param name="Local" value="Supported Systems for System Encryption.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="VeraCrypt急救盘">
<param name="Local" value="VeraCrypt Rescue Disk.html">
</OBJECT>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="合理否认">
<param name="Local" value="Plausible Deniability.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="隐藏卷">
<param name="Local" value="Hidden Volume.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="隐藏卷防损坏保护">
<param name="Local" value="Protection of Hidden Volumes.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="隐藏卷的安全要求和注意事项">
<param name="Local" value="Security Requirements for Hidden Volumes.html">
</OBJECT>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="隐藏操作系统">
<param name="Local" value="VeraCrypt Hidden Operating System.html">
</OBJECT>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="主程序窗口">
<param name="Local" value="Main Program Window.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="程序菜单">
<param name="Local" value="Program Menu.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="挂载卷">
<param name="Local" value="Mounting VeraCrypt Volumes.html">
</OBJECT>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="正常卸载与强制卸载">
<param name="Local" value="Normal Unmount vs Force Unmount.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="避免使用第三方文件扩展名">
<param name="Local" value="Avoid Third-Party File Extensions.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="并行处理">
<param name="Local" value="Parallelization.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="流水线处理">
<param name="Local" value="Pipelining.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="硬件加速">
<param name="Local" value="Hardware Acceleration.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="热键">
<param name="Local" value="Hot Keys.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="密钥文件">
<param name="Local" value="Keyfiles in VeraCrypt.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="安全令牌和智能卡">
<param name="Local" value="Security Tokens & Smart Cards.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="便携模式">
<param name="Local" value="Portable Mode.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="TrueCrypt支持">
<param name="Local" value="TrueCrypt Support.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="转换TrueCrypt卷和分区">
<param name="Local" value="Converting TrueCrypt volumes and partitions.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="1.26及更高版本转换指南">
<param name="Local" value="Conversion_Guide_VeraCrypt_1.26_and_Later.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="默认挂载参数">
<param name="Local" value="Default Mount Parameters.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="语言包">
<param name="Local" value="Language Packs.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="加密算法">
<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="密码级联">
<param name="Local" value="Cascades.html">
</OBJECT>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="哈希算法">
<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="支持的操作系统">
<param name="Local" value="Supported Operating Systems.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="命令行用法">
<param name="Local" value="Command Line Usage.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="安全模型">
<param name="Local" value="Security Model.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="安全要求和注意事项">
<param name="Local" value="Security Requirements and Precautions.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="数据泄露">
<param name="Local" value="Data Leaks.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="分页文件">
<param name="Local" value="Paging File.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="内存转储文件">
<param name="Local" value="Memory Dump Files.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="休眠文件">
<param name="Local" value="Hibernation File.html">
</OBJECT>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="RAM中的未加密数据">
<param name="Local" value="Unencrypted Data in RAM.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="VeraCrypt RAM加密">
<param name="Local" value="VeraCrypt RAM Encryption.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="VeraCrypt内存保护">
<param name="Local" value="VeraCrypt Memory Protection.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="物理安全">
<param name="Local" value="Physical Security.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="恶意软件">
<param name="Local" value="Malware.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="多用户环境">
<param name="Local" value="Multi-User Environment.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="真实性和完整性">
<param name="Local" value="Authenticity and Integrity.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="选择密码和密钥文件">
<param name="Local" value="Choosing Passwords and Keyfiles.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="更改密码和密钥文件">
<param name="Local" value="Changing Passwords and Keyfiles.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Trim操作">
<param name="Local" value="Trim Operation.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="磨损均衡">
<param name="Local" value="Wear-Leveling.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="重新分配扇区">
<param name="Local" value="Reallocated Sectors.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="碎片整理">
<param name="Local" value="Defragmenting.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="日志文件系统">
<param name="Local" value="Journaling File Systems.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="卷克隆">
<param name="Local" value="Volume Clones.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="附加安全要求和注意事项">
<param name="Local" value="Additional Security Requirements and Precautions.html">
</OBJECT>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="如何安全备份">
<param name="Local" value="How to Back Up Securely.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="杂项">
<param name="Local" value="Miscellaneous.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="无需管理员权限使用VeraCrypt">
<param name="Local" value="Using VeraCrypt Without Administrator Privileges.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="网络共享">
<param name="Local" value="Sharing over Network.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="VeraCrypt后台任务">
<param name="Local" value="VeraCrypt Background Task.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="作为可移动介质挂载的卷">
<param name="Local" value="Removable Medium Volume.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="VeraCrypt系统文件和应用数据">
<param name="Local" value="VeraCrypt System Files.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="如何移除加密">
<param name="Local" value="Removing Encryption.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="卸载VeraCrypt">
<param name="Local" value="Uninstalling VeraCrypt.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="数字签名">
<param name="Local" value="Digital Signatures.html">
</OBJECT>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="故障排除">
<param name="Local" value="Troubleshooting.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="不兼容问题">
<param name="Local" value="Incompatibilities.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="已知问题和限制">
<param name="Local" value="Issues and Limitations.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="常见问题解答">
<param name="Local" value="FAQ.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="技术细节">
<param name="Local" value="Technical Details.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="符号表示">
<param name="Local" value="Notation.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="加密方案">
<param name="Local" value="Encryption Scheme.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="操作模式">
<param name="Local" value="Modes of Operation.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="头部密钥派生、盐和迭代次数">
<param name="Local" value="Header Key Derivation.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="随机数生成器">
<param name="Local" value="Random Number Generator.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="密钥文件">
<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卷格式规范">
<param name="Local" value="VeraCrypt Volume Format Specification.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="标准合规性">
<param name="Local" value="Standard Compliance.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="源代码">
<param name="Local" value="Source Code.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="从源代码构建VeraCrypt">
<param name="Local" value="CompilingGuidelines.html">
</OBJECT>
<UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Windows构建指南">
<param name="Local" value="CompilingGuidelineWin.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="Linux构建指南">
<param name="Local" value="CompilingGuidelineLinux.html">
</OBJECT>
</UL>
</UL>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="联系我们">
<param name="Local" value="Contact.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="法律信息">
<param name="Local" value="Legal Information.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="版本历史">
<param name="Local" value="Release Notes.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="致谢">
<param name="Local" value="Acknowledgements.html">
</OBJECT>
<LI> <OBJECT type="text/sitemap">
<param name="Name" value="参考文献">
<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>
<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="Ŀ¼±í">
<param name="Local" value="Documentation.html">
</OBJECT>
</UL>
</BODY></HTML>
+182
View File
@@ -0,0 +1,182 @@
[OPTIONS]
Compatibility=1.1 or later
Compiled file=VeraCrypt User Guide.zh-cn.chm
Contents file=VeraCrypt.zh-cn.hhc
Default Font=微软雅黑,9,0
Default topic=Documentation.html
Display compile progress=No
Full-text search=Yes
Index file=VeraCrypt.zh-cn.hhk
Language=0x804 中文(简体,中国)
Title=VeraCrypt用户指南
[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_30x30.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
Conversion_Guide_VeraCrypt_1.26_and_Later.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
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
mastodon_veracrypt.PNG
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 Memory Protection.html
VeraCrypt RAM Encryption.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]
+50
View File
@@ -0,0 +1,50 @@
<!DOCTYPE html>
<html 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.html">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">
XTS mode</a> (see the section <a href="Modes%20of%20Operation.html" style="text-align:left; color:#0080c0; text-decoration:none">
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">Next Section &gt;&gt;</a></div>
</div><div class="ClearBoth"></div></body></html>
+57
View File
@@ -0,0 +1,57 @@
<!DOCTYPE html>
<html 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.html">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,51 @@
<!DOCTYPE html>
<html 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.html">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>
+174
View File
@@ -0,0 +1,174 @@
<!DOCTYPE html>
<html 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.html">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="Key%20Derivation%20Algorithms.html">Key Derivation Algorithms</a>
<img src="arrow_right.gif" alt=">>" style="margin-top: 5px">
<a href="Argon2id.html">Argon2id</a>
</p></div>
<div class="wikidoc">
<h1>Argon2id</h1>
<div style="text-align:left; margin-top:19px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
Argon2id is a memory-hard key derivation function designed to resist both time-memory trade-off attacks and side-channel attacks. It was selected as the winner of the Password Hashing Competition (PHC) in 2015 and is defined in RFC 9106. VeraCrypt supports Argon2id as an alternative to PBKDF2-HMAC for header key derivation.
</div>
<h3>Key Features</h3>
<ul style="text-align:left; margin-top:18px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
<li style="text-align:left; margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px">
<strong>Memory-hard:</strong> Requires a configurable amount of memory, making it resistant to specialized hardware attacks
</li>
<li style="text-align:left; margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px">
<strong>Side-channel resistant:</strong> Combines data-dependent and data-independent memory access patterns
</li>
<li style="text-align:left; margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px">
<strong>Internal hash function:</strong> Uses BLAKE2b internally, eliminating the need for separate hash algorithm selection
</li>
<li style="text-align:left; margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px">
<strong>Tunable parameters:</strong> Allows adjustment of memory cost, time cost, and parallelism
</li>
</ul>
<h3>Argon2 Variants</h3>
<div style="text-align:left; margin-top:19px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
Argon2 has three variants:
</div>
<ul style="text-align:left; margin-top:18px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
<li style="text-align:left; margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px">
<strong>Argon2d:</strong> Uses data-dependent memory access, resistant to time-memory trade-off attacks but vulnerable to side-channel attacks
</li>
<li style="text-align:left; margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px">
<strong>Argon2i:</strong> Uses data-independent memory access, resistant to side-channel attacks but more vulnerable to time-memory trade-off attacks
</li>
<li style="text-align:left; margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px">
<strong>Argon2id:</strong> Hybrid approach that combines both variants, providing resistance to both attack types (used by VeraCrypt)
</li>
</ul>
<h3>Parameters in VeraCrypt</h3>
<div style="text-align:left; margin-top:19px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
VeraCrypt uses Argon2id with the following parameter configuration:
</div>
<h4>Memory Cost (m_cost)</h4>
<div style="text-align:left; margin-top:19px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
The amount of memory used during the key derivation process, controlled by the PIM value:
</div>
<ul style="text-align:left; margin-top:18px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
<li style="text-align:left; margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px">
<strong>Formula:</strong> m_cost(pim) = min(64 MiB + (pim - 1) × 32 MiB, 1024 MiB)
</li>
<li style="text-align:left; margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px">
<strong>Range:</strong> 64 MiB to 1024 MiB (capped at PIM = 31)
</li>
<li style="text-align:left; margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px">
<strong>Default:</strong> 96 MiB (equivalent to PIM = 2)
</li>
</ul>
<h4>Time Cost (t_cost)</h4>
<div style="text-align:left; margin-top:19px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
The number of iterations performed during the key derivation process:
</div>
<ul style="text-align:left; margin-top:18px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
<li style="text-align:left; margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px">
<strong>For PIM ≤ 31:</strong> t_cost(pim) = 3 + floor((pim - 1) / 3)
</li>
<li style="text-align:left; margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px">
<strong>For PIM > 31:</strong> t_cost(pim) = 13 + (pim - 31)
</li>
<li style="text-align:left; margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px">
<strong>Default:</strong> 3 iterations (equivalent to PIM = 2)
</li>
</ul>
<h4>Parallelism</h4>
<div style="text-align:left; margin-top:19px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
The number of parallel threads used during computation:
</div>
<ul style="text-align:left; margin-top:18px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
<li style="text-align:left; margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px">
<strong>Value:</strong> Fixed at 1 thread for all cases in VeraCrypt
</li>
<li style="text-align:left; margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px">
<strong>Rationale:</strong> Ensures consistent behavior across different hardware configurations
</li>
</ul>
<h3>Advantages over PBKDF2</h3>
<ul style="text-align:left; margin-top:18px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
<li style="text-align:left; margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px">
<strong>Memory hardness:</strong> Requires significant memory allocation, making GPU and ASIC attacks more expensive
</li>
<li style="text-align:left; margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px">
<strong>Modern design:</strong> Specifically designed to resist contemporary attack methods
</li>
<li style="text-align:left; margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px">
<strong>Side-channel resistance:</strong> Built-in protections against cache-timing and other side-channel attacks
</li>
<li style="text-align:left; margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px">
<strong>Standardization:</strong> Officially standardized in RFC 9106
</li>
</ul>
<h3>Usage Considerations</h3>
<div style="text-align:left; margin-top:19px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
When using Argon2id in VeraCrypt:
</div>
<ul style="text-align:left; margin-top:18px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
<li style="text-align:left; margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px">
<strong>Memory requirements:</strong> Ensure sufficient RAM is available, especially with higher PIM values
</li>
<li style="text-align:left; margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px">
<strong>Performance:</strong> Higher memory costs may result in slower mounting times but provide better security
</li>
<li style="text-align:left; margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px">
<strong>Compatibility:</strong> Available in VeraCrypt versions that support multiple key derivation functions
</li>
<li style="text-align:left; margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px">
<strong>No hash selection:</strong> Unlike PBKDF2-HMAC, no separate hash algorithm needs to be chosen
</li>
</ul>
<h3>Technical Specifications</h3>
<div style="text-align:left; margin-top:19px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
<strong>Algorithm:</strong> Argon2id as defined in RFC 9106<br/>
<strong>Internal hash:</strong> BLAKE2b<br/>
<strong>Salt size:</strong> 512 bits (same as PBKDF2-HMAC)<br/>
<strong>Output length:</strong> Variable, depending on the encryption algorithm (e.g., 256 bits for AES-256, 768 bits for AES-Twofish-Serpent cascade)<br/>
<strong>Version:</strong> Argon2 version 0x13 (19 decimal)
</div>
<div style="text-align:left; margin-top:19px; margin-bottom:19px; padding-top:0px; padding-bottom:0px">
For more information about PIM values and their effect on Argon2id parameters, see the
<a href="Personal%20Iterations%20Multiplier%20%28PIM%29.html" style="text-align:left; color:#0080c0; text-decoration:none">
Personal Iterations Multiplier (PIM)</a> section.
</div>
</div><div class="ClearBoth"></div></body></html>
@@ -0,0 +1,48 @@
<!DOCTYPE html>
<html 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.html">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>
+41
View File
@@ -0,0 +1,41 @@
<!DOCTYPE html>
<html 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.html">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://amcrypto.jp" target="_blank">AM Crypto</a>, <a href="https://www.linkedin.com/in/idrassi" target="_blank">
https://www.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,84 @@
<!DOCTYPE html>
<html 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.html">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></div></body></html>
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

+50
View File
@@ -0,0 +1,50 @@
<!DOCTYPE html>
<html 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.html">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">Next Section &gt;&gt;</a></div>
</div><div class="ClearBoth"></div></body></html>
+206
View File
@@ -0,0 +1,206 @@
<!DOCTYPE html>
<html 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.html">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 unmounted 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 unmount 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>Unmount </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

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