-
Notifications
You must be signed in to change notification settings - Fork 278
Ensure We Do Not Inherit File Permissions For Written Key Files #279
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
Comments
Based on the date, above link most likely pointed to a call to TempFile's But it is hard to guess what the OP meant by "do not inherit file permissions" (maybe use a custom I wonder if this request is still valid, or if this is just not in the scope of TUF. |
As the method in question has been replaced, I think we can close this issue, and reopen if it becomes an issue with the persist_temp_file method. |
I guess he meant private keys should be written with umask |
@trishankatdatadog, do you think it's worth keeping this (now clarified) feature request around? If so I can re-open it on the securesystemslib repo. |
Yes, I think so, please |
Will be fixed in secure-systems-lab/securesystemslib#222 |
For example: https://github.com/theupdateframework/tuf/blob/develop/tuf/repository_lib.py#L806
The text was updated successfully, but these errors were encountered: