Skip to content
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

FIX(client): Permission for settings.json and backup was too open #6667

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

theboywholived
Copy link

@theboywholived theboywholived commented Dec 14, 2024

Changes permission for settings.json and corresponding backup file to 600.

Fixes #6652

Checks

Changes permission for settings.json and corresponding backup file to 600.

Fixes mumble-voip#6652
Copy link
Member

@Krzmbrzl Krzmbrzl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there no way to set the permissions directly when writing the file?
If we're young this in a 2-step process, then there always is a short period of time in which the file still has the wrong permissions. Admittedly, that period is very short but ideally we wouldn't have that at all 👀

@davidebeatrici
Copy link
Member

I believe we should set the default permissions on the folder itself, perhaps with a warning when we detect sensitive files to be too accessible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Better certificate protection - 600
3 participants