Skip to content

Add support for cookie file authentication #144

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 23, 2017

Conversation

hcbraun
Copy link
Contributor

@hcbraun hcbraun commented Aug 21, 2017

Use the .cookie file from the bitcoin config folder if there is no rpcpassword specified in the bitcoin.conf file. Also removes username/password from service url. Credentials are already in the authorization field. Sending them via both methods should not be necessary

https://en.wikipedia.org/wiki/Basic_access_authentication

@petertodd petertodd merged commit 4f5bca8 into petertodd:master Aug 23, 2017
petertodd added a commit that referenced this pull request Aug 23, 2017
4f5bca8 Add support for cookie file authentication (Hielke Christian Braun)

Pull request description:

  Use the .cookie file from the bitcoin config folder if there is no rpcpassword specified in the bitcoin.conf file. Also removes username/password from service url. Credentials are already in the authorization field. Sending them via both methods should not be necessary

  https://en.wikipedia.org/wiki/Basic_access_authentication

Tree-SHA512: cdf74f62b9918a6c8da237e6a95ceb1a6e8ab3b05e392f7f67c34f6c574a5dff5acf20a20f1564cb7746432460e7fcdc64cd3586adba6a291479872ad38071de
@petertodd
Copy link
Owner

Thanks!

I also added support for regtest/testnet cookies in 5f77336

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

Successfully merging this pull request may close these issues.

2 participants