conorpp / u2f-zero

U2F USB token optimized for physical security, affordability, and style
Other
2.41k stars 202 forks source link

Stuck at "configuring..." when creating the u2f-firmware.hex #20

Closed land0ngreer closed 8 years ago

land0ngreer commented 8 years ago

Not sure what I am missing. I could be missing a bunch but just following directions, unsure what in the world I am missing. Any help would be greatly appreciated! :)

_Getting Private key dickbutt@dickbutmachine:~/Downloads/u2f-zero-master/tools/gencert/ca$ cd ../.. dickbutt@dickbutmachine:~/Downloads/u2f-zero-master/tools$ ./setupdevice.sh gencert/ca/key.pem configuring...

conorpp commented 8 years ago

The script is stuck running this loop

while [[ "$?" -ne "0" ]] ; do
    sleep .2
    client.py configure pubkey.hex >/dev/null
done

Can you run ./u2f_zero_client/client.py configure pubkey.hex and report what the output is?

Thanks

land0ngreer commented 8 years ago

python hidapi module is required try running: apt-get install libusb-1.0-0-dev libudev-dev pip install hidapi

After installing the above, all is set. Thank you for the quick reply!