mirror of
https://github.com/google/go-attestation.git
synced 2024-12-22 06:17:56 +00:00
attest-tool: aik.json shouldn't be executable (#65)
This commit is contained in:
parent
26ea1966ce
commit
9020140437
@ -65,7 +65,7 @@ func runCommand(tpm *attest.TPM) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
return ioutil.WriteFile(*keyPath, b, 0755)
|
return ioutil.WriteFile(*keyPath, b, 0644)
|
||||||
|
|
||||||
case "quote":
|
case "quote":
|
||||||
b, err := ioutil.ReadFile(*keyPath)
|
b, err := ioutil.ReadFile(*keyPath)
|
||||||
|
Loading…
Reference in New Issue
Block a user