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

check default permissions on config creation! #109

Closed
cremesk opened this issue Aug 25, 2019 · 1 comment
Closed

check default permissions on config creation! #109

cremesk opened this issue Aug 25, 2019 · 1 comment

Comments

@cremesk
Copy link

cremesk commented Aug 25, 2019

Hello,

i have installed "toot" on Debian 10.
Then i use it the first time i use:
toot login_cli

after authentication the access token saved to: ~/.config/toot/config.json (644)

this file needs: chmod 600 ~/.config/toot/config.json!
i think it is not good then other user can read the secrets. ;)

pls fix it by default.

Thanks

@ihabunek
Copy link
Owner

@cremesk Fixed, thanks for reporting, that totally went over my head when writing the code.

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

No branches or pull requests

2 participants