hwsecurity-sdk / termbot

SSH client that works with YubiKeys, Nitrokeys, and other OpenPGP cards (based on the Hardware Security SDK)
https://hwsecurity.dev/termbot/
Other
84 stars 9 forks source link

Not working with Yubikey 4 Nano (USB-C) through USB-OTG #6

Closed Tycho-S closed 5 years ago

Tycho-S commented 5 years ago

Bug description

On my Samsung Galaxy Tab S (without NFC) I often use a Yubikey 4 Nano with an OTG adapter to Micro-USB (as the Tab S doesn't have USB-C either :) ). With the new Termbot this no longer works, I can add it under pubkeys just fine, but when I try to authenticate it doesn't light up after entering the PIN.

Steps to reproduce

  1. Go to a Server
  2. Click on Connect
  3. Enter PIN
  4. Wait for device to flash (I have touch to sign enabled)

Expected behavior

Device should flash, I would tap it and it signs in.

Please note this does work fine with the old version (with OpenKeyChain). So I think it's a bug in the new library.

I already tried disconnecting/connecting the device, and tapping it of course.

Screenshots

I don't really have any as there is no error message, it just waits on the prompt to connect the smart card. But I can make some if you like.

Android device

Let me know if you need any logs or anything!

dschuermann commented 5 years ago

I just released a new version on Google Play (Version 1.9.5-termbot3). Can you please try this one and report if this fixes your issue?

Tycho-S commented 5 years ago

I tested this weekend and it works indeed! Thanks very much for the quick fix!