4 ms·
> 60 to 90 seconds That seems pretty long, what's your setup? I noticed mine taking much longer than it should, and the reason seemed to be a lot of useless P
by CBLT 8y ago
> 60 to 90 seconds
That seems pretty long, what's your setup?
I noticed mine taking much longer than it should, and the reason seemed to be a lot of useless PKDF time. For every disk I had to decrypt, my system went through the LUKS table and tried the keyfile in order. By putting the keyfile entry first in the table and configuring it to minimum PKDF time (just for the keyfile, still millions of sha512 for passwords) my disks all decrypted in a couple seconds.
- lgunsch 8y agoI probably over estimated a bit, and I only reboot about once a week or so. I only have the one disk to decrypt, and one key. When I was setting it all up I did run cryptsetup benchmark to choose the best hashing algorithm for my architecture. It ended up to be aes-xts sha256. Has enough iterations for about 2.5 seconds.