Skip to content

Commit

Permalink
Merge pull request #34 from heurtematte/master
Browse files Browse the repository at this point in the history
  • Loading branch information
lrstanley authored Oct 13, 2023
2 parents 6594393 + 7e9dc0d commit 0a8d253
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ func readConfig(path string) error {
return err
}

if perms := permbits.FileMode(fi.Mode()); perms != 0o600 && perms != 0o400 {
return fmt.Errorf("permissions of %q are insecure: %s, please use 0600 or 0400", path, perms)
if perms := permbits.FileMode(fi.Mode()); perms != 0o600 && perms != 0o400 && perms != 0o440 {
return fmt.Errorf("permissions of %q are insecure: %s, please use 0600, 0440, or 0400", path, perms)
}

// Check to see if it's updated.
Expand Down

0 comments on commit 0a8d253

Please sign in to comment.