]> git.ipfire.org Git - thirdparty/systemd.git/commit
cryptsetup: try to load bitlocker superblock only if requested
authorLennart Poettering <lennart@poettering.net>
Tue, 9 Jun 2020 12:18:09 +0000 (14:18 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 9 Jun 2020 12:24:15 +0000 (14:24 +0200)
commit5af39ac850844511f673ce573efa0cf84b6589a7
tree91fc6b7d5aaabb35e0a0a09343932e03d0f717ea
parent8b8ae7959d212c51ada4c1f13df5fb573461d024
cryptsetup: try to load bitlocker superblock only if requested

let's do automatic discovery only for our native LUKS/LUKS2 headers,
since they are Linux stuff, and let's require that BitLocker to be
requested explicitly.

This makes sure cryptsetup without either "luks" nor "bitlk" in the
option string will work. Right now it would fail because we'd load the
superblock once with luks and once with bitlk and one of them would
necessarily fail.

Follow-up for #15979
src/cryptsetup/cryptsetup.c