Closed ohthehugemanatee closed 3 years ago
I have just tested on freshly installed Manjaro 20.2 with the latest kernel 5.9.11-3 using the VeraCrypt binary installed through pacman
and everything works as expected.
I created different set of file containers with one of them using AES-SHA256 and I didn't have any issue.
So, there must be something specific about configuration because VeraCrypt always calls dmsetup
using the same parameters. Maybe there is a bug in Device Mapper shipped with your version of Manjaro or in the kernel version you are running.
I don't have other ideas about the cause of the issue. Maybe updating to more recent kernel and recent dmsetup
version can help. FYI, output of dmsetup --version
on my machine is:
Library version: 1.02.170 (2020-03-24)
Driver version: 4.42.0
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.
Non-reopening update:
Several years and many installs later, I still have to disable kernel crypto in order to mount this container. Clearly it's something funny in how it was created.
I rebooted today and found that my veracrypt volume which usually mounts on boot, is now failing to mount.
This usually indicates that veracrypt couldn't use the kernel crypto services to decrypt the volume. So I tried mounting it with
-m=nokernelcrypto
, and it works.Here are the attributes of the volume:
It sure looks like the kernel supports everything I need:
I had a kernel update a couple of weeks ago (5.8.6-1 -> 5.8.11-1). Veracrypt hasn't been updated in over a month, so I doubt it's a regression. I'm running up to date manjaro.
Any ideas? What else could impact this?