]> git.apps.os.sepia.ceph.com Git - fscrypt.git/commit
actions/protector: improve errors
authorEric Biggers <ebiggers@google.com>
Sat, 9 May 2020 21:52:07 +0000 (14:52 -0700)
committerEric Biggers <ebiggers@google.com>
Sat, 9 May 2020 22:21:31 +0000 (15:21 -0700)
commit37457cce5b0436493dba7cdac6e1af5f51d25f47
tree8f2e234aab045971fd5f4f74ff2836a4e19aa9a8
parente9919b0bfd00c7d228531ebafa410cbfdafcb2e3
actions/protector: improve errors

ErrProtectorName:
Rename to ErrLoginProtectorName for clarity, and include the
name and user.

ErrMissingProtectorName:
Include the correct protector source.

ErrDuplicateName:
Rename to ErrProtectorNameExists for clarity, and remove a level
of wrapping by including the name directly.

ErrDuplicateUID:
Rename to ErrLoginProtectorExists for clarity, and remove a
level of wrapping by including the user directly.
actions/protector.go
actions/recovery.go
cli-tests/t_encrypt_custom.out
cli-tests/t_encrypt_login.out
cmd/fscrypt/errors.go