Today we have a plain text password in a configuration file. I believe we should hash the password in case the contents of the file become public.
Some ideas
- Hash the password
- Use a prefix like
[sha|md5]:"hashed password"
- Add check to make sure configuration file owned by root and only root has permissions to read
- Investigate other integrated authentication mechanisms so we can stop doing this ourselves
Today we have a plain text password in a configuration file. I believe we should hash the password in case the contents of the file become public.
Some ideas
[sha|md5]:"hashed password"