Re: [PATCH v2 2/3] commands/probe: improve support of LUKS2 devices

2022-05-04 Thread Glenn Washburn
On Tue, 29 Mar 2022 12:31:57 +0200 Pierre-Louis Bonicoli wrote: > The --target=drive option of the probe command doesn't handle LUKS2 > devices: > > # dd if=/dev/zero of=data count=10 bs=1M > # losetup --show -f data > /dev/loop4 > # echo -n pass | cryptsetup luksFormat -v --type luks2 /

[PATCH v2 2/3] commands/probe: improve support of LUKS2 devices

2022-03-29 Thread Pierre-Louis Bonicoli
The --target=drive option of the probe command doesn't handle LUKS2 devices: # dd if=/dev/zero of=data count=10 bs=1M # losetup --show -f data /dev/loop4 # echo -n pass | cryptsetup luksFormat -v --type luks2 /dev/loop4 Key slot 0 created. Command successful. # echo -n pass | cryptse