Conor Patrick
b0baace2e7
move custom credid to different location
2019-04-24 00:15:32 -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
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
eab8b81c95
include nfc in user presence test
2019-04-23 14:05:18 -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
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
9bb706987f
solo ext bugfix
2019-04-13 22:42:05 -04:00
Conor Patrick
44fa3bbb8e
Add checks to use U2F key if necessary
2019-04-13 22:37:31 -04:00
Conor Patrick
7068be9cd5
reorder options
2019-04-10 13:13:38 -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
4cc72bcd97
rearrange cbor encoding order in make_credential and get_info
2019-04-10 12:11:31 -04:00
Conor Patrick
89769ecc18
fix u2f counter for real
2019-03-31 23:29:00 -04:00
Conor Patrick
893d4131b2
change how pin is enforced for GA
2019-03-26 19:00:12 -04:00
Conor Patrick
a1a75e4ab5
check errors
2019-03-21 12:47:15 -04:00
Conor Patrick
d68011ef04
remove warnings
2019-03-21 00:01:37 -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
946e932b1e
refactor to use less ram
2019-03-20 23:28:45 -04:00
Conor Patrick
142d4002e5
remove warning, reduce memory
2019-03-20 23:14:17 -04:00
Conor Patrick
2d233f164e
small bug fixes
2019-03-20 21:03:03 -04:00
Conor Patrick
b62e9906c7
make new function
2019-03-20 20:13:16 -04:00
Conor Patrick
074225d87a
hmac-secret fully functional
2019-03-20 20:03:12 -04:00
Conor Patrick
bb9b2ea9d4
validate saltAuth
2019-03-20 18:10:52 -04:00
Conor Patrick
e8d5bc5829
refactor ctap_make_auth_data arguments
2019-03-20 17:43:50 -04:00
Conor Patrick
ce3ad0e56f
bugfix
2019-03-20 16:51:58 -04:00
Conor Patrick
00d86379e5
parse full hmac-secret
2019-03-20 16:21:21 -04:00
Conor Patrick
821880a8d6
parse extension info in MC
2019-03-20 15:45:10 -04:00
Conor Patrick
5cb81c753d
Add version/extensions to PC build
2019-03-06 14:05:44 -05:00
Conor Patrick
195dc2a8ae
use 0x7f as upper counter byte
2019-03-04 02:36:47 -05:00
Conor Patrick
1507758ad1
bring pc crypto impl up to date
2019-03-02 23:10:43 -05:00
Conor Patrick
afc85e0d2e
update log message
2019-03-02 22:40:27 -05:00
Conor Patrick
dc946f5b35
centralize reset key agreement
2019-03-02 19:38:27 -05:00
Conor Patrick
e31e703afd
minor improvements
2019-03-01 23:42:22 -05:00
Conor Patrick
a265da09fb
Update u2f.c
2019-03-01 22:00:17 -05:00
Conor Patrick
32f2436380
Merge pull request #120 from nickray/sha512
...
SHA512 (via Cifra)
2019-03-01 21:44:13 -05:00
Conor Patrick
7255c4f8db
Merge pull request #121 from solokeys/nfc
...
Nfc
2019-03-01 21:43:12 -05:00
Conor Patrick
4e215db42a
start from 0
2019-02-28 23:13:12 -05:00
Nicolas Stalder
0865f2a660
do not probe bootloader
2019-02-27 03:18:12 +01:00
Nicolas Stalder
5e70c11b54
Hide onboard crypto tests behind a reserved ctaphid command
2019-02-27 02:58:56 +01:00
Conor Patrick
46ada5a8b9
WRONG_DATA apdu error code fix
2019-02-26 20:34:07 -05:00
Conor Patrick
14974e0ebe
fix compile issues
2019-02-26 15:30:57 -05:00
Conor Patrick
e8d0ad5e7c
autodetect passive nfc operation or usb operation
2019-02-26 15:04:23 -05:00
Conor Patrick
347d0942b1
refactor fromNFC
2019-02-26 14:07:27 -05:00
Conor Patrick
ff0d42c8d5
refactor clock rates, fix warnings
2019-02-26 13:56:06 -05:00
Nicolas Stalder
a6673b0917
Use our cifra fork, rename command, keep room for sha256
2019-02-26 19:52:59 +01:00
Nicolas Stalder
0c296bba30
First go at using cifra for SHA512
2019-02-26 19:52:59 +01:00