diff options
| author | Joe Richey joerichey@google.com <joerichey@google.com> | 2017-07-17 12:15:20 -0700 |
|---|---|---|
| committer | Joe Richey joerichey@google.com <joerichey@google.com> | 2017-07-17 12:15:20 -0700 |
| commit | c5e23466e7b9f814fd5ecc3a5d965bd1f1dd2987 (patch) | |
| tree | d68229e1df8fb652fcad8578359a0d89f93d349c /actions/context.go | |
| parent | e5cb8079aea929b1abd8d4279afc55983a5d0764 (diff) | |
actions: Protectors can directly unlock Policies
In addition to using callbacks, unlocked Protectors can now directly
unlock a policy. The error codes are updated to make more sense.
Diffstat (limited to 'actions/context.go')
| -rw-r--r-- | actions/context.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/context.go b/actions/context.go index 8bf0287..fb25b54 100644 --- a/actions/context.go +++ b/actions/context.go @@ -44,7 +44,7 @@ var ( ErrBadConfigFile = errors.New("global config file has invalid data") ErrConfigFileExists = errors.New("global config file already exists") ErrBadConfig = errors.New("invalid Config structure provided") - ErrLocked = errors.New("method needs a call to Unlock() first") + ErrLocked = errors.New("key needs to be unlocked first") ) // Context contains the necessary global state to perform most of fscrypt's |