Conor Patrick
|
3487895e2d
|
small errors
|
2019-10-08 16:02:14 -04:00 |
|
Conor Patrick
|
6335f16874
|
add u2f length arg
|
2019-10-08 15:38:00 -04:00 |
|
Conor Patrick
|
82551c0b1c
|
check FIDO2 credential IDs in U2F
|
2019-10-08 15:32:20 -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 |
|
Conor Patrick
|
8c256298ae
|
default up to enabled
|
2019-09-17 00:13:57 +08:00 |
|
Conor Patrick
|
01b928c0ec
|
allow in bootloader as well
|
2019-09-17 00:13:57 +08:00 |
|
Conor Patrick
|
018a4d394c
|
add get_version command to hid
|
2019-09-17 00:13:57 +08:00 |
|
Conor Patrick
|
7a75fba6d3
|
delete old code
|
2019-09-17 00:13:57 +08:00 |
|
Conor Patrick
|
c61f15a090
|
allow get_assertion with disabled UP
|
2019-09-17 00:13:57 +08:00 |
|
Conor Patrick
|
f072561899
|
properly check the rpId in request
|
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 |
|
Conor Patrick
|
321bbe3691
|
Merge pull request #293 from solokeys/ccid
Ccid
|
2019-09-02 21:42:38 +08:00 |
|
Conor Patrick
|
9041e5903c
|
return SW_WRONG_LENGTH for incorrect lc
|
2019-08-30 16:37:17 +08:00 |
|
Szczepan Zalega
|
cb13fb65de
|
Store version in the bootloader. Debug code.
|
2019-08-24 10:17:43 +02:00 |
|
Szczepan Zalega
|
188a34d1da
|
Add missing Makefile entry. Rename pubkey file.
|
2019-08-24 10:17:05 +02:00 |
|
Szczepan Zalega
|
9248c6462c
|
Add missing is_newer and pubkey
|
2019-08-24 10:17:02 +02:00 |
|
Szczepan Zalega
|
118e129152
|
Set firmware version in the flash
|
2019-08-24 10:16:59 +02:00 |
|
Szczepan Zalega
|
d618081dd0
|
Add version code
|
2019-08-24 10:16:53 +02:00 |
|
Conor Patrick
|
69c34f9ca9
|
Merge branch 'master' into ccid
|
2019-08-24 15:54:51 +08:00 |
|
Conor Patrick
|
ccd9a04146
|
add ccid log tag
|
2019-08-24 15:08:14 +08:00 |
|
Conor Patrick
|
41ceb78f6c
|
add user presence to flags
|
2019-08-23 14:48:21 +08:00 |
|
Conor Patrick
|
3b53537077
|
refactor fido2 user presence handling & increase timeout to 29s
|
2019-08-23 13:19:28 +08:00 |
|
merlokk
|
c972a13034
|
fix reboot
|
2019-08-22 20:55:25 +08:00 |
|
merlokk
|
c79b7abfb6
|
add reset placeholder
|
2019-08-22 20:55:25 +08:00 |
|
merlokk
|
0d621d13f9
|
fix decoding apdu
|
2019-08-22 20:55:12 +08:00 |
|
merlokk
|
b743d5fac5
|
sketch
|
2019-08-21 12:13:16 +08:00 |
|
Conor Patrick
|
a72f0ede05
|
take a lazy approach to key agreement generation to not hold up boot time for nfc
|
2019-08-21 12:06:06 +08:00 |
|
Conor Patrick
|
adcbd3aeb8
|
speed up public key derivation slightly for nfc
|
2019-08-21 12:06:06 +08:00 |
|
Conor Patrick
|
b706cc30b0
|
for now, always gen key agreement
|
2019-08-21 12:06:06 +08:00 |
|
Szczepan Zalega
|
a5877f518f
|
Additional assertions and reordering
|
2019-08-20 12:42:46 +02:00 |
|
Szczepan Zalega
|
5a0cc0d02c
|
Version used STATE data structures
|
2019-08-20 11:57:32 +02:00 |
|
Szczepan Zalega
|
b452e3dfe4
|
Correct doc
|
2019-08-20 11:47:14 +02:00 |
|
Szczepan Zalega
|
8e3753e711
|
Add initial STATE migration code (2)
|
2019-08-20 11:34:51 +02:00 |
|
Szczepan Zalega
|
816ca21f08
|
Correct writing salted hash
pinHashEnc is 16 bytes, which is too small to store sha256 result.
|
2019-08-20 11:34:48 +02:00 |
|
Szczepan Zalega
|
6c60a37e8a
|
Add initial STATE migration code
|
2019-08-20 11:34:45 +02:00 |
|
Szczepan Zalega
|
bac576f3a0
|
Make the state structure backward-compatible. Add version.
|
2019-08-20 11:34:39 +02:00 |
|
Szczepan Zalega
|
6e637299e5
|
Add missing declaration, and comment out wallet message
|
2019-08-20 11:34:35 +02:00 |
|
Szczepan Zalega
|
43b3e93854
|
Modify state struct
|
2019-08-20 11:34:32 +02:00 |
|
Szczepan Zalega
|
5a448d636c
|
Add comments
|
2019-08-20 11:34:29 +02:00 |
|
Szczepan Zalega
|
7be0553377
|
Replace FIDO2 PIN storage with its hash
|
2019-08-20 11:34:26 +02:00 |
|
Conor Patrick
|
690d7c716a
|
move CTAPHID_STATUS_PROCESSING to after UP
|
2019-07-29 12:39:59 -04:00 |
|
Conor Patrick
|
78e3b291c2
|
make sure device status is set in all user presence tests
|
2019-07-28 22:10:56 -04:00 |
|
Conor Patrick
|
b47854c335
|
use error code PIN_AUTH_INVALID
|
2019-07-28 21:41:11 -04:00 |
|
Conor Patrick
|
f17faca689
|
use correct size for auth_data for signature
|
2019-07-26 23:53:20 -04:00 |
|