[pkg-cryptsetup-devel] Bug#786578: cryptsetup: crypt asks passphrase instead of using keyfile

Guilhem Moulin guilhem at guilhem.org
Wed Dec 9 04:49:13 UTC 2015


Hi there,

Patch enclosed, with the following documentation:

  Among the key files used in the crypttab(5), those matching the
  environment variable $KEYFILE_PATTERN (interpreted as a shell pattern)
  will be included in the initramfs image.  For instance if /etc/crypttab
  contains two key files /etc/keys/{root,swap}.key, you can add the
  following to initramfs.conf to add them to the initrd.

    KEYFILE_PATTERN="/etc/keys/*.key"
    export KEYFILE_PATTERN

I'm not super happy about the name of the variable, but I couldn't find
anything better :-P  Suggestions welcome.

Cheers,
-- 
Guilhem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-support-for-storing-keyfiles-directly-in-the-ini.patch
Type: text/x-diff
Size: 3319 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20151209/69eb50fd/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20151209/69eb50fd/attachment.sig>


More information about the pkg-cryptsetup-devel mailing list