cryptsetup format with --integrity aead and external header doesn't work
Seems that cryptsetup lukדFormat doesn't work with an external header. The device-mapper prints "integrity: the device is not initialized".
The command I enter is :
cryptsetup luksFormat my_disk --verbose --key-file secret.key --cipher aes-gcm-random --integrity aead --type luks2 --header crypto_header
crypto_header is a loopback device (as is my_disk) and they are the same size.
Without using an external header (--header crypto_header) everything works fine.
I'm using kernel 4.14
dm-integrity version 1.1.0 dm-crypt version 1.18.0 dm-ioctl version 4.37.0 cryptsetup version 2.0.3