aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorJoe Richey joerichey@google.com <joerichey@google.com>2017-08-15 12:06:11 -0700
committerJoe Richey joerichey@google.com <joerichey@google.com>2017-08-15 13:16:08 -0700
commit5e8dfc196020693d2a9dc809cf6bc87096ddc09f (patch)
tree329c776a7b703e286373bee41cd3b4f51bb52b70 /actions
parent8e234ec2cbbb4214ca493ddff18257f0c7605ee1 (diff)
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
}