2 Feature: Untrusted partitions
4 I don't want to touch other media than the one Tails runs from
6 Scenario: Tails will not enable disk swap
8 And I temporarily create a 100 MiB disk named "swap"
9 And I create a gpt swap partition on disk "swap"
10 And I plug sata drive "swap"
11 When I start Tails with network unplugged and I login
12 Then a "swap" partition was detected by Tails on drive "swap"
13 But Tails has no disk swap enabled
15 Scenario: Tails will detect LUKS-encrypted GPT partitions labeled "TailsData" stored on USB drives as persistence volumes when the removable flag is set
17 And I temporarily create a 100 MiB disk named "fake_TailsData"
18 And I create a gpt partition labeled "TailsData" with an ext4 filesystem encrypted with password "asdf" on disk "fake_TailsData"
19 And I plug removable usb drive "fake_TailsData"
20 When I start the computer
21 And the computer boots Tails
22 Then drive "fake_TailsData" is detected by Tails
23 And Tails Greeter has detected a persistence partition
25 Scenario: Tails will not detect LUKS-encrypted GPT partitions labeled "TailsData" stored on USB drives as persistence volumes when the removable flag is unset
27 And I temporarily create a 100 MiB disk named "fake_TailsData"
28 And I create a gpt partition labeled "TailsData" with an ext4 filesystem encrypted with password "asdf" on disk "fake_TailsData"
29 And I plug non-removable usb drive "fake_TailsData"
30 When I start the computer
31 And the computer boots Tails
32 Then drive "fake_TailsData" is detected by Tails
33 And Tails Greeter has not detected a persistence partition
35 Scenario: Tails will not detect LUKS-encrypted GPT partitions labeled "TailsData" stored on local hard drives as persistence volumes
37 And I temporarily create a 100 MiB disk named "fake_TailsData"
38 And I create a gpt partition labeled "TailsData" with an ext4 filesystem encrypted with password "asdf" on disk "fake_TailsData"
39 And I plug sata drive "fake_TailsData"
40 When I start the computer
41 And the computer boots Tails
42 Then drive "fake_TailsData" is detected by Tails
43 And Tails Greeter has not detected a persistence partition
45 Scenario: Tails can boot from live systems stored on hard drives
47 And I temporarily create a 2 GiB disk named "live_hd"
48 And I write the Tails ISO image to disk "live_hd"
49 And the computer is set to boot from sata drive "live_hd"
50 And I set Tails to boot with options "live-media="
51 When I start Tails with network unplugged and I login
52 Then Tails is running from sata drive "live_hd"
54 Scenario: Tails booting from a DVD does not use live systems stored on hard drives
56 And I temporarily create a 2 GiB disk named "live_hd"
57 And I write the Tails ISO image to disk "live_hd"
58 And I plug sata drive "live_hd"
59 And I start Tails from DVD with network unplugged and I login
60 Then drive "live_hd" is detected by Tails
61 And drive "live_hd" is not mounted
63 Scenario: Booting Tails does not automount untrusted ext2 partitions
65 And I temporarily create a 100 MiB disk named "gpt_ext2"
66 And I create a gpt partition with an ext2 filesystem on disk "gpt_ext2"
67 And I plug sata drive "gpt_ext2"
68 And I start Tails from DVD with network unplugged and I login
69 Then drive "gpt_ext2" is detected by Tails
70 And drive "gpt_ext2" is not mounted
72 Scenario: Booting Tails does not automount untrusted fat32 partitions
74 And I temporarily create a 100 MiB disk named "msdos_fat32"
75 And I create an msdos partition with a vfat filesystem on disk "msdos_fat32"
76 And I plug sata drive "msdos_fat32"
77 And I start Tails from DVD with network unplugged and I login
78 Then drive "msdos_fat32" is detected by Tails
79 And drive "msdos_fat32" is not mounted