From c5e23466e7b9f814fd5ecc3a5d965bd1f1dd2987 Mon Sep 17 00:00:00 2001 From: "Joe Richey joerichey@google.com" Date: Mon, 17 Jul 2017 12:15:20 -0700 Subject: 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. --- actions/context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions/context.go') 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 -- cgit v1.2.3