You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using mite config set [key] [value] mite-cli stores the given values in a config.json file lovated inside node_modules/mite-cli. This has two issues:
The file config.json is world-readable by any user/process on my system and contains sensitive informations. The permissions should be 640 or even better just 600.
The file is located outside of my users home folder. Other users using the same machine will see/overwrite my mite-cli file. Maybe it would be better to use a file in ~/.mite-cli.json instead?
The text was updated successfully, but these errors were encountered:
This is in fact a bug as I never thought about where the file would be stored when installing mite-cli. I’m going to fix it in a way where the config file is stored in the user’s home directory.
When using
mite config set [key] [value]
mite-cli stores the given values in a config.json file lovated inside node_modules/mite-cli. This has two issues:The file config.json is world-readable by any user/process on my system and contains sensitive informations. The permissions should be 640 or even better just 600.
The file is located outside of my users home folder. Other users using the same machine will see/overwrite my mite-cli file. Maybe it would be better to use a file in ~/.mite-cli.json instead?
The text was updated successfully, but these errors were encountered: