-
Notifications
You must be signed in to change notification settings - Fork 122
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
Authentication fails on onion API #239
Comments
If I simply browse to this URL in a GUI browser, I get a 404: https://protonmailrmez3lotccipshtkleegetolb73fuirgj7r4o4vfu7ozyd.onion/api So that URL is suspect. Consequently I also tried removing the trailing “ (edit) I am told that the standard non-forked version of hydroxide does not support a session ID argument. OTOH, it still makes no difference if the session ID is removed in the cases tested; same behavior. |
You have to use https://mail.protonmailrmez3lotccipshtkleegetolb73fuirgj7r4o4vfu7ozyd.onion/api since the clearnet API URL is mail.proton.me/api. |
To authenticate with the onion site, I took the most meticulous steps as follows:
protonmail.go
line 122 to reflect the user agent from the previous step.GO111MODULE=on go build ./cmd/hydroxide
)Two different syntaxes were attempted.
Torsocks approach:
result:
Proxy variable approach:
result:
version: latest clone as of today.
Did I overlook anything to more closely mirror a non-hydroxide session? User agent and cookie is all I know to account for.
Footnotes:
onion_url=https://protonmailrmez3lotccipshtkleegetolb73fuirgj7r4o4vfu7ozyd.onion
The text was updated successfully, but these errors were encountered: