-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Don't store authentication data in $HOME/.config #1662
Comments
Actually,
On the other hand, Your security concerns are valid, and that's precisely why the reference implementation creates |
Looking at this again, you might be right here. I will look into this more deeply later.
My thinking about this, and I think the sympathy I've found when I raised this issue elsewhere, is motivated by the relatively novel practice of source-controlling the "dotfiles". With that in mind, this is not a mitigation to my concern. Having all the configuration files in one place also makes it tempting to distribute them in a tarball so that I can replicate my environment, but I might not trust every host equally. Perhaps the spec simply does not support mitigation for this, though. That would make |
One shouldn't blindly publish his Yes, one could use |
I mean, yes -- because it might have this stuff in there. If there is a way for an app to respect the spec and make this easier, then that would be ideal. Perhaps there isn't, though.
I don't see a distinction there. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Issue
Related issues: #342 #464 #1239 #1659
I find that authentication data are stored in
$XDG_CONFIG_HOME/pypoetry/auth.toml
.Users who do not expect authentication data to be stored here may accidentally back it up and synchronize it across systems improperly. Configuration data are fine, but prefer storing state data somewhere in
$XDG_DATA_HOME
to conform to the freedesktop.org / XDG standard and avoid this potentially serious security pitfall.Reference: https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
A simplistic patch from c1f9838 :
The text was updated successfully, but these errors were encountered: