blob: e03f20b5faa129b9f1c872c4aaea236c145f60df [file] [log] [blame]
Theodore Ts'o1e734e72015-03-30 02:11:53 -04001.TH E4CRYPT 8 "@E2FSPROGS_MONTH@ @E2FSPROGS_YEAR@" "E2fsprogs version @E2FSPROGS_VERSION@"
Ildar Muslukhovbfa4b352015-02-06 16:30:11 -08002.SH NAME
3e4crypt \- ext4 filesystem encryption utility
4.SH SYNOPSIS
Theodore Ts'o41f22102015-03-28 20:15:02 -04005.B e4crypt \-a \-S
Ildar Muslukhovbfa4b352015-02-06 16:30:11 -08006.I salt
7[
8.B \-k
9.I keyring
10]
11[
12.I path\fR ...
13]
14.br
15.B e4crypt \-s
16.I policy
17.I path\fR ...
18.SH DESCRIPTION
19.B e4crypt
20performs encryption management for ext4 file systems.
Theodore Ts'o1e734e72015-03-30 02:11:53 -040021.SH COMMANDS
Ildar Muslukhovbfa4b352015-02-06 16:30:11 -080022.TP
Theodore Ts'o1e734e72015-03-30 02:11:53 -040023.B e4crypt add_key -S \fR[\fB -k \fIkeyring\fR ] [\fB-v\fR] [\fB-q\fR] [ \fI path\fR ... ]
24Prompts the user for a passphrase and inserts it into the specified
25keyring. If no keyring is specified, e4crypt will use the session
26keyring if it exists or the user session keyring if it does not.
27.IP
28If one or more directory paths are specified, e4crypt will try to
29set the policy of those directories to use the key just entered by
30the user.
Ildar Muslukhovbfa4b352015-02-06 16:30:11 -080031.TP
Theodore Ts'o1e734e72015-03-30 02:11:53 -040032.B e4crypt new_session
33Give the invoking process (typically a shell) a new session keyring,
34discarding its old session keyring.
Ildar Muslukhovbfa4b352015-02-06 16:30:11 -080035.TP
Theodore Ts'o1e734e72015-03-30 02:11:53 -040036.B set_policy -s \fIpolicy path\fR ...
37Sets the policy for the directories specified on the command line.
Ildar Muslukhovbfa4b352015-02-06 16:30:11 -080038All directories must be empty to set the policy; if the directory
Theodore Ts'o1e734e72015-03-30 02:11:53 -040039already has a policy established, e4crypt will validate that it the
40policy matches what was specified. A policy is an encryption key
41identifier consisting of 16 hexadecimal characters.
Ildar Muslukhovbfa4b352015-02-06 16:30:11 -080042.SH AUTHOR
Theodore Ts'o1e734e72015-03-30 02:11:53 -040043Written by Michael Halcrow <mhalcrow@google.com>, Ildar Muslukhov
44<muslukhovi@gmail.com>, and Theodore Ts'o <tytso@mit.edu>
Ildar Muslukhovbfa4b352015-02-06 16:30:11 -080045.SH SEE ALSO
Theodore Ts'o1e734e72015-03-30 02:11:53 -040046.BR keyctl (1),
Ildar Muslukhovbfa4b352015-02-06 16:30:11 -080047.BR mke2fs (8),
48.BR mount (8).