Add disable-luks2 reencryption configure option.
The option --disable-luks2-reencryption completely disable LUKS2 reencryption code. When used, the libcryptsetup library can read metadata with reencryption code, but all reencryption API calls and cryptsetup reencrypt commands are disabled. Devices with online reencryption in progress cannot be activated. This option can cause some incompatibilities. Please use with care.
Showing
- configure.ac 8 additions, 0 deletionsconfigure.ac
- lib/luks2/luks2_keyslot.c 2 additions, 0 deletionslib/luks2/luks2_keyslot.c
- lib/luks2/luks2_reencrypt.c 24 additions, 12 deletionslib/luks2/luks2_reencrypt.c
- lib/setup.c 38 additions, 15 deletionslib/setup.c
- tests/api-test-2.c 4 additions, 2 deletionstests/api-test-2.c
- tests/luks2-reencryption-test 2 additions, 0 deletionstests/luks2-reencryption-test
Loading
Please register or sign in to comment