summaryrefslogtreecommitdiff
path: root/etc/crypttab
blob: b4332ddf8d8a939a8e73e499e651b953c79ab9d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Configuration for encrypted block devices.
# See crypttab(5) for details.

# NOTE: Do not list your root (/) partition here, it must be set up
#       beforehand by the initramfs (/etc/mkinitcpio.conf).

# <name>       <device>                                     <password>              <options>
# home         UUID=b8ad5c18-f445-495d-9095-c9ec4f9d2f37    /etc/mypassword1
# data1        /dev/sda3                                    /etc/mypassword2
# data2        /dev/sda5                                    /etc/cryptfs.key
# swap         /dev/sdx4                                    /dev/urandom            swap,cipher=aes-cbc-essiv:sha256,size=256
# vol          /dev/sdb7                                    none
# arch-root      UUID=71ce78be-ecf4-4696-abd3-cdc17881e5c8    -                       tpm2-device=auto
arch-root      UUID=71ce78be-ecf4-4696-abd3-cdc17881e5c8    -                       tpm2-device=auto,fido2-device=auto,tries=3,discard
# arch-swap	   UUID=5361445b-d32a-41ea-94fe-05aacfc7217a	-					   tpm2-device=auto
# cryptdata      UUID=8d8ffbd2-5876-481b-b7e7-8ce2fb5346eb    none    luks,keyscript=decrypt_keyctl
DATA      UUID=3d8fbfea-33e0-4802-bc54-3ef62a542ebe    /etc/cryptsetup-keys.d/DATA.key    nofail