mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Starting with cryptsetup version 2.5.0 the luksFormat command accepts option '--volume-key-file' to specify the volume key file. Option '--master-key-file' is still accepted as an alias to '--volume-key-file'. Follow this pattern with the zkey-cryptsetup tool and also accept both options '--volume-key-file' and '--master-key-file'. The short option form stays '-m' for compatibility reasons (cryptsetup does not have a short option for that). Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Reviewed-by: Jorg Schmidbauer <jschmidb@de.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>