Commit Graph
100 Commits
Author SHA1 Message Date
Conor Patrick 9be082c532 document device.h 2019-11-20 10:54:55 -05:00
Conor Patrick 94b1ce00cd remove solo functions from device.h 2019-11-19 16:02:46 -05:00
Conor Patrick ebae036a93 fix stm32 build 2019-11-19 15:48:40 -05:00
Conor Patrick d6bf439f73 add initial weak definitions 2019-11-19 15:22:48 -05:00
Conor Patrick e8d0192003 refactor to use libsolo 2019-11-18 15:33:00 -05:00
Conor Patrick 4809f91e40 build fido2 locally as lib 2019-11-18 14:55:34 -05:00
Conor Patrick 5fbf53559a reorganize crypto and device.c to be more based on fido2/ 2019-11-18 14:55:14 -05:00
Conor Patrick 975cdf02f2 bump 3.0.0 2019-10-28 13:19:11 -04:00
Conor Patrick 21f3a0d10f remove hacker constraint for booting into bootloader 2019-10-28 12:55:38 -04:00
Conor Patrick 78dd2a10d3 remove binary count check 2019-10-28 10:51:35 -04:00
Conor Patrick fa1bb0dce5 update docs 2019-10-28 10:51:35 -04: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 712fde6858 add git 2019-10-28 10:51:35 -04:00
Conor Patrick fcc2e86a6d remove hacker/secure builds 2019-10-28 10:51:35 -04:00
Conor Patrick 8b146c4a16 fix issue with bootloader not replying data 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 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 96a2cbcb41 remove logs 2019-10-27 10:25:00 -04:00
Conor Patrick 7212982385 remove hacker macros 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 0fbc28fbc1 fix pc build 2019-10-08 16:10:29 -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 ff88660027 fix const qualifer warnings 2019-10-08 14:43:24 -04:00
Conor Patrick 9ecfda02c5 remove atomic counter from bootloader to save space 2019-10-08 14:43:24 -04:00
Conor Patrick 9158453830 Merge pull request #238 from Nitrokey/bootloader-downgrade-protection
Bootloader downgrade protection
2019-10-08 13:53:57 -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 a2fd507f45 typo 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 a1a42fec5c Bump stable version to 2.5.3 2019-09-17 17:22:15 +08: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 18d39a7047 Merge pull request #240 from Nitrokey/remove-pin-storage
Replace FIDO2 PIN storage with its hash
2019-09-02 21:50:44 +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
Conor Patrick 83dd92d9ba Update STABLE_VERSION 2019-08-29 22:05:10 +08:00
Conor Patrick 8bf1921263 dont reference not-enabled ccid 2019-08-24 16:20:52 +08: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
Conor Patrick ccd9a04146 add ccid log tag 2019-08-24 15:08:14 +08:00
Conor Patrick bde4c09c21 CCID basics working 2019-08-24 15:06:16 +08:00
Conor Patrick abe306a649 Merge branch 'master' of github.com:solokeys/solo 2019-08-23 14:53:22 +08:00
Conor Patrick 41ceb78f6c add user presence to flags 2019-08-23 14:48:21 +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 3b53537077 refactor fido2 user presence handling & increase timeout to 29s 2019-08-23 13:19:28 +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
Conor Patrick dccfb0d1b3 stub pc build 2019-08-21 12:06:06 +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 d931954a13 remove WTX, move debug log 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
Conor Patrick 26af0c423e Update solo-extras.md 2019-08-16 14:04:43 +08:00
Conor Patrick 19422d9daa add info for rng use 2019-08-16 14:04:43 +08:00
Conor Patrick b7a4cf001a run through fixes 2019-08-16 14:04:43 +08:00
Conor Patrick 3927aec06d dont remove solo.hex bootloader.hex 2019-08-16 14:04:43 +08:00
Conor Patrick f5794481ae initial draft 2019-08-16 14:04:43 +08:00
Conor Patrick caac9d0cc1 add secure build that uses default attestation key 2019-08-16 14:04:43 +08:00
Conor Patrick ffadab05a3 Update STABLE_VERSION 2019-08-15 19:35:54 +08:00
Conor Patrick 2423154fee fix warning 2019-08-15 18:07:40 +08:00
Conor Patrick 7ef68fd5d3 Merge pull request #265 from solokeys/fix_cdc_interfaces
Fix cdc interfaces
2019-08-15 17:49:53 +08:00
Conor Patrick 3be8611fcf remove duplicate from merge 2019-08-15 17:44:09 +08:00
Conor Patrick 21489658a7 Merge branch 'master' into fix_cdc_interfaces 2019-08-15 17:38:57 +08:00
Conor Patrick a07a3dee8d refactor user_presence handling 2019-08-15 17:36:35 +08:00
Conor Patrick 416da63a9a not for bootloader 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
Conor Patrick 435b908c17 Merge pull request #241 from Wesseldr/feature/STM32L432_documentation_update
Added OsX arm install, updated FIDO2 test site links
2019-08-14 14:23:41 +08:00
Conor Patrick 78280e570b adjust whitespace 2019-08-12 16:18:47 +08:00
Conor Patrick 36aec9f20b separate interface into two and add "IAD" descriptor 2019-08-12 16:18:30 +08:00
Conor Patrick b5d3276df6 not for bootloader 2019-08-11 18:16:58 +08:00
Conor Patrick ffd854a303 only 1 user presence auth per button press 2019-08-11 18:05:08 +08:00
Conor Patrick 349a84dcec cache button press for 2s 2019-08-11 17:59:31 +08:00
Conor Patrick f9f1e96c73 Update README.md 2019-08-06 18:54:57 +08:00
Conor Patrick e2738d11d3 remove tests 2019-08-06 18:50:05 +08:00
Conor Patrick 17a170bb90 Update STABLE_VERSION 2019-07-29 14:58:30 -04:00
Conor Patrick d4e61421b6 Merge pull request #232 from solokeys/windows_hello_error_codes
Windows hello response codes
2019-07-29 14:09:48 -04: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 2af747ddaa Merge pull request #229 from solokeys/fix-hmac-secret
Fix hmac secret
2019-07-27 12:49:30 -04:00