Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Introduce newer auth options #274

Open
unsystemizer opened this issue May 23, 2016 · 3 comments
Open

Introduce newer auth options #274

unsystemizer opened this issue May 23, 2016 · 3 comments

Comments

@unsystemizer
Copy link
Contributor

unsystemizer commented May 23, 2016

Spotted in Bitcoin Core 0.12.1 log:

2016-05-23 14:10:29 Config options rpcuser and rpcpassword will soon be deprecated. \
Locally-run instances may remove rpcuser to use cookie-based auth, or may be replaced \
with rpcauth. Please see share/rpcuser for rpcauth auth generation.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/34494634-introduce-newer-auth-options?utm_campaign=plugin&utm_content=tracker%2F494308&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F494308&utm_medium=issues&utm_source=github).
@unsystemizer
Copy link
Contributor Author

unsystemizer commented May 24, 2016

Took another look at this:

I guess we should decide whether we want to do nothing, go back to build-on-demand in run.py, or do something else (e.g. include the script in run.py or link it from our repo)..

Cookie-based auth is interesting.

Thoughts?

Related Bitcoin Core commit: bitcoin/bitcoin@f04f4fd

@unsystemizer
Copy link
Contributor Author

0.13.2 addrindex contains the script - https://github.com/btcdrak/bitcoin/tree/addrindex-0.13/share/rpcuser

@unsystemizer
Copy link
Contributor Author

unsystemizer commented Jan 15, 2017

I tried this using the bundled rpcuser.py script and counterparty-client/-server didn't have any issues with this approach.

$ python2 rpcuser.py rpc
String to be appended to bitcoin.conf:
rpcauth=rpc:525d39cda3c923ddedee82a532b044fe$dedc672ee7b098654c3f332b2562d982577715169c7523596880e7da8a3a7b52
Your password:
HhVjSAf-RIv_3ATBU6xlhYUU1iCSYJXJ57ZCmiNYPOI=

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant