]> git.apps.os.sepia.ceph.com Git - fscrypt.git/commit
cmd/fscrypt: adjust status message for v1-encrypted dirs
authorEric Biggers <ebiggers@google.com>
Sat, 13 Jun 2020 17:06:15 +0000 (10:06 -0700)
committerEric Biggers <ebiggers@google.com>
Sat, 13 Jun 2020 17:06:15 +0000 (10:06 -0700)
commit5c1f617c647eb0e9af5ce57758fa58f7e3f4db83
treeacaae325e95953d077e551a10f66169c573653ec
parentc39fc85f8045bb24f773a3eb5dee7738cdc4339f
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.
cli-tests/t_v1_policy.out
cmd/fscrypt/status.go