bytecoin icon indicating copy to clipboard operation
bytecoin copied to clipboard

walletd: --wallet-password-file?

Open KrzysztofHajdamowicz opened this issue 6 years ago • 4 comments

I'm running a production instance of bytecoin. walletd requires to enter a password via stdin. There's deprecated method to enter it via argv param.

Maybe there should be an option to specify a file with a password, so I can store passwd here and chmod 600 that file, so nobody else can touch it?

KrzysztofHajdamowicz avatar Dec 06 '18 13:12 KrzysztofHajdamowicz

I agree. I have been running into a similar problem. I'm likely going to make the modification my self very soon. I may set up an option to get the variable from the environment as well.

ConnorBP avatar Jan 10 '19 16:01 ConnorBP

feel free to use the code from this commit in my fork i just added ;) https://github.com/cryptogems-currency/cryptogem/commit/90d1ca3b10feddbdf550a48f666e28997eb8fc9d I have not tested the file one but it should work. The environment variables work perfectly however.

ConnorBP avatar Jan 10 '19 17:01 ConnorBP

@KrzysztofHajdamowicz Please have a look at the subsection in our wiki where we give a recipe for doing this right.

bcndev avatar Apr 19 '19 09:04 bcndev

@KrzysztofHajdamowicz Please have a look at the subsection in our wiki where we give a recipe for doing this right.

This isn't a solution for doing this right via systemd.

KrzysztofHajdamowicz avatar Apr 19 '19 10:04 KrzysztofHajdamowicz