Re: cryptsetup - No key available with passphrase
Michael Kjörling <[email protected]> Thu, 2 Mar 2023 21:46:12 +0000
| Newsgroups | dev.linux.lists.cryptsetup |
|---|---|
| Message-ID | <[email protected]> |
On 2 Mar 2023 21:34 +0100, from [email protected] (Lars Francke): > I honestly don't understand what the problem could be. All of this did > work last week and it did work _once_ earlier today for some reason. > I checked smartctl to make sure that the hard drive is not reporting > any errors and it doesn't SMART data unfortunately is not always conclusive; particularly, it's not always conclusive in indicating the _absence_ of a problem. Plain and simple, storage devices _lie_, some more than others. I would try again, but this time creating the LUKS container using a file in a ramfs (not tmpfs, which is allowed to be swapped out) as backing store, possibly mapped to a loopback device. Doing so will eliminate persistent storage from the equation. If that works, then my suspicion would be on the drive itself. If that doesn't work either, then there's likely something problematic about the software stack, at which point exact versions of everything becomes interesting. Kernel, cryptsetup, libcryptsetup, ... -- Michael Kjörling 🔗 https://michael.kjorling.se “Remember when, on the Internet, nobody cared that you were a dog?”