aboutsummaryrefslogtreecommitdiff
path: root/cli-tests
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-06-13 10:06:15 -0700
committerEric Biggers <ebiggers@google.com>2020-06-13 10:06:15 -0700
commit5c1f617c647eb0e9af5ce57758fa58f7e3f4db83 (patch)
treeacaae325e95953d077e551a10f66169c573653ec /cli-tests
parentc39fc85f8045bb24f773a3eb5dee7738cdc4339f (diff)
cmd/fscrypt: adjust status message for v1-encrypted dirs
When 'fscrypt status DIR' detects that a v1-encrypted directory is still usable but its key seems to be absent, it shows the status as "Unlocked: Partially (incompletely locked)". But actually it can also be the case that the directory is unlocked by another user. Adjust the status message accordingly. This commit also fixes cli-tests/t_v1_policy.
Diffstat (limited to 'cli-tests')
-rw-r--r--cli-tests/t_v1_policy.out4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli-tests/t_v1_policy.out b/cli-tests/t_v1_policy.out
index b47bcca..9adb00a 100644
--- a/cli-tests/t_v1_policy.out
+++ b/cli-tests/t_v1_policy.out
@@ -42,7 +42,7 @@ desc2 No custom protector "prot"
Policy: desc1
Options: padding:32 contents:AES_256_XTS filenames:AES_256_CTS policy_version:1
-Unlocked: Yes
+Unlocked: Partially (incompletely locked, or unlocked by another user)
Protected with 1 protector:
PROTECTOR LINKED DESCRIPTION
@@ -115,7 +115,7 @@ Then re-run:
Policy: desc1
Options: padding:32 contents:AES_256_XTS filenames:AES_256_CTS policy_version:1
-Unlocked: Partially (incompletely locked)
+Unlocked: Partially (incompletely locked, or unlocked by another user)
Protected with 1 protector:
PROTECTOR LINKED DESCRIPTION