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

Win10 RDP VirtualChannel #271

Open
micolous opened this issue Feb 3, 2023 · 0 comments
Open

Win10 RDP VirtualChannel #271

micolous opened this issue Feb 3, 2023 · 0 comments
Labels
enhancement New feature or request win10 Issues related to Windows WebAuthn API

Comments

@micolous
Copy link
Collaborator

micolous commented Feb 3, 2023

Windows 10's normal WebAuthn API is limited, and has some interesting extra functionality which is not (well?) documented.

There's a public spec for using WebAuthn over RDP, this appears to somewhat map to the regular WebAuthn API; but has some bonus features like being able to pass in a client_data_hash rather than client_data_json.

webauthn.dll exports VirtualChannelGetInstance(), which is an IWTSPlugin COM interface for Microsoft Remote Desktop Client. It's possible for other applications to use this same interface and stuff in commands like RDP would; and I currently have a Rust application which implements the needed COM interfaces.

The actual protocol is mostly CBOR, so aside from the COM shenanigans, it's actually a lot cleaner to work with from Rust than the FFI with C structs.

I'm not sure I'd make this one of the default APIs... but it is certainly tempting.

@micolous micolous added win10 Issues related to Windows WebAuthn API bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request win10 Issues related to Windows WebAuthn API
Projects
None yet
Development

No branches or pull requests

1 participant