Created
April 11, 2021 12:21
-
-
Save mdPlusPlus/7eb5f9d43c5dfd4ce9faabf76f32585b to your computer and use it in GitHub Desktop.
cryptsetup LUKS2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cryptsetup luksFormat \ | |
--type luks2 \ | |
--cipher aes-xts-plain64 \ | |
--key-size 512 \ | |
--hash sha256 \ | |
DEVICE [KEYFILE] | |
cryptsetup luksAddKey \ | |
--type luks2 \ | |
[-d EXISTING_KEYFILE] \ | |
DEVICE [KEYFILE] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment