Skip to content

Conversation

@laanwj
Copy link
Member

@laanwj laanwj commented Mar 17, 2016

Change authentication order to make it more clear, and make it possible to use password authentication even though the Tor instance supports cookie auth (see #7700).

Before:

  • If Tor is configured to allow cookie authentication, always try cookie authentication first. If cookie authentication fails, stop trying.
  • Only if cookie authentication is not supported try password authentication with value of -torpassword (if provided)

After:

  • If the -torpassword option is provided, force use of password auth.
  • Give error message if -torpassword provided, but password auth is not available.
  • Give error message if only password auth available, but -torpassword not given.

@laanwj laanwj added the P2P label Mar 17, 2016
@laanwj laanwj changed the title tor: Change auth order to only use HASHEDPASSWORD if -torpassword tor: Change auth order to only use password auth if -torpassword Mar 17, 2016
@laanwj laanwj added the Privacy label Mar 31, 2016
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems a bit misleading: couldn't there be supported authentication mechanism left which we don't support? Suggestion: "Only supported remaining authenthentication mechanism left is password, but ..."

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, will change the message

@sipa
Copy link
Member

sipa commented May 17, 2016

Concept ACK

1 similar comment
@gmaxwell
Copy link
Contributor

Concept ACK

Change authentication order to make it more clear (see bitcoin#7700).

- If the `-torpassword` option is provided, force use of
  `HASHEDPASSWORD` auth.

- Give error message if `-torpassword` provided, but
  `HASHEDPASSWORD` auth is not available.

- Give error message if only `HASHEDPASSWORD` available, but
  `-torpassword` not given.
@laanwj laanwj force-pushed the 2016_03_auth_order branch from 8f5dcbc to 2e49448 Compare June 6, 2016 08:39
@sipa
Copy link
Member

sipa commented Jun 6, 2016

utACK 2e49448

@laanwj laanwj merged commit 2e49448 into bitcoin:master Jun 8, 2016
laanwj added a commit that referenced this pull request Jun 8, 2016
…password

2e49448 tor: Change auth order to only use HASHEDPASSWORD if -torpassword (Wladimir J. van der Laan)
@laanwj laanwj added this to the 0.12.2 milestone Sep 26, 2016
codablock pushed a commit to codablock/dash that referenced this pull request Dec 22, 2017
…if -torpassword

2e49448 tor: Change auth order to only use HASHEDPASSWORD if -torpassword (Wladimir J. van der Laan)
andvgal pushed a commit to energicryptocurrency/gen2-energi that referenced this pull request Jan 6, 2019
…if -torpassword

2e49448 tor: Change auth order to only use HASHEDPASSWORD if -torpassword (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.

4 participants