Veracrypt on Ubuntu Studio: System Admin Password - Endless Loop

Open
#1,859 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
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
c, ubuntu
Domain
security

Research direction

Start by reproducing the mount flow on Ubuntu Studio 24.04.3 with VeraCrypt 1.26.29, then trace the system-admin password prompt and the --use-dummy-sudo-password workaround in the Linux source. The report does not identify source files or tests, so locate the relevant authentication and mounting entry points first. Done means a valid admin password is accepted and mounting works without repeated prompts.

Written by the indexing model from the issue text.

Description

bug

Expected behavior

Veracrypt popup asks for sysadmin password when mounting a volume.
It should accept the sysadmin password if entered correctly.

Observed behavior

Endless loop of admin password popups. Never accepts the legit admin password. Requires workaround command to launch Veracrypt. Even this command sometimes fails to allow mounting:
veracrypt --use-dummy-sudo-password

Steps to reproduce

  1. Install Veracrypt and run the app
  2. Try to mount an encrypted disk volume
  3. Pop-up asks for sysadmin password
  4. Enter admin PW
  5. Admin fails. Reenter admin. Admin fails again... endless loop.

Screenshots

Your Environment

Please tell us more about your environment

VeraCrypt version:
Installed Version: Veracrypt 1.26.29

Operating system and version:
Ubuntu Studio 24.04.3 LTS

System type:
64-bit Intel

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.