From a96f483d5637345a150a4b6c910afcdb0e5c87d4 Mon Sep 17 00:00:00 2001 From: Emile Vauge Date: Fri, 30 Sep 2016 15:06:12 +0200 Subject: [PATCH] Fix regression in acme.json secure mode --- acme/localStore.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acme/localStore.go b/acme/localStore.go index f159a5acd..7432411ee 100644 --- a/acme/localStore.go +++ b/acme/localStore.go @@ -76,7 +76,7 @@ func (t *localTransaction) Commit(object cluster.Object) error { if err != nil { return err } - err = ioutil.WriteFile(t.file, data, 0644) + err = ioutil.WriteFile(t.file, data, 0600) if err != nil { return err }