rpwoodbu / mosh-chrome

Mosh for Chrome
GNU General Public License v3.0
372 stars 59 forks source link

Add support for gnubbyd extension on non-ChromeOS devices. #194

Open wffurr opened 6 years ago

wffurr commented 6 years ago

Non-ChromeOS devices are now using the gnubbyd extension to communicate with smart cards instead of the Chrome app.

This doesn't work for supporting yubikeys in the standalone NW.js Windows app, but it at least re-enables the Chrome app while that continues working.

vapier commented 6 years ago

you can have any of these installed on any OS, including dev versions. in secure shell I do a dynamic probe of all of them and go with the first to respond.

but maybe just assuming the stable versions and requiring apps on CrOS and extensions everywhere else is good enough ...

wffurr commented 6 years ago

I could take another look at nassh_google_relay.js and bring over the detection logic. This might be sufficient to take mosh-chrome through to the Chrome app removal.

Then I'll need to look at the NW.js app and see how to communicate with the native ssh-agent.

vapier commented 6 years ago

the logic lives entirely in the nassh.GoogleRelay.findGnubbyExtension helper that runs during app startup.