54 Commits

Author SHA1 Message Date
Conor Patrick
68d9fe6fb7 overwrite if >256 is more clear 2019-10-29 08:58:57 -04:00
Conor Patrick
be99caf2a2 replace counter instead of increment for large increment 2019-10-29 08:25:58 -04:00
Conor Patrick
169dfd2f0d check attestation tag 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
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
9ecfda02c5 remove atomic counter from bootloader to save space 2019-10-08 14:43:24 -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
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
Conor Patrick
a07a3dee8d refactor user_presence handling 2019-08-15 17:36:35 +08:00
Conor Patrick
027fa791a3 only 1 user presence auth per button press 2019-08-15 17:36:35 +08:00
Conor Patrick
3e52d7b42b cache button press for 2s 2019-08-15 17:36:35 +08:00
merlokk
315b6564ab u2f works with extended apdu and now user presence not needs if request come from nfc and power from usb 2019-07-04 23:12:31 +03:00
Conor Patrick
0f50ae7d63 change u2f to return early if button not immediately pressed 2019-05-10 15:56:52 -04:00
Conor Patrick
9fb02d4da3 add UP wait HID messages to U2F for windows 2019-05-09 17:46:01 -04:00
Conor Patrick
e402d36bf1 fix user presence skipping for nfc 2019-05-09 17:26:28 -04:00
Conor Patrick
84740f3d6a changes to make firmware interop on all hw models 2019-05-09 16:01:07 -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
2b2835b823 initial cap sensing boilerplate 2019-05-08 22:26:57 -04:00
Conor Patrick
8fc0da7934 move args to device_init 2019-04-23 21:12:40 -04:00
Conor Patrick
eab8b81c95 include nfc in user presence test 2019-04-23 14:05:18 -04:00
Conor Patrick
6d04c86018 update lowFreq flag correctly 2019-04-23 13:54:10 -04:00
Conor Patrick
4b82e80d7a init device with nfc detection 2019-03-02 20:08:15 -05:00
Conor Patrick
1ff00895b1 init nfc, fix freeze 2019-03-02 02:02:01 -05:00
Conor Patrick
83641b3789 disable clock settings for NFC passive for now 2019-03-02 01:30:09 -05:00
Conor Patrick
35707c3797 wrong size, causes RK's to be overwritten 2019-03-02 00:55:25 -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
1a6895ca25 merge 2019-02-26 13:10:16 -05:00
Conor Patrick
54b7f42056 passive operation works as is (refactor needed) 2019-02-26 01:19:35 -05:00
yparitcher
1dd835d698
add -Wextra: further code cleanup
please fix Wno-unused-parameter -Wno-missing-field-initializers in the future
2019-02-12 18:22:03 -05:00
yparitcher
400b37a96a
clean up build: GCC warnings 2019-02-12 18:19:38 -05:00
Conor Patrick
ed676151f1 update license to apache2 + mit 2019-02-12 17:18:17 -05:00
Conor Patrick
529b879c08 init in device_init 2019-02-11 22:02:41 -05:00
Conor Patrick
120fb95541 compile for bootloader 2019-02-08 13:09:32 -05:00
Oleg Moiseenko
32400c8d09
Merge branch 'nfc' into nfc2 2019-02-07 14:49:47 +02:00
Conor Patrick
3005a63938 re-arrange some logic for better passive operation 2019-02-06 18:07:09 -05:00
merlokk
771fffe329 WTX works. todo: clean debug unneeded messages 2019-02-06 17:12:22 +02:00
Conor Patrick
81a89ed6aa go back to high freq 2019-02-02 00:29:32 -05:00
Conor Patrick
38171dba06 low freq init 2019-02-02 00:23:51 -05:00
merlokk
4c941997b4 check as3956 on startup 2019-01-27 23:35:20 +02:00
merlokk
c3b4806e85 add led emission normalization 2019-01-21 17:09:51 +02:00
Conor Patrick
302ce75ce6 responds to RATS correctly 2019-01-12 20:20:47 -05:00