-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cookie parameter protection #243
Comments
We worked on the same issue. :-) Choose better one. |
@racke didn't like my patch very much, and as I wrote I didn't even test it, I just wanted to update the issue. I'm not fond of the chown/chmod, it seems to me there is a race condition between file creation, chown and chmod steps, using umask seems slightly better, although not perfect. It would be even better to have the .bin files created with good owner/group and mode from the very start. Also, your PR is better, it handles the db_password parameter too. |
ok @racke, could you please review these two when you come back (or submit the third by your own :))? |
PR has been merged. |
Hi,
sympa.conf is set to mode 640 in order to protect the cookie from being world readable.
However, the sympa.conf.bin file is mode 644, whereas it should be 640 too.
Also, cookie should be marked as obfuscated in ConfDef.pm, in order to prevent it from being displayed in the web interface.
Regards,
Xavier
The text was updated successfully, but these errors were encountered: