You are viewing a single comment's thread from:

RE: Upvote bot in less than 10 lines of code

in #steem9 years ago

Everyone be like "This is bad, you shouldn't upvote indiscriminately! Y U luv spam, xeroc??" but am I the only one saying "Pardon me, but put your WIF in an environment variable??" ;)

And this is a brilliant hello-world style example of the power and expressiveness of this library. Great work!

Sort:  

Yes, this.

Pardon my ignorance, I'm kind of new, and not all up with what you're trying to say. So it's not a good thing to put your WIF in the environment variable or is it a good thing?

It would be better if you simply write it in a text file or directly in source code.
When writing in environment variables your whole OS and all programs can find and read it really easy. So could viruses and such things do. And you will probably forget the key in your system when moving the bot to another system.
It's simply a security issue.
That is my answer. There are surely many more reasons.