Trojan295 / android-webauthn-token

A FIDO2 WebAuthn BLE Android phone token
Apache License 2.0
47 stars 15 forks source link

No Response of GET_INFO Command #2

Open GitPointer opened 5 years ago

GitPointer commented 5 years ago

I tried to use it but i am getting stuck in middle. here are the steps i followed:

  1. For demo I am using https://webauthn.io on Mac Chrome version-75.0.3770.90
  2. Somehow i was able to do the pairing and my mobile device was displaying as Authenticator in this demo.
  3. When i clicked on my device for selection it call the onCharacteristicsWrite for GET_INFO command but after this there is no communication happened between FIDO Client and Authenticator.

Are you aware of this problem? please suggest how to run your demo app with https://webauthn.io

Attached Device log...... device_log.log

Trojan295 commented 5 years ago

@GitPointer From the logs I see on the Android device the authenticatorGetInfo and authenticatorMakeCredential requests, which means proabably the client received the response for getInfo. Unfortunately, I don't log anything about the response, so I don't really know, if and what response was send.

For each key signing (registration or login) you need to authenticate youself in the Android device using a fingerprint scanner (a popup for that should appear). I don't really know, what happens, if the device does not have such, cause I didn't test it on such one. Does your phone have that? Was there a prompt for scanning your fingerprint?

GitPointer commented 5 years ago

@Trojan295

For each key signing (registration or login) you need to authenticate youself in the Android device using a fingerprint scanner (a popup for that should appear). I don't really know, what happens, if the device does not have such, cause I didn't test it on such one. Does your phone have that? Was there a prompt for scanning your fingerprint?

My device support fingerprint scanner and i am not getting any prompt for scanning of fingerprint. What i think.. when i am running this application in debug i am getting call in onCharacteristicsWrite for GET_INFO command but after sending response to authenticator there is no call on onCharacteristicsWrite for MAKE_CREDENTIALS or GET_ASSERTION means there is something wrong in GET_INFO command?

Trojan295 commented 5 years ago

@GitPointer, there is the call for MAKE_CREDENTIALS in line 53 in your logs. In line 50 you have the GET_INFO request. From the point of view of the BLE interface it looks fine, cause the payloads are arriving at the smartphone, so I think it's not a problem with the CTAP part, but something with the key pair creation/biometric auth on the phone. I have only one device (OnePlus 5T) and it works there, and I'm not able to reproduce it.

It would be great, if we could setup some debugging session. Mail me at trojan295@gmail.com, if you are willing to.

GitPointer commented 5 years ago

@GitPointer, there is the call for MAKE_CREDENTIALS in line 53 in your logs. In line 50 you have the GET_INFO request. From the point of view of the BLE interface it looks fine, cause the payloads are arriving at the smartphone, so I think it's not a problem with the CTAP part, but something with the key pair creation/biometric auth on the phone. I have only one device (OnePlus 5T) and it works there, and I'm not able to reproduce it.

It would be great, if we could setup some debugging session. Mail me at trojan295@gmail.com, if you are willing to.

Thanks for the explanation..Let me check with some other devices...