aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorJoseph Richey <joerichey@google.com>2017-08-15 13:46:32 -0700
committerGitHub <noreply@github.com>2017-08-15 13:46:32 -0700
commitb4d51e0f4d34dbfd78e23662f3dfd90e86ae5e48 (patch)
tree0346d37cd67541265e47effd5425d039d396ea8c /actions
parent1281987135c92ca6187e48bc24a824a7a2efa4e5 (diff)
parent5e8dfc196020693d2a9dc809cf6bc87096ddc09f (diff)
Merge pull request #37 from google/keyring
crypto: Switch from session to user keyring
Diffstat (limited to 'actions')
-rw-r--r--actions/policy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/policy.go b/actions/policy.go
index 946bdd4..ceae573 100644
--- a/actions/policy.go
+++ b/actions/policy.go
@@ -365,7 +365,7 @@ func (policy *Policy) Apply(path string) error {
// IsProvisioned returns a boolean indicating if the policy has its key in the
// keyring, meaning files and directories using this policy are accessible.
func (policy *Policy) IsProvisioned() bool {
- _, _, err := crypto.FindPolicyKey(policy.Description())
+ _, err := crypto.FindPolicyKey(policy.Description())
return err == nil
}