Wykres commitów

872 Commity (dc94e73c62deb3d0098938b7f4d8e322b3546669)

Autor SHA1 Wiadomość Data
Conor Patrick e402d36bf1 fix user presence skipping for nfc 2019-05-09 17:26:28 -04:00
Conor Patrick 54792b345c status fix 2019-05-09 16:07:05 -04:00
Conor Patrick 84740f3d6a changes to make firmware interop on all hw models 2019-05-09 16:01:07 -04:00
Conor Patrick 4ac61f7f18 slight cleanup 2019-05-09 14:53:22 -04:00
Conor Patrick 30cfa46186 fix gpio pin reading 2019-05-09 14:17:50 -04:00
Conor Patrick aca28fde61 add to bootloader 2019-05-09 02:44:17 -04:00
Conor Patrick 60e3d01e0d refactor 2019-05-09 02:44:04 -04:00
Conor Patrick aff8d10432 connect to application 2019-05-09 02:26:32 -04:00
Conor Patrick 898d45f871 bugfix 2019-05-09 01:34:54 -04:00
Conor Patrick 2b2835b823 initial cap sensing boilerplate 2019-05-08 22:26:57 -04:00
Conor Patrick f9202b2b6a
Merge pull request #186 from solokeys/bump2.2.2
bump
2019-04-24 20:39:00 -04:00
Conor Patrick 1b74f6a93b bump 2019-04-24 20:38:00 -04:00
Conor Patrick 0dfda6fce2
Merge pull request #185 from solokeys/wallet-api
Fix FIDO2 get assertion issues with "custom" requests
2019-04-24 20:25:19 -04:00
Conor Patrick 09b73d694f fix build 2019-04-24 19:33:26 -04:00
Conor Patrick 9ab5e761c3 Update tinycbor 2019-04-24 19:04:33 -04:00
Conor Patrick b3604f49ba use ctap2 instead of client 2019-04-24 19:00:32 -04:00
Conor Patrick 6ae1cd3865 remove not-useful logs 2019-04-24 18:36:36 -04:00
Conor Patrick f9d3b9561d test that getassertions are correct for solo ext 2019-04-24 18:27:11 -04:00
Conor Patrick ec98af115f restore button in ctap_make_auth_data 2019-04-24 16:54:26 -04:00
Conor Patrick fecf258116 disable wallet by default 2019-04-24 16:44:25 -04:00
Conor Patrick 437f691d12 Update solo.c 2019-04-24 16:41:22 -04:00
Conor Patrick 55aadfd78e add delay implementation 2019-04-24 11:45:41 -04:00
Conor Patrick 813eb97d2f reuse memory for allow_list of creds 2019-04-24 11:45:30 -04:00
Nicolas Stalder 32afdccfb3
Rebump 2019-04-24 17:41:08 +02:00
Conor Patrick 41ae0e4a2c Update application.mk 2019-04-24 00:16:19 -04:00
Conor Patrick b0baace2e7 move custom credid to different location 2019-04-24 00:15:32 -04:00
Conor Patrick 6ff4200f5d unbump 2019-04-23 21:58:26 -04:00
Conor Patrick 1fab0b8f1f add wallet api in as compile option 2019-04-23 21:57:50 -04:00
Conor Patrick ce96fffddd add info to authData for ext reqs 2019-04-23 21:57:27 -04:00
Conor Patrick 4fb25e165a remove old web assets 2019-04-23 21:15:11 -04:00
Conor Patrick 8fc0da7934 move args to device_init 2019-04-23 21:12:40 -04:00
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 472b094acb bump 2019-04-23 20:21:19 -04:00
Conor Patrick e0ce23034f
Merge pull request #180 from solokeys/test_pin_fixes
Test pin fixes
2019-04-23 19:58:44 -04:00
Conor Patrick 5f3974a4e6
Merge pull request #182 from solokeys/nfc_adjustments
Nfc adjustments
2019-04-23 19:42:14 -04:00
Conor Patrick 26adac1730 size optimize tinycbor 2019-04-23 19:17:18 -04:00
Conor Patrick eab8b81c95 include nfc in user presence test 2019-04-23 14:05:18 -04:00
Conor Patrick 325396d518 dont change clock freq if powered 2019-04-23 13:54:23 -04:00
Conor Patrick 6d04c86018 update lowFreq flag correctly 2019-04-23 13:54:10 -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
Conor Patrick 212f98e384
Merge pull request #179 from agl/pinfixes
Couple of fixes for PIN support
2019-04-22 16:11:34 -04:00
Adam Langley 73f538dd0e Fix COSE type of key-agreement keys.
The key-agreement keys in the PIN protocol use COSE type -25. I'm not
sure if that's written down anywhere, but it's what everything else does
and it's an ECDH type rather than an ECDSA type.
2019-04-20 16:45:04 -07:00
Adam Langley a5f794c0ff Handle empty pinAuth fields.
CTAP2 specifies that an empty pinAuth field is special: it indicates
that the device should block for touch, i.e. it's just a way of letting
a user select from multiple authenticators[1].

This change handles empty pinAuth fields in GetAssertion and
MakeCredential commands.

[1] https://fidoalliance.org/specs/fido-v2.0-ps-20190130/fido-client-to-authenticator-protocol-v2.0-ps-20190130.html#using-pinToken-in-authenticatorMakeCredential
2019-04-20 16:26:32 -07:00
Conor Patrick f28cf9c6d0 new release 2019-04-18 20:41:18 -07:00
Conor Patrick 6068fb9868
Merge pull request #173 from solokeys/fix_u2f_on_fido2
Fix u2f on fido2
2019-04-17 22:42:38 -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
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