From 90201404378250f5aa4578f85bf63b8dbde2834d Mon Sep 17 00:00:00 2001 From: Eric Chiang Date: Mon, 5 Aug 2019 17:39:25 -0700 Subject: [PATCH] attest-tool: aik.json shouldn't be executable (#65) --- attest/attest-tool/attest-tool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attest/attest-tool/attest-tool.go b/attest/attest-tool/attest-tool.go index 85fdd9a..9095ad9 100644 --- a/attest/attest-tool/attest-tool.go +++ b/attest/attest-tool/attest-tool.go @@ -65,7 +65,7 @@ func runCommand(tpm *attest.TPM) error { if err != nil { return err } - return ioutil.WriteFile(*keyPath, b, 0755) + return ioutil.WriteFile(*keyPath, b, 0644) case "quote": b, err := ioutil.ReadFile(*keyPath)