[pkg-cryptsetup-devel] Bug#704470: cryptsetup: Please support specifying key-slot in crypttab

Kevin Locke kevin at kevinlocke.name
Mon Apr 1 15:38:44 UTC 2013


Package: cryptsetup
Version: 2:1.4.3-4
Severity: wishlist
Tags: patch

Dear Maintainer,

Could you please consider adding support for specifying the --key-slot
option in /etc/crypttab?  Since key slots are tested sequentially,
decrypting a device in crypttab using a key file for a higher-numbered
slot can take quite a while (depending on the number of iterations on
all earlier key slots) and slow down boot noticeably for automatic
mappings.  Being able to specify the key slot to which the
keyfile/keyscript matches would speed this up significantly.

I've attached a simple patch to implement the option as "keyslot".

Cheers,
Kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cryptsetup-crypttab_support_keyslot.patch
Type: text/x-diff
Size: 1733 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20130401/1f4f8420/attachment.patch>


More information about the pkg-cryptsetup-devel mailing list