| 1 |
|
| 2 |
# Disable encryption on DEV |
| 3 |
|
| 4 |
# Try to encrypt a directory when encryption is disabled |
| 5 |
[ERROR] fscrypt encrypt: encryption not enabled on filesystem |
| 6 |
MNT (DEV). |
| 7 |
|
| 8 |
To enable encryption support on this filesystem, run: |
| 9 |
|
| 10 |
sudo tune2fs -O encrypt "DEV" |
| 11 |
|
| 12 |
Also ensure that your kernel has CONFIG_FS_ENCRYPTION=y. See the documentation |
| 13 |
for more details. |
| 14 |
|
| 15 |
# Try to unlock a directory when encryption is disabled |
| 16 |
[ERROR] fscrypt unlock: encryption not enabled on filesystem |
| 17 |
MNT (DEV). |
| 18 |
|
| 19 |
To enable encryption support on this filesystem, run: |
| 20 |
|
| 21 |
sudo tune2fs -O encrypt "DEV" |
| 22 |
|
| 23 |
Also ensure that your kernel has CONFIG_FS_ENCRYPTION=y. See the documentation |
| 24 |
for more details. |
| 25 |
|
| 26 |
# Try to lock a directory when encryption is disabled |
| 27 |
[ERROR] fscrypt lock: encryption not enabled on filesystem |
| 28 |
MNT (DEV). |
| 29 |
|
| 30 |
To enable encryption support on this filesystem, run: |
| 31 |
|
| 32 |
sudo tune2fs -O encrypt "DEV" |
| 33 |
|
| 34 |
Also ensure that your kernel has CONFIG_FS_ENCRYPTION=y. See the documentation |
| 35 |
for more details. |
| 36 |
|
| 37 |
# Check for additional message when GRUB appears to be installed |
| 38 |
[ERROR] fscrypt encrypt: encryption not enabled on filesystem |
| 39 |
MNT (DEV). |
| 40 |
|
| 41 |
To enable encryption support on this filesystem, run: |
| 42 |
|
| 43 |
sudo tune2fs -O encrypt "DEV" |
| 44 |
|
| 45 |
WARNING: you seem to have GRUB installed on this filesystem. Before doing the |
| 46 |
above, make sure you are using GRUB v2.04 or later; otherwise your system will |
| 47 |
become unbootable. |
| 48 |
|
| 49 |
Also ensure that your kernel has CONFIG_FS_ENCRYPTION=y. See the documentation |
| 50 |
for more details. |
| 51 |
|
| 52 |
# Enable encryption on DEV |
| 53 |
|
| 54 |
# Encrypt a directory when encryption was just enabled |
| 55 |
"MNT/dir" is encrypted with fscrypt. |
| 56 |
|
| 57 |
Policy: desc1 |
| 58 |
Options: padding:32 contents:AES_256_XTS filenames:AES_256_CTS policy_version:2 |
| 59 |
Unlocked: Yes |
| 60 |
|
| 61 |
Protected with 1 protector: |
| 62 |
PROTECTOR LINKED DESCRIPTION |
| 63 |
desc2 No custom protector "prot" |