Conor Patrick
682a443f4e
refactor credMgmt to parse as subCommandParams, and get ready for delete command
2020-03-25 14:57:39 -04:00
Conor Patrick
a28a05673f
definitely need to update rpIdHash
2020-03-25 14:57:39 -04:00
Conor Patrick
3a70ee0ec6
refactor authData and extension handling to work for getNextAssertion
2020-03-25 14:57:39 -04:00
Conor Patrick
872a320abc
Fix credential order: need to start with most recent
2020-03-25 14:57:39 -04:00
Conor Patrick
3cbf7ec451
move credProtect checking to credential filtering step
2020-03-25 14:57:39 -04:00
Conor Patrick
97eb6bba8a
bug fix
2020-03-25 14:57:39 -04:00
Conor Patrick
fdc5a68fcd
update info/feature detection details
2020-03-25 14:57:39 -04:00
Conor Patrick
1c1005a0e8
add credprotect parameter to output
2020-03-25 14:57:39 -04:00
Conor Patrick
4831410111
add credProtect extension
2020-03-25 14:57:39 -04:00
Radoslav Gerganov
05bc8bee55
Check return values when parsing CTAP commands
2020-03-21 12:49:05 -04:00
Radoslav Gerganov
7112633779
Fix user presence test when pinAuth is empty
...
The check_retr macro is evaluating its argument twice, so when we do:
check_retr( ctap2_user_presence_test(...) )
the user presence function is called twice and the user has to press the
button twice. This is regression introduced with commit 3b53537.
2020-03-21 12:48:05 -04:00
Radoslav Gerganov
79b43a90fd
Implement commands for management of resident keys
...
Implement command 0x41 which is used by OpenSSH for reading RKs. It has
the following subcommands:
* CMD_CRED_METADATA - get number of saved/remaining RKs
* CMD_RP_BEGIN/CMD_RP_NEXT - iterate over the saved RPs
* CMD_RK_BEGIN/CMD_RK_NEXT - iterate over the RKs for a given RP
Fixes issue #374 and issue #314
2020-03-21 11:59:22 -04:00
Conor Patrick
f2d6698066
Update version.c
2020-03-16 14:59:01 -04:00
Conor Patrick
5738bcc7a3
more strict checks in cbor parsing
2020-02-27 15:40:27 -05:00
Conor Patrick
1b862d3b0c
fix error return
2020-02-18 11:18:08 -05:00
Conor Patrick
349cbc39f2
fix offset
2020-02-18 11:18:08 -05:00
Conor Patrick
da31f984dd
add version check
2020-02-18 11:18:08 -05:00
Conor Patrick
9d3e8c06fc
subsequent button presses do not need to wait long
2020-02-18 11:18:08 -05:00
Conor Patrick
aeafd09007
only use .flag section for hw builds
2020-02-17 13:41:05 -05:00
Conor Patrick
e713daba26
add temporary command to force flash locking
2020-02-13 17:17:23 -05:00
Conor Patrick
46f2920e63
bugfix hid cancel
2019-12-01 18:09:08 -05:00
Conor Patrick
8a44d14fef
adjust default impl
2019-12-01 18:09:08 -05:00
Conor Patrick
1d59bbfdd4
support different aaguid's in cert for different solo models
2019-12-01 18:09:08 -05:00
Conor Patrick
54c66d80b6
overwrite x509 fields for tap or somu
2019-12-01 18:09:08 -05: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
ee55bf3ba0
document device.h
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
85365c635d
refactor to use libsolo
2019-11-22 19:02:52 -05:00
Conor Patrick
a388607dab
build fido2 locally as lib
2019-11-22 19:02:52 -05:00
Conor Patrick
d266e7927c
reorganize crypto and device.c to be more based on fido2/
2019-11-22 19:02:52 -05:00
Conor Patrick
8b146c4a16
fix issue with bootloader not replying data
2019-10-28 10:51:35 -04:00
Conor Patrick
c0df8b680d
fix build
2019-10-27 10:25:00 -04:00
Conor Patrick
9ac2aa90c3
store all info in same page, dont use authenticator state
2019-10-27 10:25:00 -04:00
Conor Patrick
d33749fc16
add locked variable to GETVERSION hid command
2019-10-27 10:25:00 -04:00
Conor Patrick
7212982385
remove hacker macros
2019-10-27 10:25:00 -04:00
Conor Patrick
666cd6a0ba
migrate certs
2019-10-27 10:25:00 -04:00
Conor Patrick
b4f59ec355
pull certificate from flash page
2019-10-27 10:25:00 -04:00
Conor Patrick
2a02d0de33
small errors
2019-10-08 16:10:29 -04:00
Conor Patrick
00b09e0d40
add u2f length arg
2019-10-08 16:10:29 -04:00
Conor Patrick
26db2b3f6b
check FIDO2 credential IDs in U2F
2019-10-08 16:10:29 -04:00
Conor Patrick
08658eb11e
Merge branch 'master' into bootloader-downgrade-protection
2019-10-08 13:44:20 -04:00
Conor Patrick
49d79fa5da
reduce lines/size
2019-10-08 13:42:37 -04:00
Conor Patrick
69a7191860
fix warnings
2019-10-08 13:42:37 -04:00
Conor Patrick
a58658e35d
fix pointer
2019-10-08 13:42:37 -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
8e0eda8ed4
refactor custom commands and add LOADKEY
2019-10-08 13:42:37 -04:00
Conor Patrick
0ebe0ff502
add ctap function to overwrite key bytes
2019-10-08 13:42:37 -04:00