#パスフレーズを追加する場合
$ cryptsetup luksAddKey /dev/sda1
Enter any existing passphrase: #登録済みのパスフレーズか鍵ファイルを入力
Enter new passphrase for key slot: #新しいパスフレーズを入力
Verify passphrase: #新しいパスフレーズを再入力

#鍵ファイルを追加する場合（鍵ファイルは読み取られないように隠蔽する必要があります）
$ dd if=/dev/urandom of=/etc/sample.key bs=1 count=4096 #鍵ファイルの作成
4096+0 records in
4096+0 records out
$ cryptsetup luksAddKey /dev/sda1 /etc/sample.key #鍵ファイルの登録 
Enter any existing passphrase: #登録済みのパスフレーズか鍵ファイルを入力

#追加されたスロットの確認
$ cryptsetup luksDump /dev/sda1
LUKS header information for /dev/sda1

Version:        1
Cipher name:    aes
Cipher mode:    xts-plain64
Hash spec:      sha256
Payload offset: 4096
MK bits:        512
MK digest:      18 02 4b 66 1e 61 fd 99 a8 a5 e5 60 2d 66 4b 6c 65 ea 1e 68 
MK salt:        ba be 36 05 f9 49 79 91 9f 02 0c 56 d0 1f 25 2a 
                f8 2c 6b c0 7a 4f 3f a9 e0 b8 d9 18 f4 b8 67 0c 
MK iterations:  13170
UUID:           71b0a1bd-f08e-45df-8371-dbaf69eaf834

Key Slot 0: ENABLED
        Iterations:             210726
        Salt:                   ae f8 66 29 70 da 98 02 db b1 b6 b2 4a 82 a4 48 
                                7c 57 a9 db c7 c8 28 f2 b5 88 45 80 73 47 28 86 
        Key material offset:    8
        AF stripes:             4000
Key Slot 1: ENABLED
        Iterations:             211406
        Salt:                   1a b5 75 1f 84 9a 2e 6d a6 c0 15 aa b8 69 e1 23 
                                d2 cb 90 c5 d3 64 26 dd f7 83 3c 65 c8 3b b0 07 
        Key material offset:    512
        AF stripes:             4000
Key Slot 2: ENABLED
        Iterations:             210388
        Salt:                   11 9b cd 50 89 05 58 1d b0 30 b2 d2 a6 66 a5 df 
                                37 8f ae 0f 6b 7b 54 c1 17 ab af c0 ee 6f 35 73 
        Key material offset:    1016
        AF stripes:             4000
Key Slot 3: DISABLED
Key Slot 4: DISABLED
Key Slot 5: DISABLED
Key Slot 6: DISABLED
Key Slot 7: DISABLED
