Get OTP from USB YubiKey

100 Views Asked by At

I want to get OTP from a configured yubikey

I have access to the UsbSession and UsbDevice and UsbManager But I'm not sure what to do to get the OTP

Do you have suggestions?

1

There are 1 best solutions below

0
On BEST ANSWER

As it turns out, in order for the yubikey to get data from usb, you need to have a hidden edittext on the screen to get the input event from the yubikey.