Re: LUKS + dm-crypt Debian/Ubuntu expanding encrypted root LV onto 2nd disk

Guilhem Moulin <guilhem-m2T68/X/[email protected]>
Newsgroups gmane.linux.kernel.device-mapper.dm-crypt
Message-ID <[email protected]>
Hi,

On Fri, 07 Jun 2019 at 09:56:52 +0100, Dominic Raferd wrote:
> On Wed, 29 May 2019 at 14:44, Guilhem Moulin <guilhem-m2T68/X/[email protected]> wrote:
>> I guess that if you want to stick to decrypt_derived your options are
>> to use `luksFormat --type luks1` (or `convert --type luks1`);
> 
> unfortunately this doesn't work. I try it (booting from SystemRescueCD):
> 
> # cryptsetup convert /dev/sda5 --type luks1
> […] 
> Cannot convert to LUKS1 format - keyslot 0 is not LUKS1 compatible.

For LUKS1, the only supported PBKDF algorithm is PBKDF2 (while for LUKS2
it defaults to argon2i), you therefore need to remove existing
non-PBKDF2 keyslots with `cryptsetup luksKillSlot`, or convert them with
`cryptsetup luksConvertKey --pbkdf pbkdf2`.

Cheers,
-- 
Guilhem.

_______________________________________________
dm-crypt mailing list
[email protected]
https://www.saout.de/mailman/listinfo/dm-crypt
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEERpy6p3b9sfzUdbME05pJnDwhpVIFAlz6QdgACgkQ05pJnDwh
pVLlXBAAhzNVJZTEfV1kAQj1eWeJ+1h+jFqKQcr5wb5Qojx603cI5wm59zEiMHQP
qk09mWGofAYhfrxlOCnSw2vQ6zdF/MVNGqglNpVZVARUocJ+QNeTIfEdnGujUO9k
JiIvrel97Rfp0yg2PcrbitEHlqWxxHK5WdRpTHnlyWRURKVbBUvOjeVg0XeVjcWJ
uplRC9XHTTHicyT1Z9Nz19Euk4HLqbfZetjMUUEiDWuah6z96h76sUEqmes9YG9W
zmILODGAZYtd9xisedkxwOFSY/KUoCYiAWv5Gi99x1HF6d+p7k48N41fOGorlGZe
Ka5l7yHkijXvYJI+74MUfjXy+tpZ/tLhPzwCX8cKVZPA3YtHEYaq1aSlFKzwSdO1
UkVYXjhd4VQPMW55b1K0zK4J1pklCpPUkY8BHDUYaRRK/dIjKjxT0DPyG58BfnbD
o5DbVD/3mt+UwiP9XNLB476kIdzZjZ6gJxMbjLuNIzRdGv4efo4bas8KXdhllQ2S
BXg6grxhjv+jCFJRMo0d3dK4hCHUD7eUOo09EBbL63+zI50mBzG0LXzCNF7ZrqFT
Qqb9cTRzZWGCto08ziCDG/+OJDhZj8ps/p2cm9equMJzKcQLt7a+jH0WtX1/nYHy
RjbOuoo3b//BHttiHoOpYXHxdSXYUKK6ni3AtVgHsTOLic58mXI=
=nih/
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.