Correct luks passphrase not working..... most of the times

Support for security such as Firewalls and securing linux
Post Reply
Falsyana
Posts: 4
Joined: 2020/07/17 06:07:58

Correct luks passphrase not working..... most of the times

Post by Falsyana » 2021/12/29 16:12:26

Hi,

I have a system with two encrypted filesystems:
1. The root partition, encrypted using a passphrase
2. A data partition, encrypted with a keyfile (stored on the root partition).

After a reboot suddenly the correct passphrase is not working anymore, most of the times, sometimes (rarely) it works.
I booted from a Fedora Live CD and ran the command:

Code: Select all

while ( true ); do echo -n 'passphrase' | cryptsetup open --test-passphrase <device> && echo "Success";
Most of the times I will get the error "No key available with this passphrase" but every now and then it will say "Success".
The other partition that has a key file shows the same behavior.

Using the master key I am able to open both partitions without a problem.

Anyone has seen this before and/or knows a solution?

Thanks in advance!

/ Richard

Falsyana
Posts: 4
Joined: 2020/07/17 06:07:58

Re: Correct luks passphrase not working..... most of the times

Post by Falsyana » 2021/12/30 12:22:42

I found out that the problem was hardware related: in my case the memory was doing not fantastic anymore.
After removing that everything worked fine again.

Post Reply

Return to “8 /8-Stream / 9-Stream - Security Support”