actually fixes issue 2

This commit is contained in:
2026-05-08 19:22:43 -06:00
parent afb6191a86
commit 25ecbd5404
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ func (c *Config) loadToken(path string) error {
return fmt.Errorf("failed to stat env file: %v", err)
}
if info.Mode().Perm() != 0600 {
if info.Mode().Perm() != 0640 {
return fmt.Errorf("env file perms not secure, expected 0600 got %o", info.Mode().Perm())
}
//#nosec G304 -- config is known path