GUACAMOLE-2281: Add WebAuthn passthrough relay over auth-challenge.#1218
Open
aleitner wants to merge 1 commit into
Open
GUACAMOLE-2281: Add WebAuthn passthrough relay over auth-challenge.#1218aleitner wants to merge 1 commit into
aleitner wants to merge 1 commit into
Conversation
eugen-keeper
suggested changes
Jun 2, 2026
30fa8e1 to
7d9d4ca
Compare
eugen-keeper
approved these changes
Jun 4, 2026
bbennett-ks
reviewed
Jun 8, 2026
bbennett-ks
left a comment
Contributor
There was a problem hiding this comment.
Noticed this reviewing the server side.
bbennett-ks
suggested changes
Jun 8, 2026
26d3fdf to
bf1a524
Compare
5b8e72c to
d40302f
Compare
Adds a WebAuthn passthrough relay that runs ceremonies on the user's local authenticator on behalf of a remote session. The server opens an inbound auth-challenge stream carrying the ceremony request body; the relay runs the WebAuthn ceremony and replies on an outbound auth-response stream. Updates to guacamole-common-js (Client.js): - sendAuthChallenge and sendAuthResponse methods returning a Guacamole.OutputStream the caller writes the body to. - onauthchallenge and onauthresponse events firing with (stream, mimetype, challengeId) for inbound streams. - Matching auth-challenge and auth-response instruction handlers. Updates to the Angular client: - ManagedClient routes inbound auth-challenge streams to ManagedWebAuthn based on mimetype (application/x-webauthn-create+json or application/x-webauthn-get+json), acking unsupported mimetypes. - ManagedWebAuthn assembles the challenge body off the stream, runs the ceremony via the existing webAuthnService under an AbortController keyed by challenge_id, and writes the credential or error JSON back on an auth-response stream. - On tunnel CLOSED, abortAll dismisses the local authenticator UI for any ceremonies left in flight.
d40302f to
d8de0f6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a WebAuthn passthrough relay that runs ceremonies on the user's local authenticator on behalf of a remote session. The server opens an inbound auth-challenge stream carrying the ceremony request body; the relay runs the WebAuthn ceremony and replies on an outbound auth-response stream.
guacamole-common-js (Client.js)
sendAuthChallenge and sendAuthResponse returning a Guacamole.OutputStream the caller writes the body to.
onauthchallenge and onauthresponse events firing with (stream, mimetype, challengeId).
Matching auth-challenge and auth-response instruction handlers.
Angular client
ManagedClient routes inbound auth-challenge streams to ManagedWebAuthn based on mimetype (application/x-webauthn-create+json or application/x-webauthn-get+json), acking unsupported mimetypes.
ManagedWebAuthn assembles the challenge body off the stream, runs the ceremony via the existing webAuthnService under an AbortController keyed by challenge_id, and writes the credential or error JSON back on an auth-response stream.
On tunnel CLOSED, abortAll dismisses the local authenticator UI for any ceremonies left in flight.
Guacamole Server PR