openoms / joininbox

A terminal based graphical menu for JoinMarket
MIT License
153 stars 20 forks source link

update to rpc auth #30

Open keblek opened 3 years ago

keblek commented 3 years ago

this style will be deprecated eventually image

instead use wget https://raw.githubusercontent.com/bitcoin/bitcoin/master/share/rpcauth/rpcauth.py python ./rpcauth.py bitcoinrpc

openoms commented 3 years ago

Will think how to implement this.

$ python ./rpcauth.py bitcoinrpc
String to be appended to bitcoin.conf:
rpcauth=bitcoinrpc:89c6beb39a6570882896c4d45ed031ba$34881e175cffa78026ffa3bd305082bbf72c906c98cbd6c4a714b4438e3ea6cf
Your password:
zvI1e7yIpoGwEkxE6MyFOOwutp2o4vLhYwL6X_ToDac=

Currently it is useful that the RPC password can be read directly from the bitcoin.conf for joinmarket to (re)connect. To keep the automation the password would need to be stored somewhere locally even if the rpcauth.py is used.