Argon2id resume fails with ResumeInPlaceEncWaitThreadProc:408 on non-system volume
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start at ResumeInPlaceEncWaitThreadProc:408 and compare the Argon2id header-decryption path with the related report in #1614. The interruption cause is still a placeholder, so first obtain that detail and a reproducible case; done means the interrupted non-system-volume encryption resumes successfully with the correct password.
Written by the indexing model from the issue text.
Description
VeraCrypt version: 1.26.29
OS: Windows 11
Volume type: Non-system volume, internal HDD, in-place encryption
KDF used: Argon2id
PIM: Left empty (default)
Keyfile: None used
Hash/Cipher: default / not noted
Summary:
In-place encryption of an internal non-system hard drive was interrupted
at approximately 5% completion after [précise ici : ex. "a Windows
restart" / "a forced shutdown" / "clicking Defer"]. The volume cannot
be resumed or recovered afterward — VeraCrypt consistently fails to
decrypt the volume header with the correct password.
Error message:
"Operation failed due to one or more of the following:
- Incorrect password
- Incorrect Volume PIM number
- Incorrect PRF (hash)
- Not a valid volume
- The volume uses an old algorithm that has been removed.
- TrueCrypt volumes are no longer supported.
Source: ResumeInPlaceEncWaitThreadProc:408"
Steps to reproduce:
- Start in-place encryption of a non-system internal HDD using
Argon2id KDF with default (empty) PIM. - Interrupt the process at low completion percentage (~5%) via
[décris la cause exacte de l'interruption]. - Relaunch VeraCrypt — it correctly detects an interrupted process
and prompts to resume Encrypt/Decrypt. - Select "Encrypt", enter the password, select the correct device.
- Operation fails immediately with the error above.
Expected behavior:
Encryption resumes normally from the last processed sector.
Actual behavior:
Header decryption fails every time, even though:
- The password has been verified correct via copy-paste (ruling out
keyboard layout/typo issues) - No keyfile was used
- PIM was left at default (empty)
- The correct device/partition was selected (verified by size/ID)
Troubleshooting already attempted (all failed with same error):
- Retyping the password directly
- Copy-pasting the password from a text editor to rule out input errors
- Closing all applications with potential disk access, including antivirus
- Restarting the system before retrying
- Restore Volume Header using the embedded backup header (Tools >
Restore Volume Header, no external backup file) — same 408 error,
suggesting both the primary and backup headers fail to decrypt
identically with this password
Possible related issue:
This may be related to #1614 ("Possible Argon2id incorrect derived
key"), which describes header decryption failing with Argon2id KDF
despite using the correct password, in a controlled test case.
Data risk / urgency:
The volume was only ~5% encrypted when interrupted, meaning the vast
majority of data on the drive is still in its original unencrypted
state. However, without being able to resume or properly decrypt via
VeraCrypt, the drive currently cannot be safely used or accessed
through normal means.
Additional info:
Happy to provide further logs, a memory dump, or test with a
reproducible sample container if that would help diagnose whether
this is the same root cause as #1614.
- Dominant language
- C
- Stars
- 11.7k
- Forks
- 1.4k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 28
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from veracrypt/VeraCrypt
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
bug
Difficulty 5/5 Over a week Newbie friendliness 32/100
veracrypt/VeraCrypt#1995 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
veracrypt/VeraCrypt#1993 · 2 comments ·
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 55/100
veracrypt/VeraCrypt#1991 · 1 comment ·
Maintainers usually reply within 1 day
All issues in veracrypt/VeraCrypt
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug game: 01008BA02525A000 ios
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
area/ysql kind/bug priority/medium status/awaiting-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
yugabyte/yugabyte-db#37523 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 3 days
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
ly05010419/MacNativeGames#2079 ·
Maintainers usually reply within 1 day