224 Commits

Author SHA1 Message Date
Conor Patrick
f35d79ad03 support different aaguid's in cert for different solo models 2019-12-01 16:38:37 -05:00
Conor Patrick
f70c856998 overwrite x509 fields for tap or somu 2019-12-01 15:17:33 -05:00
Conor Patrick
2170036672 update solo_cert to include aaguid field 2019-12-01 14:32:10 -05:00
Conor Patrick
af23e84a8d Update device.c 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
28e607ddac fix stm32 build 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
169dfd2f0d check attestation tag 2019-10-28 10:51:35 -04:00
Conor Patrick
dafd974d93 do not lock flash when booting to dfu 2019-10-28 10:51:35 -04:00
Conor Patrick
a1a79b05fd fix solo locked flag for bootloader 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
96a2cbcb41 remove logs 2019-10-27 10:25:00 -04:00
Conor Patrick
89e218e561 lock flash based on state setting 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
9ecfda02c5 remove atomic counter from bootloader to save space 2019-10-08 14:43:24 -04:00
Conor Patrick
08658eb11e
Merge branch 'master' into bootloader-downgrade-protection 2019-10-08 13:44:20 -04:00
Conor Patrick
a2fd507f45 typo 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
Jan A
5168afa16e Code cosmetics, added missing void statement to empty parameter of
functions
2019-10-08 12:31:08 -04:00
Conor Patrick
c61f15a090 allow get_assertion with disabled UP 2019-09-17 00:13:57 +08:00
merlokk
6652feb4a2 added CID transfer and NAK-ACK sequence 2019-09-05 23:26:15 +08:00
Conor Patrick
321bbe3691
Merge pull request #293 from solokeys/ccid
Ccid
2019-09-02 21:42:38 +08:00
merlokk
1ce191343f add checking some rare case in iso14443-4 chaining. add NAK checking and aborting the data sending. 2019-08-31 02:12:05 +08:00
Conor Patrick
9041e5903c return SW_WRONG_LENGTH for incorrect lc 2019-08-30 16:37:17 +08:00
Szczepan Zalega
e3ff136196
Remove obsolete region for the app static firmware version address 2019-08-24 10:17:59 +02:00
Szczepan Zalega
987b04523d
Correct memory layout 2019-08-24 10:17:52 +02:00
Szczepan Zalega
7fddd58704
Bootloader: get uploaded application version from the 4 last bytes of its firmware 2019-08-24 10:17:40 +02:00
Szczepan Zalega
ea803aab95
Make the flash memory structure depend on the APPLICATION_START_PAGE macro 2019-08-24 10:17:24 +02:00
Szczepan Zalega
1100b159a9
Refactor. Add debug code. Use %u for unsigned. Use volatile pointer instead of memory storage. 2019-08-24 10:17:21 +02:00
Szczepan Zalega
35e52f4968
Initial modification to move bootloader data after the application 2019-08-24 10:17:15 +02:00
Szczepan Zalega
e4e0a3a84e
Add code responsible for firmware version verification in the bootloader 2019-08-24 10:16:50 +02:00
Conor Patrick
3ba9b671fc dont use composit for bootloader 2019-08-24 16:01:44 +08:00
Conor Patrick
69c34f9ca9 Merge branch 'master' into ccid 2019-08-24 15:54:51 +08:00
Conor Patrick
3b4c154fd1 add enable macro for CCID interface 2019-08-24 15:49:02 +08:00
merlokk
5d3914bc5e remove delays 2019-08-23 22:25:22 +08:00
Conor Patrick
8e192f2363 do not delay bootloader 2019-08-23 14:41:26 +08:00
Conor Patrick
affc256ca2 add delay to cap button improve reliability 2019-08-23 14:41:26 +08:00
Conor Patrick
b3ac739a35 make touch sensor edge based to avoid approving >1 transaction 2019-08-23 13:44:06 +08:00
merlokk
3fad9a7a7d add response to reset command and delete debug 2019-08-23 10:43:09 +08:00
merlokk
d39d7978fd small fix 2019-08-22 21:04:01 +08:00
merlokk
c972a13034 fix reboot 2019-08-22 20:55:25 +08:00
merlokk
a95e62e2ea reset 2019-08-22 20:55:25 +08:00
merlokk
c79b7abfb6 add reset placeholder 2019-08-22 20:55:25 +08:00
merlokk
dfb124dc8b refactoring 2019-08-22 20:55:12 +08:00
merlokk
972760eb78 added APDU input chaining 2019-08-22 20:55:12 +08:00
Conor Patrick
32f920e372 compile/crash fixes 2019-08-22 19:52:21 +08:00
Conor Patrick
a5aff478dd Merge branch 'master' into ccid 2019-08-22 17:13:55 +08:00
merlokk
728acc1671 chaining not needs to go to the start 2019-08-21 12:13:16 +08:00