Wykres commitów

25 Commity (494e856198f1cf48e6f88c780c451e5118b74e41)

Autor SHA1 Wiadomość Data
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 5cb81c753d Add version/extensions to PC build 2019-03-06 14:05:44 -05:00
Conor Patrick 7b8ec18e76 add reboot capability for tests 2019-03-03 18:43:14 -05:00
Conor Patrick 0b9f0af3c7 spin pc less 2019-03-03 17:15:26 -05:00
Conor Patrick e31e703afd minor improvements 2019-03-01 23:42:22 -05:00
Conor Patrick 495e10f3a1 add basic rk support for pc 2019-03-01 22:28:25 -05:00
Conor Patrick 11ca6bd517 fix pc testing 2019-03-01 22:11:36 -05:00
Conor Patrick 1ed7833c9f fix pc build 2019-02-26 15:08:09 -05:00
yparitcher 1dd835d698
add -Wextra: further code cleanup
please fix Wno-unused-parameter -Wno-missing-field-initializers in the future
2019-02-12 18:22:03 -05:00
Conor Patrick ed676151f1 update license to apache2 + mit 2019-02-12 17:18:17 -05:00
Szczepan Zalega ca27b26c6b
Avoid 2nd start of the simulation server
udp_server() is being called second time during the simulated run, which
fails due to trying to claim already used port. This patch adds cache to
the udp_server() result.

Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
2019-01-07 18:47:01 +01:00
Emanuele Cesena bbc61d5743 New README and license 2018-12-16 16:19:40 -08:00
Conor Patrick 5dd3355bd8 add wink command 2018-12-08 20:37:30 -05:00
Conor Patrick 15a1fb1e5b fix pc build 2018-12-06 23:48:46 -05:00
Conor Patrick eb4a29edc6 update pc build 2018-11-23 11:51:11 -05:00
Conor Patrick 215f53551e
Merge branch 'master' into error 2018-11-04 17:15:04 -05:00
Conor Patrick 705ee28860 initial fido2 port 2018-10-25 21:25:49 -04:00
Emanuele Cesena f9757c0a08 Add -Wall -Werror and catch sigint (pc only) 2018-10-24 22:37:27 -07:00
Conor Patrick 2439c4f176 pass ctap tests on PC 2018-09-04 22:11:21 -04:00
Conor Patrick b2635c8d64 default to no wallet 2018-09-03 00:47:30 -04:00
Conor Patrick 5eff2a104d add flash support to efm32 port 2018-07-13 21:34:15 -04:00
Conor Patrick 6e7be67491 port to device, working 2018-07-13 20:29:14 -04:00
Conor Patrick eaa7e15499 all core functionality *works* 2018-07-11 21:55:20 -04:00
Conor Patrick 689f0bd5f1 support pc development with JS http bridge 2018-07-09 23:50:21 -04:00
Conor Patrick fb9a592d50 move things around and add efm8 and efm32 builds 2018-06-27 21:39:19 -04:00