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

fix: remove logging #325

Merged
merged 2 commits into from
Dec 1, 2023
Merged

fix: remove logging #325

merged 2 commits into from
Dec 1, 2023

Conversation

lsheva
Copy link
Contributor

@lsheva lsheva commented Dec 1, 2023

No description provided.

@@ -63,7 +63,7 @@ const runProxyRouter = (config) => {
"--log-level-scheduler=info",
"--log-level-proxy=info",
"--log-level-connection=info",
`--log-folder-path=${app.getPath("logs")}/`,
// `--log-folder-path=${app.getPath("logs")}/`,

`--wallet-private-key=${config.privateKey}`,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The private key is being passed as a command line argument. This is a security risk because command line arguments can be viewed by any user on the system using commands like ps or by inspecting the /proc filesystem. It's recommended to use a more secure method to pass sensitive data, such as environment variables or secure files that are read by the application.

abs2023
abs2023 previously approved these changes Dec 1, 2023
@lsheva lsheva merged commit 3954440 into stg Dec 1, 2023
1 check passed
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

Successfully merging this pull request may close these issues.

3 participants