[dm-crypt] [PATCH] Speed up keyfile reading

angelomariafederichini191269 angelomariafederichini191269 at protonmail.com
Sun Aug 13 14:34:43 CEST 2017


On 12 Aug 2017 at 9:37 PM Milan Broz wrote:

>> I"m using a keyfile instead of a passphrase for my encrypted volumes.
>> What me bothered a long time is that it takes nearly 30 seconds to open
>> the volume. Now I had a little time and dug into this itch.
> How big is that keyfile? (And what is underlying storage?)
> Just wonder why it is so slow...

The keyfile size is the maximum allowed by cryptsetup so its 8MB. The storage is sometimes a tmpfs, i.e., RAM, and sometimes a SSD.

> Anyway, patches look good, I will commit it later.


Kind regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.saout.de/pipermail/dm-crypt/attachments/20170813/6bf25f72/attachment.html>

More information about the dm-crypt mailing list