117 Commits

Author SHA1 Message Date
Conor Patrick
494e856198
Merge pull request #131 from rgerganov/hidg
Add support for hidg devices on Linux
2019-04-23 20:22:33 -04:00
Conor Patrick
56d6624e4e Test correct alg parameter #179 2019-04-22 16:26:26 -04:00
Conor Patrick
3094c87b0a Test empty pinAuth in MC and GA #179 2019-04-22 16:25:08 -04:00
Nicolas Stalder
6a288243c1 Add Makefile for installing a HID gadget
The Makefile has targets for building, installing and uninstalling a HID
gadget which acts as FIDO2 authenticator.

Tested on Ubuntu 18.04 but should work on other distros as well. The
only assumption being made is that kernel source is available at
/usr/src/linux-source-$(KERNEL_VERSION).tar.bz2. A possible improvement
would be to have a configure script which finds the correct kernel
source archive.
2019-04-16 10:54:49 +03:00
Conor Patrick
7e490f17fc delete 2019-04-13 22:42:16 -04:00
Conor Patrick
88a759566d Improve testing 2019-04-13 22:37:47 -04:00
Conor Patrick
89e9296825 Add test 2019-04-13 20:43:26 -04:00
Conor Patrick
78579c27dc Refactor and self test the CBOR sorting 2019-04-11 13:42:17 -04:00
Conor Patrick
ca80329b4c Compare string length and sort from start of string 2019-04-11 13:22:55 -04:00
Conor Patrick
7a49169492 consider major type and refactor 2019-04-11 00:04:33 -04:00
Conor Patrick
46dd4fe818 unused import 2019-04-10 13:56:23 -04:00
Conor Patrick
c71bbd8689 re-enable all tests 2019-04-10 13:42:38 -04:00
Conor Patrick
f8635f1682 refactor tests 2019-04-10 13:12:33 -04:00
Conor Patrick
ffa9ad4923 refactor cbor sorting test 2019-04-10 12:47:39 -04:00
Conor Patrick
86393c46b4 Test it is correct 2019-04-10 12:11:43 -04:00
Conor Patrick
6fa443b0bc tests for GA without pin 2019-03-26 19:00:42 -04:00
Conor Patrick
08e236df69 fix code quality issues x/2 2019-03-26 16:14:28 -04:00
Conor Patrick
d2091563ab fix code quality issues 2019-03-26 16:09:30 -04:00
Conor Patrick
d979420324 u2f work with yubikey5 2019-03-22 01:59:19 -04:00
Conor Patrick
5076af1be4 works with yubikey5 2019-03-22 01:22:55 -04:00
Conor Patrick
0a7845459c breakup test_fido2 2019-03-22 00:45:28 -04:00
Conor Patrick
c4262b0f5b rename 2019-03-22 00:20:48 -04:00
Conor Patrick
53fb0059a7 break into separate files 2019-03-22 00:20:20 -04:00
Conor Patrick
a1a75e4ab5 check errors 2019-03-21 12:47:15 -04:00
Conor Patrick
02e83073e0 add hmac-secret to reg response 2019-03-20 23:58:42 -04:00
Conor Patrick
3a48756f96 remove extra layer of map 2019-03-20 23:40:58 -04:00
Conor Patrick
dbe5283e1f test solo commands on fido2 layer 2019-03-20 21:06:18 -04:00
Conor Patrick
2d233f164e small bug fixes 2019-03-20 21:03:03 -04:00
Conor Patrick
e22e636475 hmac-secret tested 2019-03-20 20:03:25 -04:00
Conor Patrick
850381a633 test parsing 2019-03-20 16:52:10 -04:00
Conor Patrick
6098810167 start to test hmac-secret 2019-03-20 15:45:35 -04:00
Conor Patrick
6ec9fb962a delay send_raw in test 2019-03-20 14:59:31 -04:00
Conor Patrick
c9bfe001ee refactored version, previously lost 2019-03-20 14:56:52 -04:00
Conor Patrick
9544330dc3 delay send_raw in test 2019-03-18 04:36:02 +01:00
Conor Patrick
0964ff69b7 refactor a bit 2019-03-18 04:36:02 +01:00
Conor Patrick
084e518018 refactor 2019-03-06 17:43:28 -05:00
Conor Patrick
6674f0a8ff add more tests 2019-03-06 16:17:12 -05:00
Conor Patrick
f704851419 add bootloader tests 2019-03-06 14:23:56 -05:00
Conor Patrick
0d5e1ee872 Test solo specific commands 2019-03-06 14:06:07 -05:00
Conor Patrick
b0b0564df9 fix imports 2019-03-06 13:13:43 -05:00
Conor Patrick
195dc2a8ae use 0x7f as upper counter byte 2019-03-04 02:36:47 -05:00
Conor Patrick
63a93f6ec2 test pin lock out 2019-03-03 19:01:08 -05:00
Conor Patrick
7b8ec18e76 add reboot capability for tests 2019-03-03 18:43:14 -05:00
Conor Patrick
67faef0117 tests for client pin 2019-03-03 17:17:04 -05:00
Conor Patrick
880d54a4f0 more fido2 tests 2019-03-03 03:43:15 -05:00
Conor Patrick
e883c5aa6e add many fido2 tests 2019-03-02 22:40:51 -05:00
Conor Patrick
6c96521c7d slight cleanup 2019-03-02 00:55:46 -05:00
Conor Patrick
e31e703afd minor improvements 2019-03-01 23:42:22 -05:00
Conor Patrick
3a8be9eef7 add more u2f tests 2019-03-01 23:16:48 -05:00
Conor Patrick
e2b30ec087 basic interface 2019-03-01 22:35:50 -05:00