[pkg-cryptsetup-devel] Bug#570418: how to add new key file?

Harald Dunkel harri at darkharri.de
Thu Feb 18 17:59:12 UTC 2010


Package: cryptsetup
Version: 2:1.1.0~rc2-1

I would like to add a key file to an encrypted partition using

	device=/dev/sdd1
	dd if=/dev/urandom of=/tmp/keyfile bs=256 count=1
	cryptsetup luksAddKey ${device} /tmp/keyfile

But cryptsetup asks to enter the (new) passphrase again for
verification:

	# cryptsetup luksAddKey ${device} /tmp/keyfile
	Enter any passphrase: xxxxxxxxxxx
	Verify passphrase:

How am I supposed to enter this generated binary data again?

I am not encrypting partitions that often, but I am pretty sure
that this is a regression.


Regards

Harri





More information about the pkg-cryptsetup-devel mailing list