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

restoring tab does not prompt for authentication #308

Closed
totaam opened this issue May 28, 2024 · 1 comment
Closed

restoring tab does not prompt for authentication #308

totaam opened this issue May 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@totaam
Copy link
Collaborator

totaam commented May 28, 2024

xpra start --bind-tcp=0.0.0.0:10000,auth=sys --no-daemon  --start=xterm :6

Connecting with Google Chrome:

sending hello
using new navigator.clipboard
clipboard polling:  true
no clipboard write support: no images, navigator.clipboard= Clipboard {}
sending hello capabilities {version: '13', client_type: 'HTML5', display: '', build: {…}, platform: {…}, …}
process challenge: xor

Then I enter my password and authentication proceeds:

challenge using salt digest hmac+sha512
hmac using hash sha512
challenge using digest xor
sending hello

If I close the tab then open a new one going to the same address, the password dialog pops up again.
But if I restore the tab, then chrome does something else and the password prompt does not show up.
Eventually the connection fails and the connect page shows up, connecting from there does show the password prompt again.

I can make it easier to debug by hitting reload whilst the password dialog is showing.
This seems to trigger the same problem, without closing the javascript console.

@totaam
Copy link
Collaborator Author

totaam commented May 28, 2024

The clue was here in the console:
using password = [object HTMLInputElement] from parameters

Fixed in 6209443

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant