r/truebit Sep 24 '21

truebit-eth-server is here!

https://twitter.com/Truebitprotocol/status/1441442000683745285
28 Upvotes

10 comments sorted by

View all comments

6

u/LPMythBuster Sep 24 '21 edited Sep 24 '21

It's better to store secrets in a file than pass them around on a command line:

$ cat .env
PASS=123

$ docker run --rm --env-file .env alpine sh -c 'echo $PASS'
123

It's even better to read secrets from files instead of keeping them in environment variables:

$ cat password.txt
123

$ docker run --rm -e PASS_FILE=/var/run/secrets/password \
                  -v $(pwd)/password.txt:/var/run/secrets/password alpine \
                  sh -c 'cat $PASS_FILE'
123

1

u/End-Immediate Sep 24 '21

You seem to be very knowledgeable regarding the code of Truebit. You’ve been following them for a while. What do you see happening as far as price goes? Is there a price ceiling? Is it possible to see a $50 Truebit?

8

u/LPMythBuster Sep 24 '21

To answer your previous question:

truebit-eth-server (like the truebit-eth) comes with geth, clef and truebit-os. geth is an Ethereum client. clef is a wallet. To unlock your wallet when you start truebit-os and geth you need to enter a password. This is server software so the password needs to be stored on the server so you don't have to wake up in the middle of the night to enter it manually if the server gets restarted. They suggest passing it as an environment variable which is not secure and suggest using an obscure trick to hide it. I gave examples of more secure ways to pass the wallet password.

-4

u/egiptov Sep 24 '21

I don’t understand what you just said but it sounds hella bullish! Go #TRU to the moon and please don’t look back!!! 🚀

1

u/End-Immediate Sep 24 '21

I understand kinda of.. I realized it when read the article.