Skip to content

Instantly share code, notes, and snippets.

@jacqueswww
Forked from rkennesson/hyperfido.txt
Created October 5, 2017 08:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jacqueswww/e443a6150bfa831671f324bc0ec3cb60 to your computer and use it in GitHub Desktop.
Save jacqueswww/e443a6150bfa831671f324bc0ec3cb60 to your computer and use it in GitHub Desktop.
Hyperfido instructions
HyperFido - FIDO U2F Security Key
By Jonathan Williams
https://www.amazon.com/review/R1MX4254RVC97T/ref=cm_cr_dp_cmt?ie=UTF8&ASIN=B00WIX4JMC&channel=detail-glance&nodeID=541966&store=pc#wasThisHelpful
This HyperFIDO U2F key is small enough to keep in your pocket or purse at all times and never worry about it. It worked great after getting a fast reply from HyperSECU support about the linux udev rules needed (I don't use windows). I had it set up very quickly with Google services and it worked flawlessly. Hopefully, more services will support U2F in the future.
If you are wondering, here are the udev rules their awesome support recommended. I created a file /etc/udev/rules.d/96-hyperfido.rules and used the first example below because thankfully, I do not have to deal with systemd. If you are unfortunate enough to have to use systemd, please use the second example.
Example 1
------------------------------------------------------------------------------------------------
# for using HyperFIDO U2F key
# udev rule for non-systemd systems
SUBSYSTEMS=="usb", ATTRS{idVendor}=="096e|2ccf", ATTRS{idProduct}=="0880", MODE="0660", GROUP="plugdev"
------------------------------------------------------------------------------------------------
Example 2
------------------------------------------------------------------------------------------------
# udev rule for systemd system
# for using HyperFIDO U2F key
ACTION!="add|change", GOTO="u2f_end"
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="096e|2ccf", ATTRS{idProduct}=="0880", TAG+="uaccess"
LABEL="u2f_end"
-------------------------------------------------------------------------------------------------
I am not sure if it would hold up to the abuse of a car keyring due to the plastic construction but for my needs it will last a very long time riding in my pocket!
My rating: * * * * *
UPDATE 12/16 : I added the latest vendor ID for HyperSECU (2ccf) to the rule set.
- ATTRS{idVendor}=="096e"
+ ATTRS{idVendor}=="096e|2ccf"
Help other customers find the most helpful reviews
Was this review helpful to you? Yes No
Report abuse | Permalink
Comments
Allan says:
I had no luck with that solution on Ubuntu xenial (16.04), instead this blog https://www.thoughtsumo.com/2016/09/06/hyperfido-security-key-linux/ led me to a more general rules file at https://raw.githubusercontent.com/Yubico/libu2f-host/master/70-u2f.rules which surprisingly was written by Yubico. After that I typed sudo udevadm control --reload then restarted Chrome and I was good to go.
Jonathan Williams says:
Congratulations on getting it going! I looked at the rule set you referred to and found that the HyperFIDO must have began using a second vendor ID for their U2F keys. At the time I began using my FIDO U2F the only vendor ID recommended by HyperSECU was "096e" and now I see they use [ ATTRS{idVendor}=="096e|2ccf" ] so that explains why your product probably did not work with the code I posted. By the way, the Yubico rules include quite a few vendors in their udev rules.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment