Wykres commitów

43 Commity (master)

Autor SHA1 Wiadomość Data
Tom Thorogood c1540afe77 Fix compilation warnings
Ths call to nanosleep was missing it's header and the length
calculation in parse_cred_mgmt_subcommandparams could be wrong when
compiled for 64-bit targets. Both of these showed up as compiler
warnings.
2021-03-22 20:00:42 -07:00
Conor Patrick d677f8c346 add rk delete implementations 2020-03-25 14:57:39 -04:00
Conor Patrick 6cb15a6482 small fixes 2019-11-22 19:02:52 -05:00
Conor Patrick 85ddc40036 add weak definitions for nonvolatila functions 2019-11-22 19:02:52 -05:00
Conor Patrick 1d63154699 move sense of "backup" from ctap to device layer 2019-11-22 19:02:52 -05:00
Conor Patrick 3b4b6dd4fe remove solo functions from device.h 2019-11-22 19:02:52 -05:00
Conor Patrick dcd256faf4 add initial weak definitions 2019-11-22 19:02:52 -05:00
Conor Patrick 0fbc28fbc1 fix pc build 2019-10-08 16:10:29 -04:00
Conor Patrick bb2929b28f change ctap_atomic_count to increase by user-specified amount 2019-10-08 13:42:37 -04:00
Conor Patrick c61f15a090 allow get_assertion with disabled UP 2019-09-17 00:13:57 +08:00
Conor Patrick a9bbdee35b
Merge branch 'master' into remove-pin-storage 2019-09-02 21:45:21 +08:00
merlokk c972a13034 fix reboot 2019-08-22 20:55:25 +08:00
Conor Patrick dccfb0d1b3 stub pc build 2019-08-21 12:06:06 +08:00
Szczepan Zalega ee351421cb
Add missing definition for the simulation to run 2019-08-20 11:34:42 +02:00
Conor Patrick 36876e1528 fix build 2019-05-10 15:57:57 -04:00
Conor Patrick e105afd647 fix build 2019-05-09 17:51:41 -04:00
Conor Patrick 55aadfd78e add delay implementation 2019-04-24 11:45:41 -04:00
Conor Patrick 8fc0da7934 move args to device_init 2019-04-23 21:12:40 -04: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 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