Cache password no longer works

Open
#1,991 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
c
Domain
security

Research direction

The report identifies favourite-volume mounting and the “cache password in driver memory” setting, but names no source files or tests. Start by tracing how favourite volumes pass the cache setting through the mount flow, then compare behavior across versions 1.26.29 and 1.26.30. Done means mounting several favourites with the same passphrase and non-default PIM/KDF prompts for the passphrase only once.

Written by the indexing model from the issue text.

Description

bug

Expected behavior

It should be possible to mount several favourite volumes using the same passphrase without re-entering it each time, and it was so with 1.26.29.

Observed behavior

I have to reduce security by copying the passphrase to the clipboard to re-enter it 10 times.

Steps to reproduce

  1. Install 1.26.29-0vanir1 from the unit193 PPA (no longer possible, they already purged the version, but you get the gist)
  2. Configure a bunch of volumes with the same Passphrase, non-default PIM and KDF
  3. Register all of these in favourite volumes
  4. Settings - default mount parameters - set the KDF used as default and activate "cache password in driver memory"
  5. Unmount all if mounted and try Favourites - Mount Favourite Volumes:
    • You still need to enter the sudo password twice, but will need the volume passphrase and PIM only once.
  6. Upgrade to veracrypt (1.26.30-0vanir1~bpo24.04) noble via said PPA
  7. Mount Favourite Volumes will ask for the passphrase/PIM for each volume. The cache passwords checkbox is on in the dialog but seems to be ignored.

Screenshots

n/a

Your Environment

VeraCrypt version:
see "steps"

Operating system and version:
Linux Mint 22.3

System type:
64-bit: There are no 32-bit distros anymore, or are there?

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.