Rescue disk won't create

Open
#1,829 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
c
Domain
security

Research direction

Start at VeraCrypt::BootEncryption::CreateRescueIsoImage, reported at line 4526, and inspect how rescue ISO creation handles the selected path on Windows. Try the listed steps on VeraCrypt 1.26.29 and Windows 11, then compare with a version where creation worked. Done means identifying and reproducing the cause of the failure; the issue does not name a test or provide enough detail to verify a fix.

Written by the indexing model from the issue text.

Description

bug

After the update to the version 1.26.29 i cannot create the rescue disk.

Error message:
VeraCrypt::BootEncryption::CreateRescueIsoImage:4526

I don't know if this has anything to do with SecureBoot, but my certificate should be deployd correctly:
[System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI KEK).bytes) -match 'Microsoft Corporation KEK 2K CA 2023'
True

[System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI db).bytes) -match 'Microsoft UEFI CA 2023'
True

Expected behavior

Before update there was no problem to create rescue disk repeatedly.

Observed behavior

I have no special characters in user name which caused problems in previously reported bugs.

Steps to reproduce

  1. Right click on the system disk
  2. Create Rescue disk
  3. Choose path
  4. I get an error VeraCrypt::BootEncryption::CreateRescueIsoImage:4526

Screenshots

Your Environment

Please tell us more about your environment

VeraCrypt version: 1.26.29

Operating system and version: Windows 11 25H2 build 26200.8875

System type:

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from veracrypt/VeraCrypt

All issues in veracrypt/VeraCrypt

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.