[pkg-cryptsetup-devel] Bug#902245: cryptsetup: Broken volume in initrd with decrypt_gnupg and plain dm-crypt

Guilhem Moulin guilhem at debian.org
Sat Jun 23 23:50:46 BST 2018


Control: retitle -1 plain dm-crypt: crypttab's 'size=<size>' option sets the device size not the key size
Control: reassign -1 cryptsetup-run
Control: tag -1 pending

Hi,

On Sat, 23 Jun 2018 at 16:31:09 -0400, skodde wrote:
> root /dev/device /path/to/key.gpg cipher=aes-xts-plain64,size=256,hash=plain,initramfs,noearly,keyscript=decrypt_gnupg,discard

In fact it's not related to the ‘decrypt_gnupg’ keyscript, the
“size=256” wrongly translates to `cryptsetup --size=256`, which sets the
size of the device to 256 512-bytes sectors instead of setting the key
size.

Cheers,
-- 
Guilhem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-cryptsetup-devel/attachments/20180624/fb5a235d/attachment.sig>


More information about the pkg-cryptsetup-devel mailing list