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
Radoslav Gerganov
955d4f76ef
Add support for hidg devices on Linux
...
There is a HID gadget driver on Linux which provides emulation of USB
HID devices. This could be very useful for testing the Solo firmware
without actual hardware, using only a Linux box.
This patch adds a command line argument which specifies whether the
existing UDP backing should be used or the new one which reads and
writes to /dev/hidg0.
Testing done:
1. Created HID device with configfs
2. Started "./main -b hidg" as root
3. Successfully executed Webauthn registration and authentication on
the same Linux machine
Closes : #122
2019-04-16 10:54:46 +03:00
Conor Patrick
74cbe00e3b
Enable debug logs for >0
2019-04-14 15:13:39 -04:00
Conor Patrick
7e490f17fc
delete
2019-04-13 22:42:16 -04:00
Conor Patrick
9bb706987f
solo ext bugfix
2019-04-13 22:42:05 -04:00
Conor Patrick
88a759566d
Improve testing
2019-04-13 22:37:47 -04:00
Conor Patrick
44fa3bbb8e
Add checks to use U2F key if necessary
2019-04-13 22:37:31 -04:00
Conor Patrick
89e9296825
Add test
2019-04-13 20:43:26 -04:00
Conor Patrick
873d65b823
Merge pull request #172 from StoyanDimitrov/patch-1
...
Improve readability of code filenames
2019-04-13 11:54:55 -04:00
StoyanDimitrov
eb8e3ed46a
Improve readability of code filenames
2019-04-13 15:31:35 +00:00
Conor Patrick
8b97276e32
Merge pull request #171 from solokeys/fix_cbor
...
Fix cbor
2019-04-12 12:04:01 -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
7068be9cd5
reorder options
2019-04-10 13:13: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
5fc8d214fd
remove add_user param
2019-04-10 12:47:23 -04:00
Conor Patrick
5f49f4680e
re-order items in get_assertion response
2019-04-10 12:22:35 -04:00
Conor Patrick
86393c46b4
Test it is correct
2019-04-10 12:11:43 -04:00
Conor Patrick
4cc72bcd97
rearrange cbor encoding order in make_credential and get_info
2019-04-10 12:11:31 -04:00
Nicolas Stalder
5e0edf3e11
Update index.md
2019-04-06 21:45:51 +02:00
Nicolas Stalder
bd810fff87
Merge pull request #165 from ehershey/patch-3
...
More docs fixups
2019-04-06 21:41:19 +02:00
Nicolas Stalder
d9fb508949
Merge pull request #166 from ehershey/patch-2
...
include markdown-include mkdocs dependency
2019-04-06 21:40:13 +02:00
Ernie Hershey
c2b7acb6aa
include markdown-include mkdocs dependency
2019-04-06 15:29:16 -04:00
Ernie Hershey
4690a7ce65
More docs fixups
2019-04-06 13:50:51 -04:00
Conor Patrick
61f24d142d
Merge pull request #163 from ehershey/patch-1
...
link to readme and reference TC in docs start page
2019-04-06 13:41:54 -04:00
Conor Patrick
f5c6f99423
Merge pull request #164 from ehershey/patch-2
...
Docs fixups
2019-04-06 13:40:51 -04:00
Ernie Hershey
96de4f0850
Docs fixups
...
Spelling, grammar
2019-04-06 13:28:16 -04:00
Ernie Hershey
331ebdfccf
link to readme and reference TC in docs start page
2019-04-06 13:20:10 -04:00
Nicolas Stalder
a6a6d653ad
Update README.md
2019-04-06 14:49:44 +02:00
Nicolas Stalder
928bc0216d
Merge pull request #161 from solokeys/bump_2.1.0
...
bump to 2.1.0
2019-04-02 01:31:48 +02:00
Conor Patrick
6d52c9ede7
bump to 2.1.0
2019-03-31 23:49:29 -04:00
Conor Patrick
89769ecc18
fix u2f counter for real
2.1.0
2019-03-31 23:29:00 -04:00
Conor Patrick
3b3f47bfcf
Merge pull request #155 from solokeys/pin_lockout_ga
...
Pin lockout ga
2019-03-29 17:11:48 -04:00
Conor Patrick
6fa443b0bc
tests for GA without pin
2019-03-26 19:00:42 -04:00
Conor Patrick
893d4131b2
change how pin is enforced for GA
2019-03-26 19:00:12 -04:00
Conor Patrick
4e21c0bd8f
Merge pull request #152 from solokeys/testing_yubikey
...
Testing yubikey
2019-03-26 18:33:03 -04:00
Conor Patrick
251eb6bf64
Merge branch 'master' into testing_yubikey
2019-03-26 16:36:08 -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
54a6a82ca0
Merge pull request #153 from solokeys/rng-fix
...
Fix buffer overrun and use correct size for random u32
2019-03-26 15:37:51 -04:00
Nicolas Stalder
40b9dae38a
Fix buffer overrun and use correct size for random u32
2019-03-26 01:55:42 +01:00
Nicolas Stalder
98a209e330
make target to flash firmware via bootloader
2019-03-23 13:54:04 +01:00
Nicolas Stalder
d3b5fb68ee
Build debug 1/2 versions of hacker firmware and bundle
2019-03-23 13:52:47 +01:00
Conor Patrick
74a1f0e21b
Merge pull request #143 from solokeys/paranoid-modemmanager
...
Do not signal "AT modem" for ACM-CDC serial
2019-03-23 01:48:18 -04:00
Nicolas Stalder
e21172fff8
Merge pull request #149 from solokeys/hmac-secret
...
Hmac-secret
2019-03-22 22:05:41 +01:00
Nicolas Stalder
9d3144e9b1
oops. black
2019-03-22 21:56:18 +01:00