freeu2f / freeu2f-android

Server-side component to authorize U2F-over-bluetooth
Apache License 2.0
8 stars 3 forks source link

Get the basic BTLE service up and running #1

Closed npmccallum closed 7 years ago

npmccallum commented 7 years ago

This commit adds the basic framework for offering the U2F Bluetooth service. Basically it adds the service and characteristics. It can also reply correctly to reads of u2fControlPointLength and u2fServiceRevisionBitfield. Everything else is unimplemented.

The good news is that u2ftest can recognize the phone with this code installed as if it were a U2F token. Next step: fill in the stubs with actual protocol responses.

joekir commented 7 years ago

Merged in with a few modifications.

npmccallum commented 7 years ago

We still ended up with extra merge commits. Did you do a "rebase and merge" or a --ff-only merge?