veracrypt.mdwn 10.6 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[[!meta title="Using VeraCrypt encrypted volumes"]]

[[!toc levels=2]]

Introduction to <span class="application">VeraCrypt</span>
==========================================================

<span class="application">[VeraCrypt](https://www.veracrypt.fr/)</span> is a
disk encryption software that works on on Windows, macOS, and Linux.

Use <span class="application">VeraCrypt</span> to share encrypted files across
different operating systems.

In Tails, you can only open <span class="application">VeraCrypt</span> volumes
but you cannot create new ones.

- To create <span class="application">VeraCrypt</span> volumes, do so outside
  of Tails.

  See the step-by-step guides by Security-in-a-Box:
  - [VeraCrypt for Windows](https://securityinabox.org/en/guide/veracrypt/win/)
  - [VeraCrypt for macOS](https://securityinabox.org/en/guide/veracrypt/mac/)
  - [VeraCrypt for Linux](https://securityinabox.org/en/guide/veracrypt/linux/)

- To create encrypted volumes in Tails, use
  <span class="application">[[LUKS|encrypted_volumes]]</span> instead.
  <span class="application">LUKS</span> works only on Linux.

Comparison between <span class="application">LUKS</span> and <span class="application">VeraCrypt</span>
-------------------------------------------------------------------------------------------------------

You can also create and open <span class="application">LUKS</span>
encrypted volumes in Tails. <span class="application">LUKS</span> is the
standard for disk encryption in Linux. [[See our documentation about
<span class="application">LUKS</span>.|encrypted_volumes]]

[[!inline pages="doc/encryption_and_privacy/luks_vs_veracrypt.inline" raw="yes" sort="age"]]

<a id="container-vs-partition"></a>

Difference between file containers and partitions
-------------------------------------------------

With <span class="application">VeraCrypt</span> you can store your files
encrypted in two different kinds of *volumes*:

- *File containers*. A file container is a single big file inside which you can
  store several files encrypted, a bit like a ZIP file.

- *Partitions*. Usually USB sticks and hard disks have a single
  partition of their entire size but they can also be split into several
  partitions. This way you can encrypted a whole USB stick for example.

<a id="parameters"></a>

Unlocking parameters
--------------------

To unlock a <span class="application">VeraCrypt</span> volume you might need
the following parameters, depending on the options that were selected when the
volume was created:

- **Passphrase**

- **Keyfiles**: instead, or in addition to, the passphrase a
  <span class="application">VeraCrypt</span> volume can be unlocked using a
  particular files or set of files.

  [See the <span class="application">VeraCrypt</span> documentation on
  keyfiles.](https://www.veracrypt.fr/en/Keyfiles.html).

- **PIM**: a number that is needed if it was specified when creating the
  <span class="application">VeraCrypt</span> volume.

  [See the <span class="application">VeraCrypt</span> documentation on
  PIM.](https://www.veracrypt.fr/en/Personal%20Iterations%20Multiplier%20(PIM).html)

- **Hidden volume**: if you want to open the hidden volume inside the
  <span class="application">VeraCrypt</span> volume.

  [See the <span class="application">VeraCrypt</span> documentation on hidden
  volumes.](https://www.veracrypt.fr/en/Hidden%20Volume.html)

84
85
Using a file container
======================
86
87
88

<a id="container-files"></a>

89
90
Unlocking a file container without keyfiles
-------------------------------------------
91

92
1. Choose
93
94
95
   <span class="menuchoice">
     <span class="guimenu">Applications</span>&nbsp;▸
     <span class="guisubmenu">Accessories</span>&nbsp;▸
96
97
     <span class="guisubmenuitem">Files</span></span>
   to start the <span class="application">Files</span> browser.
98
99
100
101
102
103
104
105
106
107
108
109

1. Navigate to the folder containing the file container that you want to open.

1. Right-click on the file container and choose <span class="guimenuitem">Open
   With Other Application</span>.

1. In the <span class="guilabel">Select Application</span> dialog, click the
   <span class="button">View All Applications</span> button.

1. In the list of applications, choose <span class="application">Disk Image
   Mounter</span>.

110
111
   [[!img disk-image-mounter.png link="no" alt=""]]

112
113
114
115
116
117
118
119
120
121
122
123
124
125
1. Click on the <span class="guilabel">Encrypted</span> label of the new volume
   that appears in the sidebar.

   [[!img container-encrypted-label.png link="no" alt="105 MB Encrypted"]]

1. Enter the parameters to unlock the volume. For more information, see
   the [[Unlocking parameters|veracrypt#parameters]] section above.

   Click <span class="button">Unlock</span>.

1. <span class="application">Files</span> opens your volume.

<a id="container-disks"></a>

126
127
Unlocking a file container with keyfiles
----------------------------------------
128

129
1. Choose
130
131
132
   <span class="menuchoice">
     <span class="guimenu">Applications</span>&nbsp;▸
     <span class="guisubmenu">Utilities</span>&nbsp;▸
133
134
     <span class="guisubmenuitem">Disks</span></span>
   to start the <span class="application">Disks</span> utility.
135
136
137
138
139
140

1. Choose <span class=menuchoice">
     <span class="guimenu">Disks</span>&nbsp;▸
     <span class="guimenuitem">Attach Disk Image&hellip;</span></span> from the
     top navigation bar.

141
142
     [[!img disks-menu.png link="no" alt=""]]

143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
1. In the <span class="button">Select Disk Image to Attach</span> dialog:

   - Unselect the <span class="guilabel">Set up read-only loop device</span>
     check box in the bottom-left corner if you want to modify the content of
     the file container.

     [[!img read-only.png link="no" alt=""]]

   - Choose <span class="guilabel">All Files</span> in the file filter in the
     bottom-right corner.

     [[!img all-files.png link="no" alt=""]]

   - Navigate to the folder containing the file container that you want to open.

   - Select the file container and click <span class="button">Attach</span>.

1. In the left pane, select the new <span class="guilabel">Loop Device</span>
   that corresponds to your file container.

   In the right pane, it should have an
   <span class="guilabel">Encrypted?</span> label.

   [[!img container-locked.png link="no" alt=""]]

1. Click the <span class="button">[[!img lib/unlock.png alt="Unlock
   selected encrypted partition" class="symbolic" link="no"]]</span>
   button in the right pane.

1. Enter the parameters to unlock the volume. For more information, see
   the [[Unlocking parameters|veracrypt#parameters]] section above.

   Click <span class="button">Unlock</span>.

1. Select the file system that appears below the unlocked volume. It
   probably has a <span class="guilabel">FAT</span> or
   <span class="guilabel">NTFS</span> content.

1. Click the <span class="button">[[!img lib/media-playback-start.png
   alt="Mount selected partition" class="symbolic" link="no"]]</span>
   button to mount the volume.

1. Click on the <span class="filename">*/media/amnesia/*</span> link in
186
187
   the right pane to open the volume in the
   <span class="application">Files</span> browser.
188
189
190
191
192
193
194
195
196

1. Your volume opens in <span class="application">Files</span>.

Closing a file container
------------------------

1. Click on the <span class="button">[[!img lib/media-eject.png
   alt="Eject" class="symbolic" link="no"]]</span> button on the label
   of the volume corresponding to your file container in the sidebar of
197
   the <span class="application">Files</span> browser.
198
199
200

   [[!img eject-container.png link="no" alt=""]]

201
202
Using a partition
=================
203
204
205

<a id="partition-files"></a>

206
207
Unlocking a partition without keyfiles
--------------------------------------
208

209
1. Choose
210
211
212
   <span class="menuchoice">
     <span class="guimenu">Applications</span>&nbsp;▸
     <span class="guisubmenu">Accessories</span>&nbsp;▸
213
214
     <span class="guisubmenuitem">Files</span></span>
   to start the <span class="application">Files</span> browser.
215
216
217

1. Plug in the USB stick or the hard disk which has the partition.

218
219
220
221
   If your partition is on an internal hard disk, refer to [[Unlocking a
   partition with keyfiles|veracrypt#partition-disks]]
   instead.

222
223
224
225
226
227
228
229
230
231
232
233
234
235
1. Click on the <span class="guilabel">Encrypted</span> label of the new volume
   that appears in the sidebar.

   [[!img partition-encrypted-label.png link="no" alt="Mount and open '8.2 GB Encrypted'"]]

1. Enter the parameters to unlock the volume. For more information, see
   the [[Unlocking parameters|veracrypt#parameters]] section above.

   Click <span class="button">Unlock</span>.

1. <span class="application">Files</span> opens your volume.

<a id="partition-disks"></a>

236
237
Unlocking a partition with keyfiles
-----------------------------------
238
239
240
241
242
243
244

1. If your partition is on an internal hard disk, [[set up an administration
   password|doc/first_steps/startup_options/administration_password]] when
   starting Tails.
   
   Otherwise, plug in the USB stick or the hard disk which has the partition.

245
1. Choose
246
247
248
   <span class="menuchoice">
     <span class="guimenu">Applications</span>&nbsp;▸
     <span class="guisubmenu">Utilities</span>&nbsp;▸
249
250
     <span class="guisubmenuitem">Disks</span></span>
   to start the <span class="application">Disks</span> utility.
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279

1. In the left pane, select the device that corresponds to your USB stick or
   hard disk.

   [[!img partition-locked.png link="no" alt=""]]

1. In the right pane, select the partition that corresponds to your *VeraCrypt*
   volume.

   It should have an <span class="guilabel">Encrypted?</span> label.

1. Click the <span class="button">[[!img lib/unlock.png alt="Unlock
   selected encrypted partition" class="symbolic" link="no"]]</span>
   button in the right pane.

1. Enter the parameters to unlock the volume. For more information, see
   the [[Unlocking parameters|veracrypt#parameters]] section above.

   Click <span class="button">Unlock</span>.

1. Select the file system that appears below the unlocked volume. It
   probably has a <span class="guilabel">FAT</span> or
   <span class="guilabel">NTFS</span> content.

1. Click the <span class="button">[[!img lib/media-playback-start.png
   alt="Mount selected partition" class="symbolic" link="no"]]</span>
   button to mount the volume.

1. Click on the <span class="filename">*/media/amnesia/*</span> link in
280
281
   the right pane to open the volume in the
   <span class="application">Files</span> browser.
282
283
284
285
286
287
288
289
290

1. Your volume opens in <span class="application">Files</span>.

Closing a partition
-------------------

1. Click on the <span class="button">[[!img lib/media-eject.png
   alt="Eject" class="symbolic" link="no"]]</span> button on the label
   of the volume corresponding to your file container in the sidebar of
291
   the <span class="application">Files</span> browser.
292
293

   [[!img eject-partition.png link="no" alt=""]]