aboutsummaryrefslogtreecommitdiff
path: root/cli-tests/t_not_enabled.out
blob: 7d74bcfe2aeabf7ca47cd4b1f65c6bfa39c7f6e2 (plain)
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
# Disable encryption on DEV

# Try to encrypt a directory when encryption is disabled
[ERROR] fscrypt encrypt: get encryption policy MNT/dir:
                         encryption not enabled

Encryption is either disabled in the kernel config, or needs to be enabled for
this filesystem. See the documentation on how to enable encryption on ext4
systems (and the risks of doing so).

# Try to unlock a directory when encryption is disabled
[ERROR] fscrypt unlock: get encryption policy MNT/dir:
                        encryption not enabled

Encryption is either disabled in the kernel config, or needs to be enabled for
this filesystem. See the documentation on how to enable encryption on ext4
systems (and the risks of doing so).

# Try to lock a directory when encryption is disabled
[ERROR] fscrypt lock: get encryption policy MNT/dir:
                      encryption not enabled

Encryption is either disabled in the kernel config, or needs to be enabled for
this filesystem. See the documentation on how to enable encryption on ext4
systems (and the risks of doing so).

# Enable encryption on DEV

# Encrypt a directory when encryption was just enabled
"MNT/dir" is encrypted with fscrypt.

Policy:   desc1
Options:  padding:32 contents:AES_256_XTS filenames:AES_256_CTS policy_version:2 
Unlocked: Yes

Protected with 1 protector:
PROTECTOR         LINKED  DESCRIPTION
desc2  No      custom protector "prot"