blob: 07c9aa39113cffe9bd01700c59cf47f2d93d9210 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# Disable encryption on DEV
# Try to encrypt a directory when encryption is disabled
[ERROR] fscrypt encrypt: encryption not enabled on filesystem
MNT (DEV).
To enable encryption support on this filesystem, run:
sudo tune2fs -O encrypt "DEV"
Also ensure that your kernel has CONFIG_FS_ENCRYPTION=y. See the documentation
for more details.
# Try to unlock a directory when encryption is disabled
[ERROR] fscrypt unlock: encryption not enabled on filesystem
MNT (DEV).
To enable encryption support on this filesystem, run:
sudo tune2fs -O encrypt "DEV"
Also ensure that your kernel has CONFIG_FS_ENCRYPTION=y. See the documentation
for more details.
# Try to lock a directory when encryption is disabled
[ERROR] fscrypt lock: encryption not enabled on filesystem
MNT (DEV).
To enable encryption support on this filesystem, run:
sudo tune2fs -O encrypt "DEV"
Also ensure that your kernel has CONFIG_FS_ENCRYPTION=y. See the documentation
for more details.
# Check for additional message when GRUB appears to be installed
[ERROR] fscrypt encrypt: encryption not enabled on filesystem
MNT (DEV).
To enable encryption support on this filesystem, run:
sudo tune2fs -O encrypt "DEV"
WARNING: you seem to have GRUB installed on this filesystem. Before doing the
above, make sure you are using GRUB v2.04 or later; otherwise your system will
become unbootable.
Also ensure that your kernel has CONFIG_FS_ENCRYPTION=y. See the documentation
for more details.
# 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"
|