Conor Patrick
|
299e91b91b
|
dont return index >= ctap_rk_size()
Fixes issue found by @My1: https://github.com/solokeys/solo/issues/407
|
2020-03-28 15:45:16 -04:00 |
|
Conor Patrick
|
cbf40f4ec7
|
hmac-secret should be different when UV=1
|
2020-03-28 12:28:05 -04:00 |
|
Conor Patrick
|
8d93f88631
|
Update STABLE_VERSION
|
2020-03-27 11:29:11 -04:00 |
|
Conor Patrick
|
5f8a9a44fc
|
refactor credmgmt
|
2020-03-27 10:56:51 -04:00 |
|
Conor Patrick
|
8aa1f4ad01
|
change parsing TAG_CM to TAG_PARSE
|
2020-03-27 10:56:51 -04:00 |
|
Conor Patrick
|
04cffb6509
|
allow depth-first-search and account for interleaved RK's
|
2020-03-27 10:56:51 -04:00 |
|
Conor Patrick
|
05e149fb17
|
Update STABLE_VERSION
|
2020-03-25 15:16:14 -04:00 |
|
Conor Patrick
|
530e175ad1
|
cleanup
|
2020-03-25 14:57:39 -04:00 |
|
Conor Patrick
|
6cd3873b37
|
add reboot command for better testing
|
2020-03-25 14:57:39 -04:00 |
|
Conor Patrick
|
241f58657b
|
consider credProtect with exclude list, and also check user presence
|
2020-03-25 14:57:39 -04:00 |
|
Conor Patrick
|
3b42289cce
|
add rpId to RK's, fix counting of unique RP's
|
2020-03-25 14:57:39 -04:00 |
|
Conor Patrick
|
b3712b57fc
|
refactor to reuse more code
|
2020-03-25 14:57:39 -04:00 |
|
Conor Patrick
|
37769bb735
|
to support deleted credentials, need to scan all rk slots since it's no longer continuous
|
2020-03-25 14:57:39 -04:00 |
|
Conor Patrick
|
d677f8c346
|
add rk delete implementations
|
2020-03-25 14:57:39 -04:00 |
|
Conor Patrick
|
98bcf647c4
|
implement rk delete command for cred mgmt
|
2020-03-25 14:57:39 -04:00 |
|
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
|
748c552eea
|
fix overflow error for 5th resident key
|
2020-03-25 14:57:39 -04:00 |
|
Conor Patrick
|
98f996fcfe
|
save some ram
|
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 |
|
Conor Patrick
|
ec7a6fd740
|
Update STABLE_VERSION
|
2020-03-16 15:04:45 -04:00 |
|
Conor Patrick
|
f2d6698066
|
Update version.c
|
2020-03-16 14:59:01 -04:00 |
|
Conor Patrick
|
8ed7157bfe
|
bump 3.1.2
|
2020-02-27 15:50:46 -05:00 |
|
Conor Patrick
|
28a1b1cc06
|
limit possible recursions in tinycbor
|
2020-02-27 15:40:27 -05:00 |
|
Conor Patrick
|
5738bcc7a3
|
more strict checks in cbor parsing
|
2020-02-27 15:40:27 -05:00 |
|
Conor Patrick
|
4fb166631d
|
remove SOLO_EXPERIMENTAL default
|
2020-02-18 11:18:08 -05:00 |
|
Conor Patrick
|
1b862d3b0c
|
fix error return
|
2020-02-18 11:18:08 -05:00 |
|
Conor Patrick
|
094420b32b
|
overwrite if >256 is more clear
|
2020-02-18 11:18:08 -05:00 |
|
Conor Patrick
|
349cbc39f2
|
fix offset
|
2020-02-18 11:18:08 -05:00 |
|
Conor Patrick
|
e294cb3458
|
replace counter instead of increment for large increment
|
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
|
b378bbf61d
|
Update building.md
|
2020-02-18 10:53:47 -05:00 |
|
Conor Patrick
|
04b89a9739
|
Update customization.md
|
2020-02-18 10:38:53 -05:00 |
|
Conor Patrick
|
0d28a7bcf6
|
Update customization.md
|
2020-02-18 10:03:19 -05:00 |
|
Conor Patrick
|
aeafd09007
|
only use .flag section for hw builds
|
2020-02-17 13:41:05 -05:00 |
|
Conor Patrick
|
8b6148ac90
|
bump 3.1.1
|
2020-02-13 17:32:26 -05:00 |
|
Conor Patrick
|
15a4fdfa66
|
remove unused code in bootloader
|
2020-02-13 17:17:23 -05:00 |
|
Conor Patrick
|
e713daba26
|
add temporary command to force flash locking
|
2020-02-13 17:17:23 -05:00 |
|
Conor Patrick
|
b78f2cd2e7
|
keep initialize last_addr and reject if it doesnt change
|
2020-02-13 17:17:23 -05:00 |
|
Conor Patrick
|
f6d96013e1
|
bump 3.1.0
|
2020-02-06 13:41:07 -05:00 |
|
Conor Patrick
|
f74dba7ff0
|
enforce ascending writes in bootloader update
|
2020-02-06 13:05:57 -05:00 |
|
Conor Patrick
|
2ca0ced808
|
Update programming.md
|
2020-01-22 12:41:39 -05:00 |
|
Conor Patrick
|
5f1d61a3ba
|
bump
|
2019-12-01 18:25:45 -05:00 |
|
Conor Patrick
|
46f2920e63
|
bugfix hid cancel
|
2019-12-01 18:09:08 -05:00 |
|
Conor Patrick
|
53427c4279
|
update metadata statements
|
2019-12-01 18:09:08 -05:00 |
|
Conor Patrick
|
ac10933379
|
pin fido2 dependency
|
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
|
6217fc34b9
|
update solo_cert to include aaguid field
|
2019-12-01 18:09:08 -05:00 |
|
Conor Patrick
|
af23e84a8d
|
Update device.c
|
2019-11-22 19:02:52 -05:00 |
|
Conor Patrick
|
9650d99b34
|
add more clarity
|
2019-11-22 19:02:52 -05:00 |
|
Conor Patrick
|
145b04750e
|
Update Makefile
|
2019-11-22 19:02:52 -05:00 |
|
Conor Patrick
|
078acbc4b4
|
prepend solo to version
|
2019-11-22 19:02:52 -05:00 |
|
Conor Patrick
|
670a4e5d62
|
version string
|
2019-11-22 19:02:52 -05:00 |
|
Conor Patrick
|
de55e521cc
|
fix bootloader build
|
2019-11-22 19:02:52 -05:00 |
|
Conor Patrick
|
bbfe51499f
|
document
|
2019-11-22 19:02:52 -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
|
28e607ddac
|
fix stm32 build
|
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
|
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 |
|