aboutsummaryrefslogtreecommitdiff
path: root/actions/context.go
diff options
context:
space:
mode:
authorJoe Richey joerichey@google.com <joerichey@google.com>2017-07-17 12:15:20 -0700
committerJoe Richey joerichey@google.com <joerichey@google.com>2017-07-17 12:15:20 -0700
commitc5e23466e7b9f814fd5ecc3a5d965bd1f1dd2987 (patch)
treed68229e1df8fb652fcad8578359a0d89f93d349c /actions/context.go
parente5cb8079aea929b1abd8d4279afc55983a5d0764 (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.go2
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