python-bitcoinrpc icon indicating copy to clipboard operation
python-bitcoinrpc copied to clipboard

Allow authentication with empty password and also no authentication at all

Open devurandom opened this issue 11 years ago • 5 comments

devurandom avatar Apr 25 '13 10:04 devurandom

Does not seem to allow authentication with empty username (only password). Line 71 " if self.__url.username is not None: " should check that both username and password is None.

But other than this it looks good to me. And also includes the Basic auth encoding fix in Pull #11.

hno avatar Aug 21 '13 18:08 hno

Does not seem to allow authentication with empty username (only password). Line 71 " if self.__url.username is not None: " should check that both username and password is None.

Is that actually possible/allowed and used anywhere? Authenticating with just a password?

devurandom avatar Aug 25 '13 18:08 devurandom

Yes, I personally have used username-less (just a password) authenticated JSON-RPC.

luke-jr avatar Apr 03 '15 05:04 luke-jr

@luke-jr looks like you need to fix some conflicts

reiven avatar Apr 08 '15 14:04 reiven

This isn't my PR.

luke-jr avatar Apr 08 '15 19:04 luke-jr