simonsobs / librarian

The HERA Librarian.
BSD 2-Clause "Simplified" License
1 stars 2 forks source link

Require permissions for hl_config.cfg #35

Open JBorrow opened 7 months ago

JBorrow commented 7 months ago

At the moment somebody could accidentally have permissions for ~/.hl_config.cfg (read in hera_librarian.settings) or other configuration file that mean they can be read by others, leaking their password.

Following the example of openssh, we should raise a warning or error out unless those permissions bar group and all reads.

JBorrow commented 6 months ago

@karenperezsarmiento could you take a look at this issue please?