2015-11-11 09:15:14 +01:00
|
|
|
% GOCRYPTFS(1)
|
|
|
|
% github.com/rfjakob
|
|
|
|
% Nov 2015
|
|
|
|
|
|
|
|
NAME
|
|
|
|
====
|
|
|
|
|
2015-11-11 09:19:53 +01:00
|
|
|
gocryptfs - mount an encrypted directory
|
2015-11-11 09:15:14 +01:00
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
========
|
|
|
|
|
|
|
|
Initialize encrypted filesystem
|
|
|
|
-------------------------------
|
|
|
|
|
|
|
|
gocryptfs -init [OPTIONS] CIPHERDIR
|
|
|
|
|
|
|
|
Mount
|
|
|
|
-----
|
|
|
|
|
|
|
|
gocryptfs [OPTIONS] CIPHERDIR MOUNTPOINT
|
|
|
|
|
|
|
|
Change password
|
|
|
|
---------------
|
|
|
|
|
2015-11-14 21:25:10 +01:00
|
|
|
gocryptfs -passwd [OPTIONS] CIPHERDIR
|
2015-11-11 09:15:14 +01:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
===========
|
|
|
|
|
|
|
|
Options:
|
|
|
|
|
2015-11-14 21:31:39 +01:00
|
|
|
**-config string**
|
|
|
|
: Use specified config file instead of CIPHERDIR/gocryptfs.conf
|
|
|
|
|
2015-11-11 09:15:14 +01:00
|
|
|
**-cpuprofile string**
|
|
|
|
: Write cpu profile to specified file
|
|
|
|
|
|
|
|
**-debug**
|
|
|
|
: Enable debug output
|
|
|
|
|
2015-12-04 22:41:00 +01:00
|
|
|
**-diriv**
|
|
|
|
: Use per-directory file name IV (default true)
|
|
|
|
|
2015-12-08 16:13:29 +01:00
|
|
|
**-emenames**
|
|
|
|
: Use EME filename encryption (default true). This option implies diriv.
|
|
|
|
|
2015-11-15 13:38:19 +01:00
|
|
|
**-extpass string**
|
|
|
|
: Use an external program (like ssh-askpass) for the password prompt.
|
|
|
|
The program should return the password on stdout, a trailing newline is
|
2015-12-04 22:41:00 +01:00
|
|
|
stripped by gocryptfs. Using something like "cat /mypassword.txt" allows
|
|
|
|
to mount the gocryptfs filesytem without user interaction.
|
2015-11-15 13:38:19 +01:00
|
|
|
|
2015-11-11 09:15:14 +01:00
|
|
|
**-f**
|
2015-12-04 22:41:00 +01:00
|
|
|
: Stay in the foreground instead of forking away.
|
2015-11-11 09:15:14 +01:00
|
|
|
|
|
|
|
**-fusedebug**
|
|
|
|
: Enable fuse library debug output
|
|
|
|
|
|
|
|
**-init**
|
|
|
|
: Initialize encrypted directory
|
|
|
|
|
|
|
|
**-masterkey string**
|
2015-12-04 22:41:00 +01:00
|
|
|
: Mount with explicit master key specified on the command line. This
|
|
|
|
option can be used to mount a gocryptfs filesystem without a config file.
|
|
|
|
Note that the command line, and with it the master key, is visible to
|
|
|
|
anybody on the machine who can execute "ps -auxwww".
|
2015-11-11 09:15:14 +01:00
|
|
|
|
|
|
|
**-notifypid int**
|
2015-12-04 22:41:00 +01:00
|
|
|
: Send USR1 to the specified process after successful mount. This is
|
|
|
|
used internally for daemonization.
|
2015-11-11 09:15:14 +01:00
|
|
|
|
|
|
|
**-openssl bool**
|
2015-12-04 22:41:00 +01:00
|
|
|
: Use OpenSSL instead of built-in Go crypto (default true). Using
|
|
|
|
built-in crypto is 4x slower.
|
2015-11-11 09:15:14 +01:00
|
|
|
|
|
|
|
**-passwd**
|
|
|
|
: Change password
|
|
|
|
|
|
|
|
**-plaintextnames**
|
2015-11-14 21:31:39 +01:00
|
|
|
: Do not encrypt file names
|
2015-11-11 09:15:14 +01:00
|
|
|
|
|
|
|
**-q**
|
|
|
|
: Quiet - silence informational messages
|
|
|
|
|
2015-12-04 22:41:00 +01:00
|
|
|
**-scryptn int**
|
|
|
|
: scrypt cost parameter logN. Setting this to a lower value speeds up
|
|
|
|
mounting but makes the password susceptible to brute-force attacks (default 16)
|
|
|
|
|
2015-11-11 09:15:14 +01:00
|
|
|
**-version**
|
|
|
|
: Print version and exit
|
|
|
|
|
|
|
|
**-zerokey**
|
2015-12-04 22:41:00 +01:00
|
|
|
: Use all-zero dummy master key. This options is only intended for
|
|
|
|
automated testing as it does not provide any security.
|
2015-11-11 09:15:14 +01:00
|
|
|
|