Xpra-org / xpra

Persistent remote applications for X11; screen sharing for X11, MacOS and MSWindows.
https://xpra.org/
GNU General Public License v2.0
1.95k stars 169 forks source link

Forwarding U2F USB key #3019

Open daniele2010 opened 3 years ago

daniele2010 commented 3 years ago

Hi,

I'm using xpra to attach to remote applications on a remote machine via ssh. Is it possible to authenticate with a (local) U2F on a (remote) web browser? (e.g. two factor authentication in Google, obviously in Google I can choose other options, but in my specific use case it is not possible)

Thank you

totaam commented 3 years ago

So, you want the xpra server to expose a U2F device that actually resides on the client? The "web browser" in this case is just an example of an application you would use with this U2F device forwarding, right?

This should not be too hard to implement, there is some example code here: https://github.com/danstiner/rust-u2f

But I don't really have time to spend on this ATM, I could do the merging part if someone provides me with a lib or python bindings that I can call into to create and interact with the virtual U2F device.

daniele2010 commented 3 years ago

Actually I hoped I was missing some configs and it was already possible by binding USB, thank you for your answer, I'll look forward to a solution.