-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Use %LOCALAPPDATA% not %APPDATA% on Windows #5660
Comments
Done by prysmaticlabs/documentation#131 |
The above PR just updated the docs, prysm still defaults to putting everything in roaming profile folder. As others mentioned, keys probably shouldn't go there as it means they'll be copied around the network (not E2E encrypted unless Prism is encrypting on disk), and the bulk data definitely shouldn't be copied over the network on login/logout. The one thing I disagree with the OP about is:
Pretty much nothing should go in |
Thank you for providing more info/context, I'll produce fixing PR within a session. |
this bug still exists 4 years later.. would this cause peers to be lost in windows? thanks |
🐞 Bug Report
Description
The folder C:\Users\username\AppData\Roaming (%APPDATA%) is used in enterprises where multiple PC's are joined to a domain. Files in this folder are copied to a fileserver on logout, and downloaded from the server on logon. This is not an appropriate location / behaviour for large database files or private keys.
%APPDATA%\Eth2 (which expands to C:\Users\username\AppData\Roaming\Eth2) is the default location for:
A better default location would be %LOCALAPPDATA% (expands to C:\Users\username\AppData\Local)
Currently, validator puts keys in %USERPROFILE%.eth2validator which is ok, but why are we spraying files all over the filesystem? %LOCALAPPDATA%\eth2 seems better to me...
%APPDATA% would not be appropriate for private keys, but %LOCALAPPDATA% would be perfect to put all prysm files.
To nitpick even more, industry standards would use this structure:
What version of Prysm are you running? (Which release)
The text was updated successfully, but these errors were encountered: