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

The login to the bundled server immediately expires. #5

Closed
joshuabenuck opened this issue Apr 28, 2019 · 1 comment
Closed

The login to the bundled server immediately expires. #5

joshuabenuck opened this issue Apr 28, 2019 · 1 comment

Comments

@joshuabenuck
Copy link
Owner

If you login to the local bundled wiki, the lock will unlock, but the moment you try to do anything that requires being authenticated, the server rejects it.

It isn't the electron viewer as this happens even when hitting the bundled server from a web browser. I've also confirmed that the electron viewer can authenticate against remote servers without an issue.

@joshuabenuck
Copy link
Owner Author

Turns out that the login never succeeded. In client-sessions:updateCookie, an unknown cipher error was being thrown. client-sessions ate the exception so there was no way to see it had failed.

The unknown cipher error is caused by the fact that Electron 4 doesn't support aes256 due to a switch from OpenSSL to BoringSSL. The fix is to override requests for that algorithm to instead use aes-256-ctr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant