Re: Unable to use a keyfile
Milan Broz <[email protected]> Sun, 12 Apr 2026 10:40:24 +0200
| Newsgroups | dev.linux.lists.cryptsetup |
|---|---|
| Message-ID | <[email protected]> |
On 4/12/26 10:09 AM, j4ck32 wrote: > memtest86 immediately failed... > I did multiple test runs and determined one of the two modules failed. > So I removed the faulty module... > Now my system accepts the original key-file again. > And adding new key-files works again. > > Am Sa., 11. Apr. 2026 um 23:21 Uhr schrieb Milan Broz <[email protected]>: >> This should work. Could you try to add "--pbkdf pbkdf2" for luksAddKey? > > I skipped that. Now that the issue is fixed. > > So using a key-file uses more memory than a passphrase? No, a keyfile is processed the same way as passphrases. But your previous passphrase (keyslot 0) used less memory. With PBKDF2, the memory footprint is even smaller, just a few kilobytes. It is only about probability & luck - passphrase could fail the same way. Argon2 KDF is just a quite good memory pressure test :) Milan