mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-09-12 16:14:42 +08:00
'get-certs' permissions too open (#745)
Fixes https://github.com/StackExchange/dnscontrol/issues/728
This commit is contained in:
parent
524f346943
commit
87607da685
1 changed files with 1 additions and 2 deletions
|
@ -34,8 +34,7 @@ func (d directoryStorage) accountKeyFile(acmeHost string) string {
|
|||
return filepath.Join(d.accountDirectory(acmeHost), "account.key")
|
||||
}
|
||||
|
||||
// TODO: probably lock these down more
|
||||
const perms os.FileMode = 0644
|
||||
const perms os.FileMode = 0600
|
||||
const dirPerms os.FileMode = 0700
|
||||
|
||||
func (d directoryStorage) GetCertificate(name string) (*certificate.Resource, error) {
|
||||
|
|
Loading…
Add table
Reference in a new issue