Skip to content
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

rpc: Remove chain-specific RequireRPCPassword #6398

Merged

Conversation

laanwj
Copy link
Member

@laanwj laanwj commented Jul 8, 2015

I've never liked the chain-specific exception to having to set a password. Also it conflicts with #6388 which makes it generally valid to set no password (as it then enables random cookie authentication).

This pull removes the flag, so that all chains are regarded the same.
It also adapts the tests so that they no longer rely on the previous behavior.

@Diapolo
Copy link

Diapolo commented Jul 8, 2015

utACK

@jonasschnelli
Copy link
Contributor

jonasschnelli commented Jul 8, 2015

Tested above of #6388.

ACK.

@jgarzik
Copy link
Contributor

jgarzik commented Jul 8, 2015

ACK

@laanwj
Copy link
Member Author

laanwj commented Jul 9, 2015

Hmm, this username==password here is sub-optiomal

Yes. Thinking of it, it is kind of a lame check. Maybe better to just remove it.

@sipa
Copy link
Member

sipa commented Jul 9, 2015

ACK

I've never liked the chain-specific exception to having to set a
password. It gives issues with bitcoin#6388 which makes it valid to
set no password in every case (as it enables random cookie authentication).

This pull removes the flag, so that all chains are regarded the same.

It also removes the username==password test, which doesn't provide any
substantial extra security.
@laanwj laanwj force-pushed the 2015_07_remove_requirerpcpassword_flag branch from e4cc3bf to 85ee55b Compare Jul 10, 2015
@laanwj laanwj merged commit 85ee55b into bitcoin:master Jul 13, 2015
laanwj added a commit that referenced this pull request Jul 13, 2015
85ee55b rpc: Remove chain-specific RequireRPCPassword (Wladimir J. van der Laan)
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants