From 5e8dfc196020693d2a9dc809cf6bc87096ddc09f Mon Sep 17 00:00:00 2001 From: "Joe Richey joerichey@google.com" Date: Tue, 15 Aug 2017 12:06:11 -0700 Subject: crypto: Switch from session to user keyring --- actions/policy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions') 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 } -- cgit v1.2.3