File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,10 @@ mounted using gocryptfs v1.2 and higher. Default true.
155
155
156
156
#### -reverse
157
157
Reverse mode shows a read-only encrypted view of a plaintext
158
- directory. Implies "-aessiv".
158
+ directory. Implies ` -aessiv ` .
159
+
160
+ If you want to mount the encrypted view using ` -masterkey ` , you * must*
161
+ specify ` -aessiv ` .
159
162
160
163
#### -xchacha
161
164
Use XChaCha20-Poly1305 file content encryption. This should be much faster
@@ -501,10 +504,14 @@ settings have to be passed on the command line: `-aessiv` when you
501
504
mount a filesystem that was created using reverse mode, or
502
505
` -plaintextnames ` for a filesystem that was created with that option.
503
506
504
- Examples:
507
+ Example 1: Mount a filesystem that was created using default options:
508
+
509
+ gocryptfs -masterkey=6f717d8b-6b5f8e8a-fd0aa206-778ec093-62c5669b-abd229cd-241e00cd-b4d6713d cipher mnt
510
+ gocryptfs -masterkey=stdin cipher mnt
511
+
512
+ Example 2: Mount a ` gocryptfs -reverse ` filesystem (note that you * must* specify ` -aessiv ` ):
505
513
506
- -masterkey=6f717d8b-6b5f8e8a-fd0aa206-778ec093-62c5669b-abd229cd-241e00cd-b4d6713d
507
- -masterkey=stdin
514
+ gocryptfs -masterkey=stdin -aessiv cipher mnt
508
515
509
516
Applies to: all actions that ask for a password.
510
517
You can’t perform that action at this time.
0 commit comments